|
| constructor (string pem, *string pass) |
| Creates the SSLPrivateKey object from the PEM-encoded text representation of the private key passed.
|
|
| constructor (binary der) |
| Creates the SSLPrivateKey object from the data argument passed.
|
|
| copy () |
| Returns a copy of the private key object.
|
|
int | getBitLength () |
| Returns the bit length of the private key.
|
|
binary | getDER () |
| Returns a binary object in DER format representing the private key.
|
|
hash< auto > | getInfo () |
| Returns a hash of all information for the private key.
|
|
string | getPEM () |
| Returns a string in PEM format representing the private key.
|
|
string | getType () |
| Returns a string giving the algorithm used for the private key.
|
|
int | getVersion () |
| Returns a constant value of 1; do not use; only included for backwards-compatibility.
|
|
| constructor () |
| The constructor does not perform any action; this class is just used to mark a class as serializable by inheriting this class.
|
|
| copy () |
| The copy constructor does not perform any action; this class is just used to mark a class as serializable by inheriting this class.
|
|
| serialize (OutputStream stream, *int flags) |
| converts the object to binary data representing the object
|
|
binary | serialize (*int flags) |
| converts the object to binary data representing the object
|
|
hash< SerializationInfo > | serializeToData (*int flags) |
| converts the object to a serialization hash representing the object
|
|
|
static auto | deserialize (InputStream stream, *int flags) |
| Deserializes data produced with serialize() and returns the value represented by the data.
|
|
static auto | deserialize (binary bin, *int flags) |
| Deserializes data produced with serialize() and returns the value represented by the data.
|
|
static auto | deserialize (string bin, *int flags) |
| Deserializes data produced with serialize() and returns the value represented by the data.
|
|
static auto | deserialize (hash< SerializationInfo > data, *int flags) |
| Deserializes data produced with serializeToData() and returns the value represented by the data.
|
|
static hash< SerializationInfo > | deserializeToData (InputStream stream, *int flags) |
| Deserializes data produced with serialize() and returns the value represented by the data.
|
|
static hash< SerializationInfo > | deserializeToData (binary bin, *int flags) |
| Deserializes data produced with serialize() and returns the value represented by the data.
|
|
static | serialize (auto val, OutputStream stream, *int flags) |
| serializes the data and writes the serialized data to the given output stream
|
|
static binary | serialize (auto val, *int flags) |
| serializes the data and returns the serialized data as a binary object
|
|
static hash< SerializationInfo > | serializeToData (auto val, *int flags) |
| converts the value to a serialization hash representing the value
|
|
This class implements a container for private key data.
The SSLPrivateKey class supports data serialization; note that the serialized data is a representation of the data that does not require a password, so for source data that requires a password to use, the serialized representation of the private key should be protected carefully (transmitted only in an encrypted stream)