proxygen
|
#include <Certificate.h>
Private Attributes | |
OpenSSLSignature< T > | signature_ |
folly::ssl::X509UniquePtr | cert_ |
Definition at line 176 of file Certificate.h.
|
explicit |
Definition at line 147 of file Certificate-inl.h.
References folly::gen::move.
|
overridedefault |
|
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 157 of file Certificate-inl.h.
References folly::ssl::OpenSSLCertUtils::getCommonName(), and folly::Optional< Value >::value_or().
|
overridevirtual |
Returns an X509 structure associated with this Certificate. This may be null.
Implements folly::AsyncTransportCertificate.
Definition at line 226 of file Certificate-inl.h.
Referenced by fizz::test::TEST().
|
inlinevirtual |
Verifies that signature is a valid signature of toBeSigned. Throws if it's not.
Implements fizz::PeerCert.
Definition at line 162 of file Certificate-inl.h.
|
inlinevirtual |
Verifies that signature is a valid signature of toBeSigned. Throws if it's not.
Implements fizz::PeerCert.
Definition at line 178 of file Certificate-inl.h.
|
overridevirtual |
Verifies that signature is a valid signature of toBeSigned. Throws if it's not.
Implements fizz::PeerCert.
Referenced by fizz::test::TYPED_TEST().
|
inlinevirtual |
Verifies that signature is a valid signature of toBeSigned. Throws if it's not.
Implements fizz::PeerCert.
Definition at line 194 of file Certificate-inl.h.
|
inlinevirtual |
Verifies that signature is a valid signature of toBeSigned. Throws if it's not.
Implements fizz::PeerCert.
Definition at line 210 of file Certificate-inl.h.
|
private |
Definition at line 194 of file Certificate.h.
|
private |
Definition at line 193 of file Certificate.h.