|
| KeyPair (KeyPairImpl::Ptr pKeyPairImpl=0) |
|
| KeyPair (const KeyPair &other) |
| Extracts the RSA public key from the given certificate.
|
|
| KeyPair (KeyPair &&other) noexcept |
| Copy constructor.
|
|
KeyPair & | operator= (const KeyPair &other) |
| Move constructor.
|
|
KeyPair & | operator= (KeyPair &&other) noexcept |
| Assignment.
|
|
virtual | ~KeyPair () |
| Move assignment.
|
|
virtual int | size () const |
| Destroys the KeyPair.
|
|
virtual void | save (const std::string &publicKeyPairFile, const std::string &privateKeyPairFile="", const std::string &privateKeyPairPassphrase="") const |
| Returns the RSA modulus size.
|
|
virtual void | save (std::ostream *pPublicKeyPairStream, std::ostream *pPrivateKeyPairStream=0, const std::string &privateKeyPairPassphrase="") const |
|
KeyPairImpl::Ptr | impl () const |
|
const std::string & | name () const |
| Returns the impl object.
|
|
Type | type () const |
| Returns key pair name.
|
|
This is a parent class for classes storing a key pair, consisting of private and public key. Storage of the private key is optional.
If a private key is available, the KeyPair can be used for decrypting data (encrypted with the public key) or computing secure digital signatures.
Definition at line 32 of file KeyPair.h.