Lines Matching refs:exported
230 // If the wrapping algorithm is AES-KW, the exported key
232 // If the wrapping algorithm is RSA-OAEP, the exported key
238 async function wrappingIsPossible(name, exported) {
239 if ('byteLength' in exported) {
242 return exported.byteLength % 8 === 0;
244 return exported.byteLength <= 446;
246 } else if ('kty' in exported && name === 'RSA-OAEP') {
247 return JSON.stringify(exported).length <= 478;
253 const exported = await subtle.exportKey(format, key.key);
254 if (!(await wrappingIsPossible(wrappingKey.algorithm.name, exported)))
275 assert.deepStrictEqual(exported, exportedAgain);