11 #include "wvencoder.h" 12 #include "wvencoderstream.h" 28 static WvString hexifypub(
struct dsa_st *dsa);
29 static WvString hexifyprv(
struct dsa_st *dsa);
35 WvDSAKey(
struct dsa_st *_dsa,
bool priv);
49 virtual bool isok()
const;
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
WvString private_str() const
Retrieve the private key as a hexified string returns WvString::null if there is only a public key...
WvString getpem(bool privkey)
Retrieve the public or private key in PEM encoded format.
An DSA public key or public/private key pair that can be used for encryption.
virtual bool isok() const
By default, returns true if geterr() == 0.
WvString public_str() const
Retrieve the public key as a hexified string.
A class for managing error numbers and strings.
WvString is an implementation of a simple and efficient printable-string class.