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

Encapsulates a readable and writable private key. More...

#include <DwmAuthEd25519Keys.hh>

Inherits ed25519PrivateKey, DescriptorIOCapable, FileIOCapable, StreamIOCapable, and StreamedLengthCapable.

Public Member Functions

 PrivateKey (const CryptoPP::ed25519PrivateKey &key)
 
bool IsValid () const
 
std::string ToString () const
 
std::string ToBase64String () const
 
bool FromString (const std::string &s)
 
bool FromBase64String (const std::string &s)
 
std::istream & Read (std::istream &is) override
 
std::ostream & Write (std::ostream &os) const override
 
size_t Read (FILE *f) override
 
size_t Write (FILE *f) const override
 
ssize_t Read (int fd) override
 
ssize_t Write (int fd) const override
 
uint32_t StreamedLength () const override
 
bool operator== (const PrivateKey &pk) const
 operator ==
 

Detailed Description

Encapsulates a readable and writable private key.


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