Searched refs:keyObject (Results 1 – 15 of 15) sorted by relevance
/third_party/node/lib/internal/crypto/ |
D | cfrg.js | 206 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,
|
D | ec.js | 167 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,
|
D | rsa.js | 208 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, {
|
D | mac.js | 97 let keyObject; 114 keyObject = createSecretKey(keyData); 149 keyObject = new SecretKeyObject(handle); 156 const { length } = keyObject[kHandle].keyDetail({}); 159 keyObject, {
|
D | aes.js | 267 let keyObject; 272 keyObject = createSecretKey(keyData); 311 keyObject = new SecretKeyObject(handle); 321 ({ length } = keyObject[kHandle].keyDetail({ })); 326 keyObject,
|
D | keys.js | 713 keyObject, argument 720 this[kKeyObject] = keyObject; 730 const keyObject = this[kKeyObject]; 737 keyObject, 746 [kDeserialize]({ keyObject, algorithm, usages, extractable }) { property 747 this[kKeyObject] = keyObject;
|
D | webcrypto.js | 559 const keyObject = createSecretKey(keyData); 560 return new InternalCryptoKey(keyObject, { name }, keyUsages, false);
|
/third_party/node/test/parallel/ |
D | test-crypto-key-objects.js | 207 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 …]
|
D | test-crypto-hmac.js | 456 const keyObject = crypto.createSecretKey(Buffer.alloc(0)); constant 459 crypto.createHmac('sha256', keyObject).update('foo').digest(),
|
D | test-webcrypto-keygen.js | 600 const keyObject = createSecretKey(buffer); constant 602 assert(!isCryptoKey(keyObject));
|
/third_party/node/deps/v8/src/objects/ |
D | arguments.tq | 335 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/ |
D | crypto.md | 1951 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 …]
|
D | webcrypto.md | 11 description: Removed proprietary `'node.keyObject'` import/export format.
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V15.md | 484 …* 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…
|
D | CHANGELOG_V11.md | 1128 …ithub.com/nodejs/node/commit/3c5a7a2f97)] - **doc**: fix keyObject.symmetricSize to be keyObject.s…
|