| 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
114 date getNotAfterDate();
115
116 public:
118
128 date getNotBeforeDate();
129
130 public:
132
141 string getPEM();
142
143 public:
145
155 *binary getPublicKey();
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
211 binary getSignature();
212
213 public:
215
225 string getSignatureType();
226
227 public:
229
239 hash<auto> getSubjectHash();
240
241 public:
243
253 int getVersion();
254 };
255 }
Qore::date
date date(date dt)
Returns the date passed.
Qore::Serializable::constructor
constructor()
The constructor does not perform any action; this class is just used to mark a class as serializable ...
Qore::SSLCertificate::getSerialNumber
int getSerialNumber()
Returns the integer serial number of the certificate.
Qore::SSLCertificate::getPublicKeyAlgorithm
string getPublicKeyAlgorithm()
Returns the name of the public key algorithm of the certificate.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore::SSLCertificate::getSubjectHash
hash< auto > getSubjectHash()
Returns a hash of strings representing the subject information of the certificate.
Qore::SSLCertificate::getNotBeforeDate
date getNotBeforeDate()
Returns a date/time value representing the start date of the certificate.
Qore::Serializable
The Serializable class can be used to mark a class as being serializable.
Definition: QC_Serializable.dox.h:96
Qore::SSLCertificate::getIssuerHash
hash< auto > getIssuerHash()
Returns a hash of strings representing the issuer information of the certificate. ...
Qore::SSLCertificate::getInfo
hash< auto > getInfo()
Returns a hash of all information for the certificate.
Qore::SSLCertificate::getSignature
binary getSignature()
Returns a binary object representing the signature of the certificate.
Qore::SSLCertificate::getDER
binary getDER()
Returns a binary object in DER format representing the certificate.
Qore::SSLCertificate
SSLCertificate objects allow Qore code to work with X.509 certificate data.
Definition: QC_SSLCertificate.dox.h:10
Qore::SSLCertificate::getVersion
int getVersion()
Returns the version of the certificate as an integer.
Qore::SSLCertificate::getNotAfterDate
date getNotAfterDate()
Returns a date/time value representing the end date of the certificate.
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
Qore::SSLCertificate::getPublicKey
*binary getPublicKey()
Returns a binary object representing the public key of the certificate in DER (Distinguished Encoding...
Qore::SSLCertificate::getPurposeHash
hash< auto > getPurposeHash()
Returns a hash of booleans representing the allowed purposes of the certificate.
Qore::SSLCertificate::getSignatureType
string getSignatureType()
Returns the signature type of the certificate.
Qore::SSLCertificate::getPEM
string getPEM()
Returns a string in PEM format representing the certificate.
Qore::SSLCertificate::copy
copy()
Returns a copy of the certificate object.