Home
last modified time | relevance | path

Searched refs:KeyObject (Results 1 – 21 of 21) sorted by relevance

/third_party/node/deps/npm/node_modules/sigstore/dist/ca/
Dindex.d.ts3 import { KeyObject } from 'crypto';
6 …createSigningCertificate: (identityToken: string, publicKey: KeyObject, challenge: Buffer) => Prom…
14 …createSigningCertificate(identityToken: string, publicKey: KeyObject, challenge: Buffer): Promise<…
Dformat.d.ts3 import { KeyObject } from 'crypto';
5 export declare function toCertificateRequest(identityToken: string, publicKey: KeyObject, challenge…
/third_party/node/lib/internal/crypto/
Dkeys.js96 0: KeyObject,
102 class KeyObject extends NativeKeyObject { class
143 ObjectDefineProperties(KeyObject.prototype, {
151 class SecretKeyObject extends KeyObject {
187 class AsymmetricKeyObject extends KeyObject {
254 return [KeyObject, SecretKeyObject, PublicKeyObject, PrivateKeyObject];
765 KeyObject, property
Ddiffiehellman.js49 KeyObject,
292 if (!(privateKey instanceof KeyObject))
295 if (!(publicKey instanceof KeyObject))
/third_party/node/test/parallel/
Dtest-webcrypto-derivekey.js10 const { webcrypto: { subtle }, KeyObject } = require('crypto');
148 const secretKey = KeyObject.from(derived);
Dtest-webcrypto-keygen.js14 KeyObject,
291 KeyObject.from(publicKey).asymmetricKeyDetails.publicExponent,
298 KeyObject.from(privateKey).asymmetricKeyDetails.publicExponent,
Dtest-crypto-key-objects.js16 KeyObject,
40 assert.throws(() => new KeyObject(TYPE), {
49 assert.throws(() => new KeyObject('secret', ''), {
59 assert.throws(() => KeyObject.from('invalid_key'), {
/third_party/node/src/crypto/
DREADME.md166 handling keys and the public JavaScript `KeyObject` API.
168 #### `KeyObject`
170 A `KeyObject` is the public Node.js-specific API for keys. A single
171 `KeyObject` wraps exactly one `KeyObjectHandle`.
175 A `CryptoKey` is the Web Crypto API's alternative to `KeyObject`. In the
177 `KeyObject` and it is largely possible to use them interchangeably.
250 For `KeyGenJob` types, the output is either a single KeyObject,
/third_party/node/lib/
Dcrypto.js81 KeyObject,
237 KeyObject, property
/third_party/node/doc/api/
Dcrypto.md1900 ## Class: `KeyObject`
1916 Node.js uses a `KeyObject` class to represent a symmetric or asymmetric key,
1919 [`crypto.createPrivateKey()`][] methods are used to create `KeyObject`
1920 instances. `KeyObject` objects are not to be created directly using the `new`
1923 Most applications should consider using the new `KeyObject` API instead of
1926 `KeyObject` instances can be passed to other threads via [`postMessage()`][].
1927 The receiver obtains a cloned `KeyObject`, and the `KeyObject` does not need to
1930 ### Static method: `KeyObject.from(key)` argument
1937 * Returns: {KeyObject}
1939 Example: Converting a `CryptoKey` instance to a `KeyObject`:
[all …]
Dworker_threads.md587 description: Added `KeyObject` to the list of cloneable types.
614 * {KeyObject}s,
Dutil.md2442 Returns `true` if `value` is a {KeyObject}, `false` otherwise.
/third_party/node/deps/v8/src/json/
Djson-stringifier.cc135 using KeyObject = std::pair<Handle<Object>, Handle<Object>>; typedef in v8::internal::JsonStringifier
136 std::vector<KeyObject> stack_;
/third_party/node/tools/doc/
Dtype-parser.mjs78 'KeyObject': 'crypto.html#class-keyobject', property
/third_party/node/doc/changelogs/
DCHANGELOG_V12.md616 * \[[`90244362cc`](https://github.com/nodejs/node/commit/90244362cc)] - **crypto**: fix KeyObject g…
618 …hub.com/nodejs/node/commit/a6f58c0888)] - **crypto**: set env values in KeyObject Deserialize meth…
813 …tps://github.com/nodejs/node/commit/ed72d83802)] - **crypto**: simplify KeyObject constructor (Ric…
4185 * \[[`d86f10cf0b`](https://github.com/nodejs/node/commit/d86f10cf0b)] - **doc**: add KeyObject to t…
5428 * \[[`9220a68a76`](https://github.com/nodejs/node/commit/9220a68a76)] - **crypto**: fix KeyObject h…
6181 …om/nodejs/node/commit/4895927a0a)] - **(SEMVER-MINOR)** **crypto**: add KeyObject.asymmetricKeySiz…
6243 …hub.com/nodejs/node/commit/6f77af541e)] - _**Revert**_ "**crypto**: add KeyObject.asymmetricKeySiz…
6244 …com/nodejs/node/commit/247c14c040)] - **crypto**: fix EdDSA support for KeyObject (Brian White) [#…
DCHANGELOG_V17.md283 …om/nodejs/node/commit/2b354223d4)] - **(SEMVER-MINOR)** **crypto**: add KeyObject.prototype.equals…
308 …om/nodejs/node/commit/2b354223d4)] - **(SEMVER-MINOR)** **crypto**: add KeyObject.prototype.equals…
DCHANGELOG_V18.md1517 …ejs/node/commit/24a101698c)] - **crypto**: return correct bit length in KeyObject's asymmetricKeyD…
1518 …om/nodejs/node/commit/2de50fef84)] - **(SEMVER-MINOR)** **crypto**: add KeyObject Symbol.toStringT…
2649 …* (SEMVER-MINOR) allow zero-length secret KeyObject (Filip Skokan) [#44201](https://github.com/nod…
2682 …/07d90c8a71)] - **(SEMVER-MINOR)** **crypto**: allow zero-length secret KeyObject (Filip Skokan) […
DCHANGELOG_V14.md2433 * \[[`a01154e3fd`](https://github.com/nodejs/node/commit/a01154e3fd)] - **crypto**: fix KeyObject g…
2434 …hub.com/nodejs/node/commit/1f15e34dc8)] - **crypto**: set env values in KeyObject Deserialize meth…
2689 …tps://github.com/nodejs/node/commit/178a740caf)] - **crypto**: simplify KeyObject constructor (Ric…
DCHANGELOG_V11.md274 …nodejs/node/commit/74c6f57aed)] - **(SEMVER-MINOR)** **crypto**: expose KeyObject class (Filip Sko…
1146 …b.com/nodejs/node/commit/8ee4810029)] - **src**: pass along errors from KeyObject instantiation (A…
DCHANGELOG_V15.md542 …760f126adb)] - **doc**: mark Certificate methods as static, add missing KeyObject.from (Filip Skok…
DCHANGELOG_V16.md2358 * \[[`67e9e71f75`](https://github.com/nodejs/node/commit/67e9e71f75)] - **test**: crypto KeyObject.…