QC_SSLCertificate.dox.h
namespace Qore {
class SSLCertificate {
public:
constructor(string pem);
public:
constructor(binary der);
public:
copy();
public:
hash getInfo();
public:
hash getIssuerHash();
public:
date getNotAfterDate();
public:
date getNotBeforeDate();
public:
string getPEM();
public:
*binary getPublicKey();
public:
string getPublicKeyAlgorithm();
public:
hash getPurposeHash();
public:
int getSerialNumber();
public:
binary getSignature();
public:
string getSignatureType();
public:
hash getSubjectHash();
public:
int getVersion();
};
};
Qore::SSLCertificate::getSubjectHash
hash getSubjectHash()
Returns a hash of strings representing the subject information of the certificate.
Qore::date
date date(date dt)
Returns the date passed.
Qore::SSLCertificate::getIssuerHash
hash getIssuerHash()
Returns a hash of strings representing the issuer information of the certificate. ...
Qore::SSLCertificate::getSerialNumber
int getSerialNumber()
Returns the integer serial number of the certificate.
Qore::SSLCertificate::getPublicKeyAlgorithm
string getPublicKeyAlgorithm()
Returns the name of the public key algorithm of the certificate.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore::SSLCertificate::getNotBeforeDate
date getNotBeforeDate()
Returns a date/time value representing the start date of the certificate.
Qore::SSLCertificate::getSignature
binary getSignature()
Returns a binary object representing the signature of the certificate.
Qore::SSLCertificate::getInfo
hash getInfo()
Returns a hash of all information for the certificate.
Qore::SSLCertificate::constructor
constructor(string pem)
Creates the SSLCertificate object from the PEM-encoded version of the X.509 certificate.
Qore::SSLCertificate
SSLCertificate objects allow Qore code to work with X.509 certificate data.
Definition: QC_SSLCertificate.dox.h:5
Qore::SSLCertificate::getVersion
int getVersion()
Returns the version of the certificate as an integer.
Qore::SSLCertificate::getNotAfterDate
date getNotAfterDate()
Returns a date/time value representing the end date of the certificate.
Qore::SSLCertificate::getPurposeHash
hash getPurposeHash()
Returns a hash of booleans representing the allowed purposes of the certificate.
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:2
Qore::SSLCertificate::getPublicKey
*binary getPublicKey()
Returns a binary object representing the public key of the certificate in DER (Distinguished Encoding...
Qore::SSLCertificate::getSignatureType
string getSignatureType()
Returns the signature type of the certificate.
Qore::hash
hash hash(object obj)
Returns a hash of an object's members.
Qore::SSLCertificate::getPEM
string getPEM()
Returns a string in PEM format representing the certificate.
Qore::SSLCertificate::copy
copy()
Copying objects of this class is not supported, an exception will be thrown.