QC_SSLCertificate.dox.h
namespace Qore {
class SSLCertificate : public Serializable {
public:
constructor(string pem);
public:
constructor(binary der);
public:
copy();
public:
binary getDER();
public:
hash<auto> getInfo();
public:
hash<auto> getIssuerHash();
public:
date getNotAfterDate();
public:
date getNotBeforeDate();
public:
string getPEM();
public:
*binary getPublicKey();
public:
string getPublicKeyAlgorithm();
public:
hash<auto> getPurposeHash();
public:
int getSerialNumber();
public:
binary getSignature();
public:
string getSignatureType();
public:
hash<auto> getSubjectHash();
public:
int getVersion();
};
}
Qore::SSLCertificate
SSLCertificate objects allow Qore code to work with X.509 certificate data.
Definition: QC_SSLCertificate.dox.h:10
Qore::SSLCertificate::getPublicKey
*binary getPublicKey()
Returns a binary object representing the public key of the certificate in DER (Distinguished Encoding...
Qore::SSLCertificate::getSignature
binary getSignature()
Returns a binary object representing the signature of the certificate.
Qore::SSLCertificate::getSignatureType
string getSignatureType()
Returns the signature type of the certificate.
Qore::SSLCertificate::constructor
constructor(binary der)
Creates the SSLCertificate object from the DER-encoded version of the X.509 certificate.
Qore::SSLCertificate::getSubjectHash
hash< auto > getSubjectHash()
Returns a hash of strings representing the subject information of the certificate.
Qore::SSLCertificate::getIssuerHash
hash< auto > getIssuerHash()
Returns a hash of strings representing the issuer information of the certificate.
Qore::SSLCertificate::getPublicKeyAlgorithm
string getPublicKeyAlgorithm()
Returns the name of the public key algorithm of the certificate.
Qore::SSLCertificate::getNotAfterDate
date getNotAfterDate()
Returns a date/time value representing the end date of the certificate.
Qore::SSLCertificate::getPurposeHash
hash< auto > getPurposeHash()
Returns a hash of booleans representing the allowed purposes of the certificate.
Qore::SSLCertificate::copy
copy()
Returns a copy of the certificate object.
Qore::SSLCertificate::getVersion
int getVersion()
Returns the version of the certificate as an integer.
Qore::SSLCertificate::constructor
constructor(string pem)
Creates the SSLCertificate object from the PEM-encoded version of the X.509 certificate.
Qore::SSLCertificate::getInfo
hash< auto > getInfo()
Returns a hash of all information for the certificate.
Qore::SSLCertificate::getPEM
string getPEM()
Returns a string in PEM format representing the certificate.
Qore::SSLCertificate::getNotBeforeDate
date getNotBeforeDate()
Returns a date/time value representing the start date of the certificate.
Qore::SSLCertificate::getDER
binary getDER()
Returns a binary object in DER format representing the certificate.
Qore::SSLCertificate::getSerialNumber
int getSerialNumber()
Returns the integer serial number of the certificate.
Qore::Serializable
The Serializable class can be used to mark a class as being serializable.
Definition: QC_Serializable.dox.h:96
Qore::date
date date(date dt)
Returns the date passed.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3