Home
last modified time | relevance | path

Searched refs:generateKeyPairSync (Results 1 – 24 of 24) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-dh-stateless.js141 test(crypto.generateKeyPairSync('dh', { group: 'modp5' }),
142 crypto.generateKeyPairSync('dh', { group: 'modp5' }));
144 test(crypto.generateKeyPairSync('dh', { group: 'modp5' }),
145 crypto.generateKeyPairSync('dh', { prime: group.getPrime() }));
162 test(crypto.generateKeyPairSync('dh', params1),
163 crypto.generateKeyPairSync('dh', params2));
216 test(crypto.generateKeyPairSync('ec', { namedCurve: 'secp256k1' }),
217 crypto.generateKeyPairSync('ec', { namedCurve: 'secp256k1' }));
221 test(crypto.generateKeyPairSync('ec', { namedCurve: 'secp256k1' }),
222 crypto.generateKeyPairSync('ec', { namedCurve: not256k1 }));
[all …]
Dtest-crypto-keygen.js13 generateKeyPairSync,
20 assert.throws(() => generateKeyPairSync('ec', {
44 assert.throws(() => generateKeyPairSync(type, {}), {
52 assert.throws(() => generateKeyPairSync('rsa2', {}), {
81 assert.throws(() => generateKeyPairSync('rsa', {
98 assert.throws(() => generateKeyPairSync('rsa', {
118 assert.throws(() => generateKeyPairSync('rsa', {
138 assert.throws(() => generateKeyPairSync('rsa', {
155 assert.throws(() => generateKeyPairSync('rsa', {
175 assert.throws(() => generateKeyPairSync('rsa', {
[all …]
Dtest-crypto-keygen-invalid-parameter-encoding-dsa.js10 generateKeyPairSync,
15 assert.throws(() => generateKeyPairSync('dsa', {
Dtest-crypto-keygen-invalid-parameter-encoding-ec.js10 generateKeyPairSync,
14 assert.throws(() => generateKeyPairSync('ec', {
Dtest-crypto-keygen-missing-oid.js10 generateKeyPairSync,
33 generateKeyPairSync('ec', params);
Dtest-crypto-keygen-key-objects.js9 generateKeyPairSync,
14 const { publicKey, privateKey } = generateKeyPairSync('rsa', {
Dtest-crypto-keygen-non-standard-public-exponent.js9 generateKeyPairSync,
15 const { publicKey, privateKey } = generateKeyPairSync('rsa', {
Dtest-crypto-private-decrypt-gh32240.js12 generateKeyPairSync,
17 const pair = generateKeyPairSync('rsa', { modulusLength: 512 });
Dtest-crypto-keygen-sync.js9 generateKeyPairSync,
22 const ret = generateKeyPairSync('rsa', {
Dtest-crypto-key-objects-messageport.js7 const { createSecretKey, generateKeyPairSync, randomBytes } = require('crypto');
38 const { publicKey, privateKey } = generateKeyPairSync('rsa', {
Dtest-crypto-key-objects.js24 generateKeyPairSync,
804 const keyPair = generateKeyPairSync('ec', { namedCurve });
839 const first = generateKeyPairSync('ed25519');
840 const second = generateKeyPairSync('ed25519');
859 const first = generateKeyPairSync('ed25519');
860 const second = generateKeyPairSync('ed448');
Dtest-crypto-x509.js11 generateKeyPairSync,
202 const keyPair = generateKeyPairSync('ed25519');
Dtest-crypto-publicDecrypt-fails-first-time.js15 const { privateKey, publicKey } = crypto.generateKeyPairSync('rsa', {
Dtest-crypto-psychic-signatures.js35 const keyPair = crypto.generateKeyPairSync('ec', {
Dtest-crypto-sign-verify.js750 const { privateKey } = crypto.generateKeyPairSync('rsa', {
/third_party/node/benchmark/crypto/
Dkeygen.js7 generateKeyPairSync,
19 generateKeyPairSync('rsa', {
45 generateKeyPairSync('dsa', {
/third_party/node/lib/
Dcrypto.js73 generateKeyPairSync,
205 generateKeyPairSync, property
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/signer/fulcio/
Dephemeral.js30 this.keypair = crypto_1.default.generateKeyPairSync(EC_KEYPAIR_TYPE, {
/third_party/node/lib/internal/crypto/
Dkeygen.js107 function generateKeyPairSync(type, options) { function
410 generateKeyPairSync, property
/third_party/node/test/fixtures/x509-escaping/
Dcreate-certs.js24 const { privateKey, publicKey } = crypto.generateKeyPairSync('rsa', {
/third_party/node/doc/api/
Dcrypto.md2163 generateKeyPairSync,
2168 const { privateKey, publicKey } = generateKeyPairSync('ec', {
2186 generateKeyPairSync,
2191 const { privateKey, publicKey } = generateKeyPairSync('ec', {
2211 generateKeyPairSync,
2216 const { privateKey, publicKey } = generateKeyPairSync('rsa', {
2234 generateKeyPairSync,
2239 const { privateKey, publicKey } = generateKeyPairSync('rsa', {
3722 description: The `generateKeyPair` and `generateKeyPairSync` functions now
3811 ### `crypto.generateKeyPairSync(type, options)`
[all …]
/third_party/node/doc/changelogs/
DCHANGELOG_V12.md2133 …om/nodejs/node/commit/51c3c8d1e8)] - **doc**: fix a typo in crypto.generateKeyPairSync() (himself6…
5490 …s://github.com/nodejs/node/commit/0e1ce2055e)] - **test**: rsa-pss generateKeyPairSync invalid opt…
6399 …https://github.com/nodejs/node/commit/de463f1490)] - **test**: ec2 generateKeyPairSync invalid par…
DCHANGELOG_V14.md3924 …om/nodejs/node/commit/7893bde07e)] - **doc**: fix a typo in crypto.generateKeyPairSync() (himself6…
DCHANGELOG_V10.md2037 `crypto.generateKeyPair` and `crypto.generateKeyPairSync` can be used to