/third_party/node/test/parallel/ |
D | test-crypto-dh-stateless.js | 141 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 …]
|
D | test-crypto-keygen.js | 13 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 …]
|
D | test-crypto-keygen-invalid-parameter-encoding-dsa.js | 10 generateKeyPairSync, 15 assert.throws(() => generateKeyPairSync('dsa', {
|
D | test-crypto-keygen-invalid-parameter-encoding-ec.js | 10 generateKeyPairSync, 14 assert.throws(() => generateKeyPairSync('ec', {
|
D | test-crypto-keygen-missing-oid.js | 10 generateKeyPairSync, 33 generateKeyPairSync('ec', params);
|
D | test-crypto-keygen-key-objects.js | 9 generateKeyPairSync, 14 const { publicKey, privateKey } = generateKeyPairSync('rsa', {
|
D | test-crypto-keygen-non-standard-public-exponent.js | 9 generateKeyPairSync, 15 const { publicKey, privateKey } = generateKeyPairSync('rsa', {
|
D | test-crypto-private-decrypt-gh32240.js | 12 generateKeyPairSync, 17 const pair = generateKeyPairSync('rsa', { modulusLength: 512 });
|
D | test-crypto-keygen-sync.js | 9 generateKeyPairSync, 22 const ret = generateKeyPairSync('rsa', {
|
D | test-crypto-key-objects-messageport.js | 7 const { createSecretKey, generateKeyPairSync, randomBytes } = require('crypto'); 38 const { publicKey, privateKey } = generateKeyPairSync('rsa', {
|
D | test-crypto-key-objects.js | 24 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');
|
D | test-crypto-x509.js | 11 generateKeyPairSync, 202 const keyPair = generateKeyPairSync('ed25519');
|
D | test-crypto-publicDecrypt-fails-first-time.js | 15 const { privateKey, publicKey } = crypto.generateKeyPairSync('rsa', {
|
D | test-crypto-psychic-signatures.js | 35 const keyPair = crypto.generateKeyPairSync('ec', {
|
D | test-crypto-sign-verify.js | 750 const { privateKey } = crypto.generateKeyPairSync('rsa', {
|
/third_party/node/benchmark/crypto/ |
D | keygen.js | 7 generateKeyPairSync, 19 generateKeyPairSync('rsa', { 45 generateKeyPairSync('dsa', {
|
/third_party/node/lib/ |
D | crypto.js | 73 generateKeyPairSync, 205 generateKeyPairSync, property
|
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/signer/fulcio/ |
D | ephemeral.js | 30 this.keypair = crypto_1.default.generateKeyPairSync(EC_KEYPAIR_TYPE, {
|
/third_party/node/lib/internal/crypto/ |
D | keygen.js | 107 function generateKeyPairSync(type, options) { function 410 generateKeyPairSync, property
|
/third_party/node/test/fixtures/x509-escaping/ |
D | create-certs.js | 24 const { privateKey, publicKey } = crypto.generateKeyPairSync('rsa', {
|
/third_party/node/doc/api/ |
D | crypto.md | 2163 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/ |
D | CHANGELOG_V12.md | 2133 …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…
|
D | CHANGELOG_V14.md | 3924 …om/nodejs/node/commit/7893bde07e)] - **doc**: fix a typo in crypto.generateKeyPairSync() (himself6…
|
D | CHANGELOG_V10.md | 2037 `crypto.generateKeyPair` and `crypto.generateKeyPairSync` can be used to
|