Home
last modified time | relevance | path

Searched refs:keyObject (Results 1 – 15 of 15) sorted by relevance

/third_party/node/lib/internal/crypto/
Dcfrg.js206 let keyObject;
212 keyObject = createPublicKey({
226 keyObject = createPrivateKey({
301 keyObject = publicKeyObject;
303 keyObject = createCFRGRawKey(
308 if (!createPublicKey(keyObject).equals(publicKeyObject)) {
316 keyObject = createCFRGRawKey(name, keyData, true);
321 if (keyObject.asymmetricKeyType !== name.toLowerCase()) {
326 keyObject,
Dec.js167 let keyObject;
173 keyObject = createPublicKey({
187 keyObject = createPrivateKey({
246 keyObject = type === kKeyTypePrivate ?
253 keyObject = createECPublicKeyRaw(namedCurve, keyData);
262 if (keyObject.asymmetricKeyType !== 'ec')
269 } = keyObject[kHandle].keyDetail({});
274 keyObject,
Drsa.js208 let keyObject;
213 keyObject = createPublicKey({
227 keyObject = createPrivateKey({
280 keyObject = type === kKeyTypePrivate ?
292 if (keyObject.asymmetricKeyType !== 'rsa') {
299 } = keyObject[kHandle].keyDetail({});
301 return new InternalCryptoKey(keyObject, {
Dmac.js97 let keyObject;
114 keyObject = createSecretKey(keyData);
149 keyObject = new SecretKeyObject(handle);
156 const { length } = keyObject[kHandle].keyDetail({});
159 keyObject, {
Daes.js267 let keyObject;
272 keyObject = createSecretKey(keyData);
311 keyObject = new SecretKeyObject(handle);
321 ({ length } = keyObject[kHandle].keyDetail({ }));
326 keyObject,
Dkeys.js713 keyObject, argument
720 this[kKeyObject] = keyObject;
730 const keyObject = this[kKeyObject];
737 keyObject,
746 [kDeserialize]({ keyObject, algorithm, usages, extractable }) { property
747 this[kKeyObject] = keyObject;
Dwebcrypto.js559 const keyObject = createSecretKey(keyData);
560 return new InternalCryptoKey(keyObject, { name }, keyUsages, false);
/third_party/node/test/parallel/
Dtest-crypto-key-objects.js207 for (const keyObject of [publicKey, derivedPublicKey, publicKeyFromJwk]) {
209 keyObject.export({ format: 'jwk' }),
214 for (const keyObject of [privateKey, privateKeyFromJwk]) {
216 keyObject.export({ format: 'jwk' }),
780 const keyObject = createSecretKey(buffer); constant
781 assert.deepStrictEqual(keyObject.export(), buffer);
782 assert.deepStrictEqual(keyObject.export({}), buffer);
783 assert.deepStrictEqual(keyObject.export({ format: 'buffer' }), buffer);
784 assert.deepStrictEqual(keyObject.export({ format: undefined }), buffer);
790 const keyObject = createSecretKey(buffer); constant
[all …]
Dtest-crypto-hmac.js456 const keyObject = crypto.createSecretKey(Buffer.alloc(0)); constant
459 crypto.createHmac('sha256', keyObject).update('foo').digest(),
Dtest-webcrypto-keygen.js600 const keyObject = createSecretKey(buffer); constant
602 assert(!isCryptoKey(keyObject));
/third_party/node/deps/v8/src/objects/
Darguments.tq335 receiver: JSObject, keyObject: Object): &Object labels Bailout {
336 const key = Cast<Smi>(keyObject) otherwise Bailout;
366 macro SloppyArgumentsLoad(receiver: JSObject, keyObject: Object):
369 *AccessSloppyArgumentsCommon(receiver, keyObject) otherwise Bailout);
373 macro SloppyArgumentsHas(receiver: JSObject, keyObject: Object):
375 AccessSloppyArgumentsCommon(receiver, keyObject) otherwise Bailout;
380 macro SloppyArgumentsStore(receiver: JSObject, keyObject: Object, value: JSAny):
383 AccessSloppyArgumentsCommon(receiver, keyObject) otherwise Bailout;
/third_party/node/doc/api/
Dcrypto.md1951 const keyObject = KeyObject.from(key);
1952 console.log(keyObject.symmetricKeySize);
1971 const keyObject = KeyObject.from(key);
1972 console.log(keyObject.symmetricKeySize);
1977 ### `keyObject.asymmetricKeyDetails`
2009 ### `keyObject.asymmetricKeyType`
2052 ### `keyObject.export([options])`
2102 ### `keyObject.equals(otherKeyObject)`
2109 compare `keyObject`.
2116 ### `keyObject.symmetricKeySize`
[all …]
Dwebcrypto.md11 description: Removed proprietary `'node.keyObject'` import/export format.
/third_party/node/doc/changelogs/
DCHANGELOG_V15.md484 …* add keyObject.export() 'jwk' format option (Filip Skokan) [#37081](https://github.com/nodejs/nod…
512 …om/nodejs/node/commit/011910b424)] - **(SEMVER-MINOR)** **crypto**: add keyObject.export() 'jwk' f…
543 …m/nodejs/node/commit/aebe532967)] - **doc**: consistent webcrypto `node.keyObject` format (Filip S…
738 …om/nodejs/node/commit/1149af6265)] - **(SEMVER-MINOR)** **crypto**: add keyObject.asymmetricKeyDet…
DCHANGELOG_V11.md1128 …ithub.com/nodejs/node/commit/3c5a7a2f97)] - **doc**: fix keyObject.symmetricSize to be keyObject.s…