libDwmAuth-0.3.6
Dwm::Auth::Ed25519::KeyPair Class Reference

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.
 
KeyPairoperator= (const KeyPair &keys)
 operator =
 
const PrivateKeyPrivate () const
 Returns a const reference to the private key.
 
PrivateKeyPrivate ()
 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)
 

Detailed Description

Encapsulates a private/public key pair.


The documentation for this class was generated from the following file: