proxygen
fizz::IdentityCert Class Reference

#include <Certificate.h>

Inheritance diagram for fizz::IdentityCert:
folly::AsyncTransportCertificate

Public Member Functions

 IdentityCert (std::string identity)
 
 ~IdentityCert () override=default
 
std::string getIdentity () const override
 
folly::ssl::X509UniquePtr getX509 () const override
 
- Public Member Functions inherited from folly::AsyncTransportCertificate
virtual ~AsyncTransportCertificate ()=default
 

Private Attributes

std::string identity_
 

Detailed Description

Definition at line 24 of file Certificate.h.

Constructor & Destructor Documentation

fizz::IdentityCert::IdentityCert ( std::string  identity)
explicit

Definition at line 211 of file Certificate.cpp.

211 : identity_(identity) {}
std::string identity_
Definition: Certificate.h:34
fizz::IdentityCert::~IdentityCert ( )
overridedefault

Member Function Documentation

std::string fizz::IdentityCert::getIdentity ( ) const
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 213 of file Certificate.cpp.

References identity_.

213  {
214  return identity_;
215 }
std::string identity_
Definition: Certificate.h:34
folly::ssl::X509UniquePtr fizz::IdentityCert::getX509 ( ) const
overridevirtual

Returns an X509 structure associated with this Certificate. This may be null.

Implements folly::AsyncTransportCertificate.

Definition at line 217 of file Certificate.cpp.

217  {
218  return nullptr;
219 }

Member Data Documentation

std::string fizz::IdentityCert::identity_
private

Definition at line 34 of file Certificate.h.

Referenced by getIdentity().


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