proxygen
|
#include <Certificate.h>
Private Attributes | |
OpenSSLSignature< T > | signature_ |
std::vector< folly::ssl::X509UniquePtr > | certs_ |
std::map< CertificateCompressionAlgorithm, CompressedCertificate > | compressedCerts_ |
Definition at line 135 of file Certificate.h.
fizz::SelfCertImpl< T >::SelfCertImpl | ( | folly::ssl::EvpPkeyUniquePtr | pkey, |
std::vector< folly::ssl::X509UniquePtr > | certs, | ||
const std::vector< std::shared_ptr< fizz::CertificateCompressor >> & | compressors = {} |
||
) |
Private key is the private key associated with the leaf cert. certs is a list of certs in the chain with the leaf first.
Definition at line 37 of file Certificate-inl.h.
References folly::gen::move.
|
overridedefault |
|
overridevirtual |
Returns additional identities this certificate can also represent (for example subject alternate names).
Implements fizz::SelfCert.
Definition at line 64 of file Certificate-inl.h.
References folly::ssl::OpenSSLCertUtils::getSubjectAltNames().
Referenced by fizz::test::TEST().
|
overridevirtual |
Implements fizz::SelfCert.
Definition at line 69 of file Certificate-inl.h.
References fizz::CertUtils::getCertMessage(), and folly::gen::move.
Referenced by fizz::test::TEST().
|
overridevirtual |
Implements fizz::SelfCert.
Definition at line 76 of file Certificate-inl.h.
References fizz::CertUtils::cloneCompressedCert().
|
overridevirtual |
Returns the identity this certificate conveys.
An identity is an opaque string that may be used by the application for authentication or authorization purposes. The exact structure and semantics of the identity string are determined by concrete implementations of AsyncTransport.
Implements folly::AsyncTransportCertificate.
Definition at line 58 of file Certificate-inl.h.
References folly::ssl::OpenSSLCertUtils::getCommonName().
Referenced by fizz::test::TEST().
|
overridevirtual |
Returns the signature schemes this certificate can be used with.
Implements fizz::SelfCert.
Definition at line 82 of file Certificate-inl.h.
Referenced by fizz::test::TYPED_TEST().
|
overridevirtual |
Returns an X509 structure associated with this Certificate. This may be null.
Implements folly::AsyncTransportCertificate.
Definition at line 232 of file Certificate-inl.h.
|
inlinevirtual |
Implements fizz::SelfCert.
Definition at line 87 of file Certificate-inl.h.
|
inlinevirtual |
Implements fizz::SelfCert.
Definition at line 102 of file Certificate-inl.h.
|
inlinevirtual |
Implements fizz::SelfCert.
Definition at line 117 of file Certificate-inl.h.
|
inlinevirtual |
Implements fizz::SelfCert.
Definition at line 132 of file Certificate-inl.h.
|
overridevirtual |
Implements fizz::SelfCert.
Referenced by fizz::test::TYPED_TEST().
|
private |
Definition at line 170 of file Certificate.h.
|
private |
Definition at line 172 of file Certificate.h.
|
private |
Definition at line 169 of file Certificate.h.