libDwmAuth-0.3.6
Dwm::Auth::PKCrypto::PublicKey Class Reference

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

#include <DwmAuthPKCrypto.hh>

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

Public Member Functions

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

Detailed Description

Encapsulates a readable and writable public key.


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