4 <script src=
"../../../resources/js-test.js"></script>
5 <script src=
"../resources/common.js"></script>
6 <script src=
"../resources/rsa-cloneKey.js"></script>
7 <script src=
"../resources/keys.js"></script>
11 description('Tests structured cloning of RSASSA-PKCS1-v1_5 keys');
15 function testClonePublicKeys()
17 return testCloneRSAPublicKeys('RSASSA-PKCS1-v1_5', [[], ['verify']], [kKeyData
.rsa2
, kKeyData
.rsa3
]);
20 function testClonePrivateKeys()
22 return testCloneRSAPrivateKeys('RSASSA-PKCS1-v1_5', [['sign']], [kKeyData
.rsa1
, kKeyData
.rsa4
]);
25 testClonePublicKeys().then(testClonePrivateKeys
).then(finishJSTest
, failAndFinishJSTest
)