Qore Programming Language Reference Manual  1.8.1
QC_SSLCertificate.dox.h
1 
3 namespace Qore {
5 
10 class SSLCertificate : public Serializable {
11 
12 public:
14 
25  constructor(string pem);
26 
27 public:
29 
39 
40 public:
42 
44  copy();
45 
46 public:
48 
63 
64 public:
66 
86 hash<auto> getInfo();
87 
88 public:
90 
100 hash<auto> getIssuerHash();
101 
102 public:
104 
115 
116 public:
118 
129 
130 public:
132 
141 string getPEM();
142 
143 public:
145 
156 
157 public:
159 
170 
171 public:
173 
183 hash<auto> getPurposeHash();
184 
185 public:
187 
198 
199 public:
201 
212 
213 public:
215 
226 
227 public:
229 
239 hash<auto> getSubjectHash();
240 
241 public:
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...
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.
hash< auto > getSubjectHash()
Returns a hash of strings representing the subject information of the certificate.
hash< auto > getIssuerHash()
Returns a hash of strings representing the issuer information of the 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 > getPurposeHash()
Returns a hash of booleans representing the allowed purposes 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.
hash< auto > getInfo()
Returns a hash of all information for the 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.
The Serializable class can be used to mark a class as being serializable.
Definition: QC_Serializable.dox.h:96
date date(date dt)
Returns the date passed.
binary binary()
Always returns an empty binary object (of zero length)
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3