Qore Programming Language Reference Manual  1.0.8
QC_SSLPrivateKey.dox.h
1 
3 namespace Qore {
5 
10 class SSLPrivateKey : public Serializable {
11 
12 public:
14 
26  constructor(string pem, *string pass);
27 
28 public:
30 
39  constructor(binary der);
40 
41 public:
43 
45  copy();
46 
47 public:
49 
59 int getBitLength();
60 
61 public:
63 
80 binary getDER();
81 
82 public:
84 
97 hash<auto> getInfo();
98 
99 public:
101 
116 string getPEM();
117 
118 public:
120 
130 string getType();
131 
132 public:
134 
141 int getVersion();
142 };
143 }
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:96
This class implements a container for private key data.
Definition: QC_SSLPrivateKey.dox.h:10
hash< auto > getInfo()
Returns a hash of all information for the private key.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
string getPEM()
Returns a string in PEM format representing the private key.