Home
last modified time | relevance | path

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

12

/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.cc1570 X509Certificate::GetPeerCertificateFlag flag = w->is_server() in GetPeerX509Certificate()
1571 ? X509Certificate::GetPeerCertificateFlag::SERVER in GetPeerX509Certificate()
1572 : X509Certificate::GetPeerCertificateFlag::NONE; in GetPeerX509Certificate()
1575 if (X509Certificate::GetPeerCert(env, w->ssl_, flag).ToLocal(&ret)) in GetPeerX509Certificate()
1594 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/cef/libcef/browser/
Dssl_host_state_delegate.h27 bool Check(const net::X509Certificate& cert, int error) const;
31 void Allow(const net::X509Certificate& cert, int error);
55 const net::X509Certificate& cert,
62 const net::X509Certificate& cert,
Dssl_host_state_delegate.cc20 bool CertPolicy::Check(const net::X509Certificate& cert, int error) const { in Check()
30 void CertPolicy::Allow(const net::X509Certificate& cert, int error) { in Allow()
73 const net::X509Certificate& cert, in AllowCert()
99 const net::X509Certificate& cert, in QueryPolicy()
Dx509_certificate_impl.h18 explicit CefX509CertificateImpl(scoped_refptr<net::X509Certificate> cert);
39 scoped_refptr<net::X509Certificate> GetInternalCertObject() { return cert_; } in GetInternalCertObject()
48 scoped_refptr<net::X509Certificate> cert_;
Dx509_certificate_impl.cc21 } else if (!net::X509Certificate::GetPEMEncoded(cert_buffer, &encoded)) { in EncodeCertificate()
36 scoped_refptr<net::X509Certificate> cert) in CefX509CertificateImpl()
Dssl_status_impl.h34 scoped_refptr<net::X509Certificate> certificate_;
/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/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_common.js3 …orts.X509CertificateChain = exports.SubjectAlternativeName = exports.X509Certificate = exports.Dis…
327 exports.X509Certificate = {
367 ? object.certificates.map((e) => exports.X509Certificate.fromJSON(e))
374 …obj.certificates = message.certificates.map((e) => e ? exports.X509Certificate.toJSON(e) : undefin…
/third_party/node/deps/npm/node_modules/sigstore/dist/ca/verify/
Dchain.d.ts3 export declare function verifyChain(certificate: sigstore.X509Certificate, certificateAuthorities: …
/third_party/node/lib/
Dcrypto.js111 X509Certificate,
240 X509Certificate, property
/third_party/node/deps/npm/node_modules/sigstore/dist/types/sigstore/
Dindex.d.ts9 …ionData, TransparencyLogEntry, TransparencyLogInstance, TrustedRoot, X509Certificate, X509Certific…
/third_party/node/src/
Dnode_crypto.cc60 V(X509Certificate)
/third_party/node/tools/doc/
Dtype-parser.mjs231 '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 …

12