|
The Micro C++ Library
|
The X509Certificate class is a memory representation of a X.509 certificate. More...
#include <micxx/Crypt.hxx>
Inherits micxx::traits::ToString.
Public Member Functions | |
| X509Certificate () | |
| X509Certificate (const X509Certificate &right) | |
| virtual | ~X509Certificate () |
| virtual void | clear () |
| virtual const std::string & | getIssuer () const |
| Return the issuer of this X509 certificate. | |
| virtual const std::string & | getSubject () const |
| Return the subject of this X509 certificate. | |
| virtual const std::string & | getURL () const |
| virtual void | load (const std::string &url) |
| Try to load a X.509 certificate from URL url. | |
| virtual X509Certificate & | operator= (const X509Certificate &right) |
| virtual bool | operator! () const |
Returns true, if this ProvateKey object is invalid. Otherwise false is returned. | |
| virtual std::string | toString () const |
| Return a string representation. | |
Friends | |
| class | X509CertificateList |
| class | PKCS12Store |
The X509Certificate class is a memory representation of a X.509 certificate.
Wikipedia: "In cryptography, X.509 is an ITU-T standard for a public key infrastructure (PKI) and Privilege Management Infrastructure (PMI). X.509 specifies, amongst other things, standard formats for public key certificates, certificate revocation lists, attribute certificates, and a certification path validation algorithm."
| micxx::X509Certificate::X509Certificate | ( | ) |
| micxx::X509Certificate::X509Certificate | ( | const X509Certificate & | right | ) |
| virtual micxx::X509Certificate::~X509Certificate | ( | ) | [virtual] |
| virtual void micxx::X509Certificate::clear | ( | ) | [virtual] |
| virtual const std::string& micxx::X509Certificate::getIssuer | ( | ) | const [virtual] |
Return the issuer of this X509 certificate.
| virtual const std::string& micxx::X509Certificate::getSubject | ( | ) | const [virtual] |
Return the subject of this X509 certificate.
| virtual const std::string& micxx::X509Certificate::getURL | ( | ) | const [inline, virtual] |
{
return url;
}
| virtual void micxx::X509Certificate::load | ( | const std::string & | url | ) | [virtual] |
Try to load a X.509 certificate from URL url.
| virtual bool micxx::X509Certificate::operator! | ( | ) | const [virtual] |
Returns true, if this ProvateKey object is invalid. Otherwise false is returned.
| virtual X509Certificate& micxx::X509Certificate::operator= | ( | const X509Certificate & | right | ) | [virtual] |
| virtual std::string micxx::X509Certificate::toString | ( | ) | const [virtual] |
Return a string representation.
Reimplemented from micxx::traits::ToString.
friend class PKCS12Store [friend] |
friend class X509CertificateList [friend] |