Home
last modified time | relevance | path

Searched refs:keyPair (Results 1 – 8 of 8) sorted by relevance

/third_party/node/benchmark/crypto/
Dcreate-keyobject.js41 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/
Dtest-crypto-psychic-signatures.js35 const keyPair = crypto.generateKeyPairSync('ec', { constant
48 key: keyPair.publicKey,
85 keyPair.publicKey,
Dtest-webcrypto-derivekey.js135 …const keyPair = await subtle.generateKey({ name: 'ECDH', namedCurve: 'P-521' }, false, ['deriveKey… constant
138 { name: 'ECDH', public: keyPair.publicKey },
139 keyPair.privateKey,
Dtest-crypto-x509.js202 const keyPair = generateKeyPairSync('ed25519'); constant
203 assert(!x509.verify(keyPair.publicKey));
205 assert(!x509.checkPrivateKey(keyPair.privateKey));
Dtest-crypto-key-objects.js804 const keyPair = generateKeyPairSync('ec', { namedCurve }); constant
805 const { publicKey, privateKey } = keyPair;
/third_party/node/lib/internal/crypto/
Dcfrg.js147 const keyPair = await generateKeyPair(genKeyType).catch((err) => {
174 keyPair.publicKey,
181 keyPair.privateKey,
/third_party/node/test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/
Decdh_keys.js200 .then(function(keyPair) { argument
201 ecdsaKeyPairs[namedCurve] = keyPair;
Decdh_bits.js231 .then(function(keyPair) { argument
232 ecdsaKeyPairs[namedCurve] = keyPair;