Home
last modified time | relevance | path

Searched refs:X509Certificate (Results 1 – 25 of 25) sorted by relevance

/third_party/node/src/crypto/
Dcrypto_x509.cc58 X509Certificate* cert; in Fingerprint()
66 Local<FunctionTemplate> X509Certificate::GetConstructorTemplate( in GetConstructorTemplate()
105 bool X509Certificate::HasInstance(Environment* env, Local<Object> object) { in HasInstance()
109 MaybeLocal<Object> X509Certificate::New( in New()
117 MaybeLocal<Object> X509Certificate::New( in New()
130 new X509Certificate(env, obj, std::move(cert), issuer_chain); in New()
134 MaybeLocal<Object> X509Certificate::GetCert( in GetCert()
146 MaybeLocal<Object> X509Certificate::GetPeerCert( in GetPeerCert()
173 void X509Certificate::Parse(const FunctionCallbackInfo<Value>& args) { in Parse()
198 if (!X509Certificate::New(env, std::move(der)).ToLocal(&cert)) in Parse()
[all …]
Dcrypto_x509.h38 class X509Certificate : public BaseObject {
100 SET_MEMORY_INFO_NAME(X509Certificate)
101 SET_SELF_SIZE(X509Certificate) in SET_SELF_SIZE() argument
126 X509Certificate(
133 BaseObjectPtr<X509Certificate> issuer_cert_;
Dcrypto_tls.cc1619 X509Certificate::GetPeerCertificateFlag flag = w->is_server() in GetPeerX509Certificate()
1620 ? X509Certificate::GetPeerCertificateFlag::SERVER in GetPeerX509Certificate()
1621 : X509Certificate::GetPeerCertificateFlag::NONE; in GetPeerX509Certificate()
1624 if (X509Certificate::GetPeerCert(env, w->ssl_, flag).ToLocal(&ret)) in GetPeerX509Certificate()
1643 if (X509Certificate::GetCert(env, w->ssl_).ToLocal(&ret)) in GetX509Certificate()
/third_party/node/test/parallel/
Dtest-crypto-x509.js9 X509Certificate,
30 assert.throws(() => new X509Certificate(i), {
88 const x509 = new X509Certificate(cert);
168 const ca_cert = new X509Certificate(ca);
231 const c = new X509Certificate(certPem);
236 const c1 = new X509Certificate(certPem);
241 const c2 = new X509Certificate(certPem);
354 const cert = new X509Certificate(certPem);
Dtest-tls-getcertificate-x509.js9 const { X509Certificate } = require('crypto');
22 assert(cert instanceof X509Certificate);
34 assert(peerCert.issuerCertificate instanceof X509Certificate);
Dtest-x509-escaping.js8 const { X509Certificate } = require('crypto');
116 const cert = new X509Certificate(pem);
222 const cert = new X509Certificate(pem);
335 const cert = new X509Certificate(pem);
441 const certX509 = new X509Certificate(cert);
480 const certX509 = new X509Certificate(cert);
Dtest-tls-client-getephemeralkeyinfo.js8 const { X509Certificate } = require('crypto');
42 } = new X509Certificate(cert));
Dtest-tls-dhe.js32 const { X509Certificate } = require('crypto');
99 } = new X509Certificate(cert);
/third_party/node/deps/npm/node_modules/@sigstore/core/dist/x509/
Dcert.js26 exports.X509Certificate = exports.EXTENSION_OID_SCT = void 0;
53 class X509Certificate { class
60 return new X509Certificate(asn1);
163 return X509Certificate.parse(clone);
226 exports.X509Certificate = X509Certificate;
Dindex.js18 exports.X509SCTExtension = exports.X509Certificate = exports.EXTENSION_OID_SCT = void 0;
21 …rts, "X509Certificate", { enumerable: true, get: function () { return cert_1.X509Certificate; } });
/third_party/node/lib/internal/crypto/
Dx509.js106 class X509Certificate extends JSTransferable { class
359 InternalX509Certificate.prototype.constructor = X509Certificate;
362 X509Certificate.prototype);
365 X509Certificate, property
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/bundle/
Dindex.js49 … certificate: core_1.X509Certificate.parse(bundle.verificationMaterial.content.x509CertificateChain
55 …certificate: core_1.X509Certificate.parse(bundle.verificationMaterial.content.certificate.rawBytes…
/third_party/node/deps/npm/node_modules/@sigstore/core/dist/
Dindex.js26 exports.X509SCTExtension = exports.X509Certificate = exports.EXTENSION_OID_SCT = exports.ByteStream…
55 …rts, "X509Certificate", { enumerable: true, get: function () { return x509_1.X509Certificate; } });
/third_party/node/src/quic/
Dtlscontext.cc500 return crypto::X509Certificate::GetCert(env, ssl_); in cert()
504 crypto::X509Certificate::GetPeerCertificateFlag flag = in peer_cert()
506 ? crypto::X509Certificate::GetPeerCertificateFlag::SERVER in peer_cert()
507 : crypto::X509Certificate::GetPeerCertificateFlag::NONE; in peer_cert()
508 return crypto::X509Certificate::GetPeerCert(env, ssl_, flag); in peer_cert()
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/
Dsigstore_bundle.js44 …? { $case: "certificate", certificate: sigstore_common_1.X509Certificate.fromJSON(object.certifica…
64 ? sigstore_common_1.X509Certificate.toJSON(message.content?.certificate)
Dsigstore_common.js3 …orts.X509CertificateChain = exports.SubjectAlternativeName = exports.X509Certificate = exports.Dis…
458 exports.X509Certificate = {
498 ? object.certificates.map((e) => exports.X509Certificate.fromJSON(e))
505 …obj.certificates = message.certificates.map((e) => e ? exports.X509Certificate.toJSON(e) : undefin…
/third_party/node/lib/
Dcrypto.js111 X509Certificate,
240 X509Certificate, property
/third_party/node/src/
Dnode_crypto.cc60 V(X509Certificate)
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/trust/
Dindex.js50 return core_1.X509Certificate.parse(cert.rawBytes);
/third_party/node/tools/doc/
Dtype-parser.mjs234 'X509Certificate': 'crypto.html#class-x509certificate', property
/third_party/node/doc/api/
Dtls.md1320 * Returns: {X509Certificate}
1322 Returns the peer certificate as an {X509Certificate} object.
1402 * Returns: {X509Certificate}
1404 Returns the local certificate as an {X509Certificate} object.
Dworker_threads.md579 description: Added `X509Certificate` to the list of cloneable types.
618 * {X509Certificate}s.
Dcrypto.md2460 ## Class: `X509Certificate`
2470 const { X509Certificate } = await import('node:crypto');
2472 const x509 = new X509Certificate('{... pem encoded cert ...}');
2478 const { X509Certificate } = require('node:crypto');
2480 const x509 = new X509Certificate('{... pem encoded cert ...}');
2485 ### `new X509Certificate(buffer)` argument
2615 * `otherCert` {X509Certificate}
2718 * Type: {X509Certificate}
/third_party/node/doc/changelogs/
DCHANGELOG_V15.md501 …* add ability to get cert/peer cert as X509Certificate object (James M Snell) [#37070](https://git…
598 …] - **(SEMVER-MINOR)** **tls**: add ability to get cert/peer cert as X509Certificate object (James…
788 …ommit/d54998538e)] - **src**: use BaseObject::kInternalFieldCount in X509Certificate constructor (…
827 …* introduce X509Certificate API (James M Snell) [#36804](https://github.com/nodejs/node/pull/36804)
861 …/node/commit/c4ad50e0ff)] - **(SEMVER-MINOR)** **crypto**: introduce X509Certificate API (James M …
DCHANGELOG_V18.md1349 …://github.com/nodejs/node/commit/2a35462045)] - **src**: deduplicate X509Certificate::Fingerprint\…
4507 …nodejs/node/commit/36fb79030e)] - **(SEMVER-MAJOR)** **crypto**: fix X509Certificate toLegacyObjec…