libcryptosec
|
Valida certificados X509. More...
#include <CertPathValidator.h>
Public Member Functions | |
CertPathValidator (Certificate &untrusted, vector< Certificate > &untrustedChain, vector< Certificate > &trustedChain, DateTime when=DateTime(time(NULL)), vector< CertificateRevocationList > crls=vector< CertificateRevocationList >(), vector< ValidationFlags > flags=vector< ValidationFlags >()) | |
virtual | ~CertPathValidator () |
void | setTime (DateTime when) |
void | setUntrusted (Certificate &cert) |
void | setUnstrustedChain (vector< Certificate > &certs) |
void | setTrustedChain (vector< Certificate > &certs) |
void | setCrls (vector< CertificateRevocationList > &crls) |
void | setVerificationFlags (ValidationFlags flag) |
bool | verify () |
bool | getWarningsStatus () |
vector< CertPathValidatorResult > | getResults () |
Static Public Member Functions | |
static int | callback (int ok, X509_STORE_CTX *ctx) |
Protected Attributes | |
vector< ValidationFlags > | flags |
DateTime | when |
Certificate & | untrusted |
vector< Certificate > & | trustedChain |
vector< Certificate > & | untrustedChain |
vector< CertificateRevocationList > | crls |
Static Protected Attributes | |
static vector< CertPathValidatorResult > | results |
Valida certificados X509.
|
inline |
|
inlinevirtual |
|
static |
vector< CertPathValidatorResult > CertPathValidator::getResults | ( | ) |
bool CertPathValidator::getWarningsStatus | ( | ) |
void CertPathValidator::setCrls | ( | vector< CertificateRevocationList > & | crls | ) |
void CertPathValidator::setTime | ( | DateTime | when | ) |
void CertPathValidator::setTrustedChain | ( | vector< Certificate > & | certs | ) |
void CertPathValidator::setUnstrustedChain | ( | vector< Certificate > & | certs | ) |
void CertPathValidator::setUntrusted | ( | Certificate & | cert | ) |
void CertPathValidator::setVerificationFlags | ( | ValidationFlags | flag | ) |
bool CertPathValidator::verify | ( | ) |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |