Library: NetSSL_OpenSSL
Package: SSLCore
Header: Poco/Net/X509Certificate.h
This class represents an X509 Certificate.
Member Functions: certificate, issuerName, operator =, subjectName, swap, verify
X509Certificate(
std::istream & str
);
Loads the X509Certificate from the stream
X509Certificate(
const std::string & file
);
Loads the X509Certificate from the file
X509Certificate(
X509 * pCert
);
Creates the X509Certificate.
X509Certificate(
const X509Certificate & param246
);
~X509Certificate();
Destroys the X509Certificate.
const X509 * certificate() const;
Returns the OpenSSL certificate.
const std::string & issuerName() const;
Returns the certificate issuer name.
X509Certificate & operator = (
const X509Certificate & param247
);
const std::string & subjectName() const;
Returns the certificate subject name.
void swap(
X509Certificate & cert
);
bool verify(
const std::string & hostName,
Poco::SharedPtr < Context > ptr
);
Verifies the validity of the certificate against the hostname