Searched refs:createPrivateKey (Results 1 – 17 of 17) sorted by relevance
/third_party/node/test/parallel/ |
D | test-crypto-key-objects.js | 15 createPrivateKey, 106 assert.throws(() => createPrivateKey(createPublicKey(privatePem)), { 113 const privateKey = createPrivateKey(privatePem); 114 assert.throws(() => createPrivateKey(privateKey), { 158 const privateKey = createPrivateKey(privatePem); 177 const privateKeyFromJwk = createPrivateKey({ key: jwk, format: 'jwk' }); 299 createPrivateKey({ key: '' }); 312 createPrivateKey({ key: Buffer.alloc(0), format: 'der', type: 'spki' }); 325 createPrivateKey({ key, format: 'der', type: 'pkcs1' }); 380 const key = createPrivateKey(info.private); [all …]
|
D | test-crypto-keygen-empty-passphrase-no-prompt.js | 9 createPrivateKey, 32 const privateKeyObject = createPrivateKey({
|
D | test-crypto-dh-stateless.js | 46 const alicePrivateKey = crypto.createPrivateKey({ 75 const bobPrivateKey = crypto.createPrivateKey({ 173 const privateKey = crypto.createPrivateKey({
|
D | test-crypto-x509.js | 10 createPrivateKey, 27 const privateKey = createPrivateKey(key); 204 createPrivateKey(key); 206 createPrivateKey(key);
|
D | test-crypto-async-sign-verify.js | 20 let privateKey = crypto.createPrivateKey(privatePem); 121 key: crypto.createPrivateKey(
|
D | test-crypto-sign-verify.js | 447 const privKeyObj = crypto.createPrivateKey(pair.private); 644 const privateKey = crypto.createPrivateKey(privatePem); 677 const privateKey = crypto.createPrivateKey(privatePem); 719 const privateKey = crypto.createPrivateKey(privatePem);
|
D | test-webcrypto-export-import-cfrg.js | 365 const rsaPrivate = crypto.createPrivateKey(
|
D | test-webcrypto-export-import-rsa.js | 556 const ecPrivate = crypto.createPrivateKey(
|
D | test-webcrypto-export-import-ec.js | 396 const rsaPrivate = crypto.createPrivateKey(
|
/third_party/node/benchmark/crypto/ |
D | create-keyobject.js | 43 privateKey: crypto.createPrivateKey(keyFixtures[keyType].privateKey), 54 fn = crypto.createPrivateKey; 65 fn = crypto.createPrivateKey; 77 fn = crypto.createPrivateKey;
|
D | oneshot-sign.js | 83 keyObjects ||= pems.map(crypto.createPrivateKey);
|
/third_party/node/lib/internal/crypto/ |
D | ec.js | 44 createPrivateKey, 187 keyObject = createPrivateKey({
|
D | rsa.js | 50 createPrivateKey, 227 keyObject = createPrivateKey({
|
D | cfrg.js | 43 createPrivateKey, 226 keyObject = createPrivateKey({
|
D | keys.js | 624 function createPrivateKey(key) { function 764 createPrivateKey, property
|
/third_party/node/lib/ |
D | crypto.js | 80 createPrivateKey, 187 createPrivateKey, property
|
/third_party/node/doc/api/ |
D | crypto.md | 1919 [`crypto.createPrivateKey()`][] methods are used to create `KeyObject` 2294 `privateKey` had been passed to [`crypto.createPrivateKey()`][]. If it is an 3473 ### `crypto.createPrivateKey(key)` 3553 [`crypto.createPrivateKey()`][] had been called, except that the type of the 4557 `privateKey` had been passed to [`crypto.createPrivateKey()`][]. If it is an 4603 `privateKey` had been passed to [`crypto.createPrivateKey()`][]. If it is an 5399 passed to [`crypto.createPrivateKey()`][]. If it is an object, the following 6150 [`crypto.createPrivateKey()`]: #cryptocreateprivatekeykey
|