Qore Programming Language Reference Manual  0.9.11
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 
40 
41 public:
43 
45  copy();
46 
47 public:
49 
60 
61 public:
63 
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 
142 };
143 }
Qore::SSLPrivateKey::getType
string getType()
Returns a string giving the algorithm used for the private key.
Qore::Serializable
The Serializable class can be used to mark a class as being serializable.
Definition: QC_Serializable.dox.h:96
Qore::SSLPrivateKey::getDER
binary getDER()
Returns a binary object in DER format representing the private key.
Qore::SSLPrivateKey::getInfo
hash< auto > getInfo()
Returns a hash of all information for the private key.
Qore::SSLPrivateKey::getVersion
int getVersion()
Returns a constant value of 1; do not use; only included for backwards-compatibility.
Qore::SSLPrivateKey
This class implements a container for private key data.
Definition: QC_SSLPrivateKey.dox.h:10
Qore::SSLPrivateKey::constructor
constructor(binary der)
Creates the SSLPrivateKey object from the data argument passed.
Qore::SSLPrivateKey::constructor
constructor(string pem, *string pass)
Creates the SSLPrivateKey object from the PEM-encoded text representation of the private key passed.
Qore::SSLPrivateKey::getBitLength
int getBitLength()
Returns the bit length of the private key.
Qore::SSLPrivateKey::copy
copy()
Returns a copy of the private key object.
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
Qore::SSLPrivateKey::getPEM
string getPEM()
Returns a string in PEM format representing the private key.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)