Public Member Functions | Static Public Member Functions

crypto::RSAPublicKey Class Reference
[Cryptography Libraries]

public key suitable for encrypting More...

#include <crypto.h>

Inheritance diagram for crypto::RSAPublicKey:
Inheritance graph

List of all members.

Public Member Functions

virtual ~RSAPublicKey (void) throw ()
virtual std::string serialize (void)=0
 return a serialized (string) version of the public key
virtual std::string encrypt (const char *plaintext)=0
 return the given text encrypted with the public key

Static Public Member Functions

static smart_ptr< RSAPublicKeycreate (const char *serialized)
 factory to create public key from serialized (string) version

Detailed Description

public key suitable for encrypting

Get these from a private/public RSAKey or by serializing and deserializing

Definition at line 161 of file crypto.h.

Constructor & Destructor Documentation

crypto::RSAPublicKey::~RSAPublicKey ( void   )  throw () [virtual]

Definition at line 52 of file crypto.cpp.

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