Qore Programming Language Reference Manual 1.18.1
Loading...
Searching...
No Matches
QC_SSLCertificate.dox.h
1
3namespace Qore {
5
11
12public:
14
25 constructor(string pem);
26
27public:
29
39
40public:
42
45
46public:
48
63
64public:
66
86hash<auto> getInfo();
87
88public:
90
100hash<auto> getIssuerHash();
101
102public:
104
115
116public:
118
129
130public:
132
141string getPEM();
142
143public:
145
156
157public:
159
170
171public:
173
183hash<auto> getPurposeHash();
184
185public:
187
198
199public:
201
212
213public:
215
226
227public:
229
239hash<auto> getSubjectHash();
240
241public:
243
254};
255}
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