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.
int getVersion()
Returns a constant value of 1; do not use; only included for backwards-compatibility.
constructor(binary der)
Creates the SSLPrivateKey object from the data argument passed.
string getPEM()
Returns a string in PEM format representing the private key.
int getBitLength()
Returns the bit length of the private key.
string getType()
Returns a string giving the algorithm used for the private key.
copy()
Returns a copy of the private key object.
binary getDER()
Returns a binary object in DER format representing the private key.
constructor(string pem, *string pass)
Creates the SSLPrivateKey object from the PEM-encoded text representation of the private key passed.
The Serializable class can be used to mark a class as being serializable.
Definition: QC_Serializable.dox.h:96
binary binary()
Always returns an empty binary object (of zero length)
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2