Qore Programming Language Reference Manual 0.8.8

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

All Classes Namespaces Functions Variables Groups Pages
QC_SSLPrivateKey.dox.h
1 namespace Qore {
4
5 class SSLPrivateKey {
6
7 public:
9
21 constructor(string pem, *string pass);
22
23 public:
25
34 constructor(binary der);
35
36 public:
38
40 copy();
41
42 public:
44
54 int getBitLength();
55
56 public:
58
71 hash getInfo();
72
73 public:
75
84 string getPEM();
85
86 public:
88
98 string getType();
99
100 public:
102
109 int getVersion();
110 };
111 };
Qore::SSLPrivateKey::getVersion
int getVersion()
Returns a constant value of 1; do not use; only included for backwards-compatibility.
Qore::SSLPrivateKey::getType
string getType()
Returns a string giving the algorithm used for the private key.
Qore::SSLPrivateKey::getBitLength
int getBitLength()
Returns the bit length of the private key.
Qore::SSLPrivateKey::copy
copy()
Copying objects of this class is not supported, an exception will be thrown.
Qore::SSLPrivateKey::getInfo
hash getInfo()
Returns a hash of all information for the private key.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
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
This class implements a container for private key data.
Definition: QC_SSLPrivateKey.dox.h:5
Qore::hash
hash hash(object obj)
Returns a hash of an object&#39;s members.
Qore::SSLPrivateKey::getPEM
string getPEM()
Returns a string in PEM format representing the private key.