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