proxygen
|
#include <Certificate.h>
Public Member Functions | |
virtual | ~PeerCert ()=default |
virtual void | verify (SignatureScheme scheme, CertificateVerifyContext context, folly::ByteRange toBeSigned, folly::ByteRange signature) const =0 |
Public Member Functions inherited from folly::AsyncTransportCertificate | |
virtual | ~AsyncTransportCertificate ()=default |
virtual std::string | getIdentity () const =0 |
virtual folly::ssl::X509UniquePtr | getX509 () const =0 |
Definition at line 64 of file Certificate.h.
|
virtualdefault |
|
pure virtual |
Verifies that signature is a valid signature of toBeSigned. Throws if it's not.
Implemented in fizz::PeerCertImpl< T >, fizz::PeerCertImpl< T >, fizz::PeerCertImpl< T >, fizz::PeerCertImpl< T >, fizz::PeerCertImpl< T >, and fizz::JavaCryptoPeerCert.