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;
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.
virtual bool isok() const
By default, returns true if geterr() == 0.
WvString getpem(bool privkey)
Retrieve the public or private key in PEM encoded format.
A class for managing error numbers and strings.
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
WvString is an implementation of a simple and efficient printable-string class.