Home
last modified time | relevance | path

Searched refs:importKey (Results 1 – 25 of 56) sorted by relevance

123

/third_party/node/test/parallel/
Dtest-webcrypto-export-import.js17 subtle.importKey(format, keyData, {}, false, ['wrapKey']), {
22 subtle.importKey('not valid', keyData, {}, false, ['wrapKey']), {
26 subtle.importKey('raw', 1, {}, false, ['deriveBits']), {
30 subtle.importKey('raw', keyData, {
36 subtle.importKey('raw', keyData, {
44 subtle.importKey('raw', keyData, {
53 subtle.importKey('raw', keyData, {
62 subtle.importKey('jwk', null, {
78 const key = await subtle.importKey(
101 subtle.importKey(
[all …]
Dtest-webcrypto-export-import-cfrg.js108 const key = await subtle.importKey(
134 subtle.importKey(
144 const key = await subtle.importKey(
169 subtle.importKey(
186 subtle.importKey(
195 subtle.importKey(
201 subtle.importKey(
211 subtle.importKey(
275 subtle.importKey(
286 subtle.importKey(
[all …]
Dtest-webcrypto-export-import-ec.js103 const key = await subtle.importKey(
130 subtle.importKey(
143 const key = await subtle.importKey(
169 subtle.importKey(
189 subtle.importKey(
199 subtle.importKey(
205 subtle.importKey(
216 subtle.importKey(
276 subtle.importKey(
287 subtle.importKey(
[all …]
Dtest-webcrypto-export-import-rsa.js303 const key = await subtle.importKey(
337 const key = await subtle.importKey(
366 subtle.importKey(
387 subtle.importKey(
398 subtle.importKey(
460 subtle.importKey(
468 subtle.importKey(
491 subtle.importKey(
499 subtle.importKey(
509 subtle.importKey(
[all …]
Dtest-webcrypto-sign-verify-eddsa.js26 subtle.importKey(
32 subtle.importKey(
38 subtle.importKey(
139 subtle.importKey(
145 subtle.importKey(
225 subtle.importKey(
231 subtle.importKey(
Dtest-webcrypto-sign-verify-rsa.js29 subtle.importKey(
35 subtle.importKey(
41 subtle.importKey(
115 const keyWithOtherHash = await subtle.importKey(
139 subtle.importKey(
145 subtle.importKey(
Dtest-webcrypto-sign-verify-hmac.js23 subtle.importKey(
29 subtle.importKey(
94 const keyWithOtherHash = await subtle.importKey(
114 subtle.importKey(
120 subtle.importKey(
Dtest-webcrypto-sign-verify-ecdsa.js28 subtle.importKey(
34 subtle.importKey(
40 subtle.importKey(
157 subtle.importKey(
163 subtle.importKey(
Dtest-webcrypto-derivekey-ecdh.js54 subtle.importKey(
63 subtle.importKey(
183 const privateKey = await subtle.importKey(
231 const key = await subtle.importKey(
Dtest-webcrypto-encrypt-decrypt-aes.js16 const key = await subtle.importKey(
41 const key = await subtle.importKey(
54 const key = await subtle.importKey(
70 const key = await subtle.importKey(
83 const key = await subtle.importKey(
Dtest-webcrypto-derivebits-ecdh.js59 subtle.importKey(
68 subtle.importKey(
216 const privateKey = await subtle.importKey(
255 const key = await subtle.importKey(
Dtest-webcrypto-constructors.js114 assert.rejects(() => notSubtle.importKey(), {
141 globalThis.crypto.subtle.importKey(
148 globalThis.crypto.subtle.importKey = common.mustNotCall();
Dtest-webcrypto-derivekey-cfrg.js43 subtle.importKey(
49 subtle.importKey(
172 const key = await subtle.importKey(
Dtest-webcrypto-derivebits-cfrg.js44 subtle.importKey(
50 subtle.importKey(
200 const key = await subtle.importKey(
Dtest-webcrypto-derivekey.js53 const key = await subtle.importKey(
90 const key = await subtle.importKey(
167 await subtle.importKey('raw', new Uint8Array([]), { name: 'PBKDF2' }, false, ['deriveKey']),
Dtest-webcrypto-derivebits.js44 const key = await subtle.importKey(
76 const key = await subtle.importKey(
Dtest-webcrypto-encrypt-decrypt-rsa.js23 subtle.importKey(
25 subtle.importKey(
Dtest-crypto-webcrypto-aes-decrypt-tag-too-small.js11 crypto.subtle.importKey(
/third_party/node/test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/
Dcfrg_curves_keys.js18 privateKey = await subtle.importKey("pkcs8", pkcs8[algorithmName],
21 publicKey = await subtle.importKey("spki", test.vector,
174 var operation = subtle.importKey("pkcs8", pkcs8[algorithmName],
185 var operation = subtle.importKey("pkcs8", pkcs8[algorithmName],
196 var operation = subtle.importKey("spki", spki[algorithmName],
Dcfrg_curves_bits.js18 privateKey = await subtle.importKey("pkcs8", pkcs8[algorithmName],
21 publicKey = await subtle.importKey("spki", test.vector,
190 var operation = subtle.importKey("pkcs8", pkcs8[algorithmName],
201 var operation = subtle.importKey("pkcs8", pkcs8[algorithmName],
212 var operation = subtle.importKey("spki", spki[algorithmName],
Decdh_keys.js166 var operation = subtle.importKey("pkcs8", pkcs8[namedCurve],
177 var operation = subtle.importKey("pkcs8", pkcs8[namedCurve],
188 var operation = subtle.importKey("spki", spki[namedCurve],
Decdh_bits.js197 var operation = subtle.importKey("pkcs8", pkcs8[namedCurve],
208 var operation = subtle.importKey("pkcs8", pkcs8[namedCurve],
219 var operation = subtle.importKey("spki", spki[namedCurve],
Dhkdf.js249 …var promise = subtle.importKey("raw", derivedKeys[derivedKeySize], {name: "HKDF"}, false, ["derive…
257 …promise = subtle.importKey("raw", derivedKeys[derivedKeySize], {name: "HKDF"}, false, ["deriveBits…
265 …promise = subtle.importKey("raw", derivedKeys[derivedKeySize], {name: "HKDF"}, false, ["deriveKey"…
Dpbkdf2.js246 …var promise = subtle.importKey("raw", passwords[passwordSize], {name: "PBKDF2"}, false, ["deriveKe…
254 …promise = subtle.importKey("raw", passwords[passwordSize], {name: "PBKDF2"}, false, ["deriveBits"])
262 … promise = subtle.importKey("raw", passwords[passwordSize], {name: "PBKDF2"}, false, ["deriveKey"])
/third_party/node/test/pummel/
Dtest-webcrypto-derivebits-pbkdf2.js374 subtle.importKey(
383 subtle.importKey(
392 subtle.importKey(

123