WvStreams
Public Types | Public Member Functions | Static Public Member Functions | List of all members
WvOCSPResp Class Reference

Public Types

enum  Status { Error , Good , Revoked , Unknown }
 

Public Member Functions

void decode (WvBuf &buf)
 
bool isok () const
 
bool check_nonce (const WvOCSPReq &req) const
 
bool signedbycert (const WvX509 &cert) const
 
WvX509 get_signing_cert () const
 
Status get_status (const WvX509 &cert, const WvX509 &issuer) const
 

Static Public Member Functions

static WvString status_str (Status status)
 

Detailed Description

Definition at line 39 of file wvocsp.h.

Member Enumeration Documentation

◆ Status

enum WvOCSPResp::Status

Definition at line 52 of file wvocsp.h.

Constructor & Destructor Documentation

◆ WvOCSPResp()

WvOCSPResp::WvOCSPResp ( )

Definition at line 46 of file wvocsp.cc.

◆ ~WvOCSPResp()

WvOCSPResp::~WvOCSPResp ( )
virtual

Definition at line 55 of file wvocsp.cc.

Member Function Documentation

◆ decode()

void WvOCSPResp::decode ( WvBuf buf)

Definition at line 67 of file wvocsp.cc.

◆ isok()

bool WvOCSPResp::isok ( ) const

Definition at line 83 of file wvocsp.cc.

◆ check_nonce()

bool WvOCSPResp::check_nonce ( const WvOCSPReq req) const

Definition at line 99 of file wvocsp.cc.

◆ signedbycert()

bool WvOCSPResp::signedbycert ( const WvX509 cert) const

Definition at line 119 of file wvocsp.cc.

◆ get_signing_cert()

WvX509 WvOCSPResp::get_signing_cert ( ) const

Definition at line 133 of file wvocsp.cc.

◆ get_status()

WvOCSPResp::Status WvOCSPResp::get_status ( const WvX509 cert,
const WvX509 issuer 
) const

Definition at line 148 of file wvocsp.cc.

◆ status_str()

WvString WvOCSPResp::status_str ( WvOCSPResp::Status  status)
static

Definition at line 189 of file wvocsp.cc.


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