proxygen
fizz::PeerCert Class Referenceabstract

#include <Certificate.h>

Inheritance diagram for fizz::PeerCert:
folly::AsyncTransportCertificate fizz::JavaCryptoPeerCert fizz::PeerCertImpl< T > fizz::test::MockPeerCert

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
 

Detailed Description

Definition at line 64 of file Certificate.h.

Constructor & Destructor Documentation

virtual fizz::PeerCert::~PeerCert ( )
virtualdefault

Member Function Documentation

virtual void fizz::PeerCert::verify ( SignatureScheme  scheme,
CertificateVerifyContext  context,
folly::ByteRange  toBeSigned,
folly::ByteRange  signature 
) const
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.


The documentation for this class was generated from the following file: