Home
last modified time | relevance | path

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

/third_party/node/test/parallel/
Dtest-crypto-key-objects.js15 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 …]
Dtest-crypto-keygen-empty-passphrase-no-prompt.js9 createPrivateKey,
32 const privateKeyObject = createPrivateKey({
Dtest-crypto-dh-stateless.js46 const alicePrivateKey = crypto.createPrivateKey({
75 const bobPrivateKey = crypto.createPrivateKey({
173 const privateKey = crypto.createPrivateKey({
Dtest-crypto-x509.js10 createPrivateKey,
27 const privateKey = createPrivateKey(key);
204 createPrivateKey(key);
206 createPrivateKey(key);
Dtest-crypto-async-sign-verify.js20 let privateKey = crypto.createPrivateKey(privatePem);
121 key: crypto.createPrivateKey(
Dtest-crypto-sign-verify.js447 const privKeyObj = crypto.createPrivateKey(pair.private);
644 const privateKey = crypto.createPrivateKey(privatePem);
677 const privateKey = crypto.createPrivateKey(privatePem);
719 const privateKey = crypto.createPrivateKey(privatePem);
Dtest-webcrypto-export-import-cfrg.js365 const rsaPrivate = crypto.createPrivateKey(
Dtest-webcrypto-export-import-rsa.js556 const ecPrivate = crypto.createPrivateKey(
Dtest-webcrypto-export-import-ec.js396 const rsaPrivate = crypto.createPrivateKey(
/third_party/node/benchmark/crypto/
Dcreate-keyobject.js43 privateKey: crypto.createPrivateKey(keyFixtures[keyType].privateKey),
54 fn = crypto.createPrivateKey;
65 fn = crypto.createPrivateKey;
77 fn = crypto.createPrivateKey;
Doneshot-sign.js83 keyObjects ||= pems.map(crypto.createPrivateKey);
/third_party/node/lib/internal/crypto/
Dec.js44 createPrivateKey,
187 keyObject = createPrivateKey({
Drsa.js50 createPrivateKey,
227 keyObject = createPrivateKey({
Dcfrg.js43 createPrivateKey,
226 keyObject = createPrivateKey({
Dkeys.js624 function createPrivateKey(key) { function
764 createPrivateKey, property
/third_party/node/lib/
Dcrypto.js80 createPrivateKey,
187 createPrivateKey, property
/third_party/node/doc/api/
Dcrypto.md1919 [`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