proxygen
|
#include <AsyncTransportCertificate.h>
Public Member Functions | |
virtual | ~AsyncTransportCertificate ()=default |
virtual std::string | getIdentity () const =0 |
virtual folly::ssl::X509UniquePtr | getX509 () const =0 |
Generic interface applications may implement to convey self or peer certificate related information.
Definition at line 28 of file AsyncTransportCertificate.h.
|
virtualdefault |
|
pure virtual |
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.
Implemented in TestP256Cert, TestRsaCert, fizz::PeerCertImpl< T >, fizz::SelfCertImpl< T >, fizz::SelfCertImpl< KeyType::P256 >, fizz::SelfCertImpl< KeyType::RSA >, fizz::JavaCryptoPeerCert, and fizz::IdentityCert.
Referenced by fizz::client::certIdentityMatch().
|
pure virtual |
Returns an X509 structure associated with this Certificate. This may be null.
Implemented in fizz::PeerCertImpl< T >, fizz::SelfCertImpl< T >, fizz::SelfCertImpl< KeyType::P256 >, fizz::SelfCertImpl< KeyType::RSA >, fizz::JavaCryptoPeerCert, and fizz::IdentityCert.