Home
last modified time | relevance | path

Searched refs:createPublicKey (Results 1 - 20 of 20) sorted by relevance

/third_party/node/deps/npm/node_modules/@sigstore/core/dist/
H A Dcrypto.js6 exports.bufferEqual = exports.verify = exports.hash = exports.digest = exports.createPublicKey = void 0;
24 function createPublicKey(key) { function
26 return crypto_1.default.createPublicKey(key);
29 return crypto_1.default.createPublicKey({ key, format: 'der', type: 'spki' });
32 exports.createPublicKey = createPublicKey;
/third_party/node/test/parallel/
H A Dtest-crypto-key-objects.js14 createPublicKey,
96 // Passing an existing public key object to createPublicKey should throw.
97 const publicKey = createPublicKey(publicPem);
98 assert.throws(() => createPublicKey(publicKey), {
106 assert.throws(() => createPrivateKey(createPublicKey(privatePem)), {
152 const publicKey = createPublicKey(publicPem);
165 const derivedPublicKey = createPublicKey(privateKey);
171 const publicKeyFromJwk = createPublicKey({ key: publicJwk, format: 'jwk' });
185 const decryptedKey = createPublicKey({
321 const key = createPublicKey(publicPe
[all...]
H A Dtest-crypto-dh-stateless.js60 const alicePublicKey = crypto.createPublicKey({
90 const bobPublicKey = crypto.createPublicKey({
186 const publicKey = crypto.createPublicKey({
H A Dtest-crypto-async-sign-verify.js21 let publicKey = crypto.createPublicKey(publicPem);
116 key: crypto.createPublicKey(
H A Dtest-crypto-sign-verify.js448 const pubKeyObj = crypto.createPublicKey(pair.public);
643 const publicKey = crypto.createPublicKey(publicPem);
676 const publicKey = crypto.createPublicKey(publicPem);
718 const publicKey = crypto.createPublicKey(publicPem);
H A Dtest-webcrypto-export-import-cfrg.js363 const rsaPublic = crypto.createPublicKey(
H A Dtest-webcrypto-export-import-rsa.js554 const ecPublic = crypto.createPublicKey(
H A Dtest-webcrypto-export-import-ec.js394 const rsaPublic = crypto.createPublicKey(
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/utils/
H A Dkey.js37 const key = crypto_1.default.createPublicKey(keyInfo.keyVal);
52 key = crypto_1.default.createPublicKey(keyInfo.keyVal);
59 key = crypto_1.default.createPublicKey({
71 key = crypto_1.default.createPublicKey(keyInfo.keyVal);
78 key = crypto_1.default.createPublicKey({
/third_party/node/benchmark/crypto/
H A Dcreate-keyobject.js42 publicKey: crypto.createPublicKey(keyFixtures[keyType].publicKey),
50 fn = crypto.createPublicKey;
59 fn = crypto.createPublicKey;
71 fn = crypto.createPublicKey;
H A Doneshot-verify.js97 keyObjects ||= pems.map(crypto.createPublicKey);
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/trust/
H A Dindex.js40 publicKey: core_1.crypto.createPublicKey(tlogInstance.publicKey.rawBytes),
68 publicKey: core_1.crypto.createPublicKey(key.rawBytes),
/third_party/node/lib/internal/crypto/
H A Dcfrg.js44 createPublicKey,
212 keyObject = createPublicKey({
308 if (!createPublicKey(keyObject).equals(publicKeyObject)) {
H A Dec.js45 createPublicKey,
173 keyObject = createPublicKey({
H A Drsa.js49 createPublicKey,
213 keyObject = createPublicKey({
H A Dkeys.js611 function createPublicKey(key) { function
763 createPublicKey,
/third_party/node/lib/
H A Dcrypto.js79 createPublicKey,
188 createPublicKey,
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/timestamp/
H A Dtsa.js41 const signingKey = core_1.crypto.createPublicKey(leaf.publicKey);
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/key/
H A Dindex.js69 key: core_1.crypto.createPublicKey(cert.publicKey),
/third_party/node/deps/npm/node_modules/sigstore/dist/
H A Dconfig.js49 publicKey: core_1.crypto.createPublicKey(key),

Completed in 9 milliseconds