Searched refs:keyPair (Results 1 – 8 of 8) sorted by relevance
/third_party/node/benchmark/crypto/ |
D | create-keyobject.js | 41 const keyPair = { variable 49 key = keyPair.publicKey.export({ format: 'pem', type: 'spki' }); 53 key = keyPair.privateKey.export({ format: 'pem', type: 'pkcs8' }); 58 key = { ...options, key: keyPair.publicKey.export(options) }; 64 key = { ...options, key: keyPair.privateKey.export(options) }; 70 key = { ...options, key: keyPair.publicKey.export(options) }; 76 key = { ...options, key: keyPair.privateKey.export(options) };
|
/third_party/node/test/parallel/ |
D | test-crypto-psychic-signatures.js | 35 const keyPair = crypto.generateKeyPairSync('ec', { constant 48 key: keyPair.publicKey, 85 keyPair.publicKey,
|
D | test-webcrypto-derivekey.js | 135 …const keyPair = await subtle.generateKey({ name: 'ECDH', namedCurve: 'P-521' }, false, ['deriveKey… constant 138 { name: 'ECDH', public: keyPair.publicKey }, 139 keyPair.privateKey,
|
D | test-crypto-x509.js | 202 const keyPair = generateKeyPairSync('ed25519'); constant 203 assert(!x509.verify(keyPair.publicKey)); 205 assert(!x509.checkPrivateKey(keyPair.privateKey));
|
D | test-crypto-key-objects.js | 804 const keyPair = generateKeyPairSync('ec', { namedCurve }); constant 805 const { publicKey, privateKey } = keyPair;
|
/third_party/node/lib/internal/crypto/ |
D | cfrg.js | 147 const keyPair = await generateKeyPair(genKeyType).catch((err) => { 174 keyPair.publicKey, 181 keyPair.privateKey,
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/ |
D | ecdh_keys.js | 200 .then(function(keyPair) { argument 201 ecdsaKeyPairs[namedCurve] = keyPair;
|
D | ecdh_bits.js | 231 .then(function(keyPair) { argument 232 ecdsaKeyPairs[namedCurve] = keyPair;
|