proxygen
folly::AsyncTransportCertificate Class Referenceabstract

#include <AsyncTransportCertificate.h>

Inheritance diagram for folly::AsyncTransportCertificate:
fizz::IdentityCert fizz::PeerCert fizz::SelfCert fizz::test::MockCert fizz::JavaCryptoPeerCert fizz::PeerCertImpl< T > fizz::test::MockPeerCert fizz::AsyncSelfCert fizz::SelfCertImpl< T > fizz::test::MockSelfCert fizz::SelfCertImpl< KeyType::P256 > fizz::SelfCertImpl< KeyType::RSA >

Public Member Functions

virtual ~AsyncTransportCertificate ()=default
 
virtual std::string getIdentity () const =0
 
virtual folly::ssl::X509UniquePtr getX509 () const =0
 

Detailed Description

Generic interface applications may implement to convey self or peer certificate related information.

Definition at line 28 of file AsyncTransportCertificate.h.

Constructor & Destructor Documentation

virtual folly::AsyncTransportCertificate::~AsyncTransportCertificate ( )
virtualdefault

Member Function Documentation

virtual std::string folly::AsyncTransportCertificate::getIdentity ( ) const
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().

virtual folly::ssl::X509UniquePtr folly::AsyncTransportCertificate::getX509 ( ) const
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.


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