Qore Programming Language Reference Manual  0.9.3
QC_SSLPrivateKey.dox.h
1 namespace Qore {
4 
9 class SSLPrivateKey : public Serializable {
10 
11 public:
13 
25  constructor(string pem, *string pass);
26 
27 public:
29 
38  constructor(binary der);
39 
40 public:
42 
44  copy();
45 
46 public:
48 
58 int getBitLength();
59 
60 public:
62 
79 binary getDER();
80 
81 public:
83 
96 hash<auto> getInfo();
97 
98 public:
100 
115 string getPEM();
116 
117 public:
119 
129 string getType();
130 
131 public:
133 
140 int getVersion();
141 };
142 };
constructor()
The constructor does not perform any action; this class is just used to mark a class as serializable ...
int getVersion()
Returns a constant value of 1; do not use; only included for backwards-compatibility.
binary getDER()
Returns a binary object in DER format representing the private key.
string getType()
Returns a string giving the algorithm used for the private key.
int getBitLength()
Returns the bit length of the private key.
copy()
Returns a copy of the private key object.
binary binary()
Always returns an empty binary object (of zero length)
The Serializable class can be used to mark a class as being serializable.
Definition: QC_Serializable.dox.h:90
This class implements a container for private key data.
Definition: QC_SSLPrivateKey.dox.h:9
hash< auto > getInfo()
Returns a hash of all information for the private key.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:2
string getPEM()
Returns a string in PEM format representing the private key.