Qore Programming Language Reference Manual  1.0.8
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 
38  constructor(binary der);
39 
40 public:
42 
44  copy();
45 
46 public:
48 
62 binary getDER();
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 
169 string getPublicKeyAlgorithm();
170 
171 public:
173 
183 hash<auto> getPurposeHash();
184 
185 public:
187 
197 int getSerialNumber();
198 
199 public:
201 
212 
213 public:
215 
225 string getSignatureType();
226 
227 public:
229 
239 hash<auto> getSubjectHash();
240 
241 public:
243 
253 int getVersion();
254 };
255 }
date date(date dt)
Returns the date passed.
constructor()
The constructor does not perform any action; this class is just used to mark a class as serializable ...
int getSerialNumber()
Returns the integer serial number of the certificate.
string getPublicKeyAlgorithm()
Returns the name of the public key algorithm of the certificate.
binary binary()
Always returns an empty binary object (of zero length)
hash< auto > getSubjectHash()
Returns a hash of strings representing the subject information of the certificate.
date getNotBeforeDate()
Returns a date/time value representing the start date of the certificate.
The Serializable class can be used to mark a class as being serializable.
Definition: QC_Serializable.dox.h:96
hash< auto > getIssuerHash()
Returns a hash of strings representing the issuer information of the certificate. ...
hash< auto > getInfo()
Returns a hash of all information for the certificate.
binary getSignature()
Returns a binary object representing the signature of the certificate.
binary getDER()
Returns a binary object in DER format representing the certificate.
SSLCertificate objects allow Qore code to work with X.509 certificate data.
Definition: QC_SSLCertificate.dox.h:10
int getVersion()
Returns the version of the certificate as an integer.
date getNotAfterDate()
Returns a date/time value representing the end date of the certificate.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
*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.
string getSignatureType()
Returns the signature type of the certificate.
string getPEM()
Returns a string in PEM format representing the certificate.
copy()
Returns a copy of the certificate object.