Home
last modified time | relevance | path

Searched refs:X509Pointer (Results 1 – 9 of 9) sorted by relevance

/third_party/node/src/crypto/
Dcrypto_context.h58 inline const X509Pointer& issuer() const { return issuer_; } in issuer()
59 inline const X509Pointer& cert() const { return cert_; } in cert()
144 X509Pointer cert_;
145 X509Pointer issuer_;
Dcrypto_x509.h23 explicit ManagedX509(X509Pointer&& cert);
35 X509Pointer cert_;
53 X509Pointer cert,
73 X509Pointer cert);
Dcrypto_x509.cc33 ManagedX509::ManagedX509(X509Pointer&& cert) : cert_(std::move(cert)) {} in ManagedX509()
111 X509Pointer cert, in New()
142 X509Pointer ptr(X509_dup(cert)); in GetCert()
156 X509Pointer cert(is_server ? SSL_get_peer_certificate(ssl.get()) : nullptr); in GetPeerCert()
188 X509Pointer pem(PEM_read_bio_X509_AUX( in Parse()
194 X509Pointer der(d2i_X509(nullptr, &data, data_len)); in Parse()
464 X509Pointer cert(X509_dup(sk_X509_value(issuer_chain, 0))); in X509Certificate()
Dcrypto_context.cc80 X509Pointer&& x, in SSL_CTX_use_certificate_chain()
82 X509Pointer* cert, in SSL_CTX_use_certificate_chain()
83 X509Pointer* issuer_) { in SSL_CTX_use_certificate_chain()
150 X509Pointer* cert, in SSL_CTX_use_certificate_chain()
151 X509Pointer* issuer) { in SSL_CTX_use_certificate_chain()
156 X509Pointer x( in SSL_CTX_use_certificate_chain()
168 while (X509Pointer extra {PEM_read_bio_X509(in.get(), in SSL_CTX_use_certificate_chain()
716 while (X509Pointer x509 = X509Pointer(PEM_read_bio_X509_AUX( in SetCACert()
1042 X509Pointer cert; in LoadPKCS12()
1347 while (X509Pointer x509 = X509Pointer(PEM_read_bio_X509( in AddCertsFromFile()
Dcrypto_common.cc54 X509Pointer SSL_CTX_get_issuer(SSL_CTX* ctx, X509* cert) { in SSL_CTX_get_issuer()
58 X509Pointer result; in SSL_CTX_get_issuer()
317 StackOfX509 CloneSSLCerts(X509Pointer&& cert, in CloneSSLCerts()
324 X509Pointer cert(X509_dup(sk_X509_value(ssl_certs, i))); in CloneSSLCerts()
334 X509Pointer* cert, in AddIssuerChainToObject()
370 X509Pointer* cert, in GetLastIssuedCert()
376 X509Pointer ca; in GetLastIssuedCert()
1201 X509Pointer cert(is_server ? SSL_get_peer_certificate(ssl.get()) : nullptr); in GetPeerCert()
1218 X509Pointer first_cert(sk_X509_value(peer_certs.get(), 0)); in GetPeerCert()
Dcrypto_common.h28 X509Pointer SSL_CTX_get_issuer(SSL_CTX* ctx, X509* cert);
Dcrypto_util.h57 using X509Pointer = DeleteFnPtr<X509, X509_free>; variable
DREADME.md74 using X509Pointer = DeleteFnPtr<X509, X509_free>;
Dcrypto_keys.cc134 X509Pointer x509(d2i_X509(nullptr, p, l)); in ParsePublicKeyPEM()