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