Searched refs:createPrivateKey (Results 1 – 6 of 6) sorted by relevance
/third_party/node/test/parallel/ |
D | test-crypto-key-objects.js | 15 createPrivateKey, 103 assert.throws(() => createPrivateKey(createPublicKey(privatePem)), { 113 const privateKey = createPrivateKey(privatePem); 114 assert.throws(() => createPrivateKey(privateKey), { 129 const privateKey = createPrivateKey(privatePem); 213 createPrivateKey({ key: '' }); 224 createPrivateKey({ key: Buffer.alloc(0), format: 'der', type: 'spki' }); 237 createPrivateKey({ key, format: 'der', type: 'pkcs1' }); 262 const key = createPrivateKey(info.private); 283 assert.throws(() => createPrivateKey(privateDsa), { [all …]
|
D | test-crypto-dh-stateless.js | 32 const alicePrivateKey = crypto.createPrivateKey({ 62 const bobPrivateKey = crypto.createPrivateKey({ 153 const privateKey = crypto.createPrivateKey({
|
D | test-crypto-sign-verify.js | 456 const privKeyObj = crypto.createPrivateKey(pair.private);
|
/third_party/node/lib/ |
D | crypto.js | 72 createPrivateKey, 166 createPrivateKey, property
|
/third_party/node/lib/internal/crypto/ |
D | keys.js | 347 function createPrivateKey(key) { function 363 createPrivateKey, property
|
/third_party/node/doc/api/ |
D | crypto.md | 1234 [`crypto.createPrivateKey()`][] methods are used to create `KeyObject` 1441 `privateKey` had been passed to [`crypto.createPrivateKey()`][]. If it is an 2015 ### `crypto.createPrivateKey(key)` 2064 [`crypto.createPrivateKey()`][] had been called, except that the type of the 2529 `privateKey` had been passed to [`crypto.createPrivateKey()`][]. If it is an 2555 `privateKey` had been passed to [`crypto.createPrivateKey()`][]. If it is an 3039 passed to [`crypto.createPrivateKey()`][]. If it is an object, the following 3624 [`crypto.createPrivateKey()`]: #crypto_crypto_createprivatekey_key
|