11 #include "wvencoder.h" 12 #include "wvencoderstream.h" 36 enum DumpMode { RsaPEM, RsaPubPEM, RsaHex, RsaPubHex };
43 WvRSAKey(
struct rsa_st *_rsa,
bool priv);
52 virtual bool isok()
const;
105 virtual bool _encode(
WvBuf &in,
WvBuf &out,
bool flush);
106 virtual bool _reset();
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
WvEncoderStream chains a series of encoders on the input and output ports of the underlying stream to...
Unified support for streams, that is, sequences of bytes that may or may not be ready for read/write ...
virtual WvString encode(const DumpMode mode) const
Return the information requested by mode.
An encoder implementing the RSA public key encryption method.
A crypto stream implementing RSA public key encryption.
Specialization of WvBufBase for unsigned char type buffers intended for use with raw memory buffers...
virtual void decode(const DumpMode mode, WvStringParm encoded)
Load the information from the format requested by mode into the class - this overwrites the certifica...
An RSA public key or public/private key pair that can be used for encryption.
WvString is an implementation of a simple and efficient printable-string class.
A WvLog stream accepts log messages from applications and forwards them to all registered WvLogRcv's...
DumpMode
Type for the encode() and decode() methods.