Home
last modified time | relevance | path

Searched refs:createPrivateKey (Results 1 – 6 of 6) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-key-objects.js15 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 …]
Dtest-crypto-dh-stateless.js32 const alicePrivateKey = crypto.createPrivateKey({
62 const bobPrivateKey = crypto.createPrivateKey({
153 const privateKey = crypto.createPrivateKey({
Dtest-crypto-sign-verify.js456 const privKeyObj = crypto.createPrivateKey(pair.private);
/third_party/node/lib/
Dcrypto.js72 createPrivateKey,
166 createPrivateKey, property
/third_party/node/lib/internal/crypto/
Dkeys.js347 function createPrivateKey(key) { function
363 createPrivateKey, property
/third_party/node/doc/api/
Dcrypto.md1234 [`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