Encapsulates a private/public key pair. More...
#include <DwmAuthEd25519Keys.hh>
Inherits pair< PrivateKey, PublicKey >.
Public Member Functions | |
| KeyPair () | |
| Default constructor. | |
| KeyPair (const PrivateKey &privKey, const PublicKey &publicKey) | |
| Construct from a private and public key. | |
| KeyPair & | operator= (const KeyPair &keys) |
| operator = | |
| const PrivateKey & | Private () const |
| Returns a const reference to the private key. | |
| PrivateKey & | Private () |
| Returns a mutable reference to the private key. | |
| const PublicKey & | Public () const |
| Returns a const reference to the public key. | |
| PublicKey & | Public () |
| Returns a mutable reference to the public key. | |
| bool | Load (const std::string &privKeyPath, std::string &name) |
Encapsulates a private/public key pair.