Qore Programming Language Reference Manual  0.9.2
QC_SSLCertificate.dox.h
1 namespace Qore {
4 
9 class SSLCertificate : public Serializable {
10 
11 public:
13 
24  constructor(string pem);
25 
26 public:
28 
37  constructor(binary der);
38 
39 public:
41 
43  copy();
44 
45 public:
47 
61 binary getDER();
62 
63 public:
65 
85 hash<auto> getInfo();
86 
87 public:
89 
100 
101 public:
103 
114 
115 public:
117 
128 
129 public:
131 
140 string getPEM();
141 
142 public:
144 
155 
156 public:
158 
168 string getPublicKeyAlgorithm();
169 
170 public:
172 
183 
184 public:
186 
196 int getSerialNumber();
197 
198 public:
200 
211 
212 public:
214 
224 string getSignatureType();
225 
226 public:
228 
239 
240 public:
242 
252 int getVersion();
253 };
254 };
hash getSubjectHash()
Returns a hash of strings representing the subject information of the certificate.
date date(date dt)
Returns the date passed.
hash getIssuerHash()
Returns a hash of strings representing the issuer information of the certificate. ...
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)
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:90
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:9
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.
hash getPurposeHash()
Returns a hash of booleans representing the allowed purposes of the certificate.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:2
*binary getPublicKey()
Returns a binary object representing the public key of the certificate in DER (Distinguished Encoding...
string getSignatureType()
Returns the signature type of the certificate.
hash hash(object obj)
Returns a hash of an object&#39;s members.
string getPEM()
Returns a string in PEM format representing the certificate.
copy()
Returns a copy of the certificate object.