Public Member Functions | Static Public Member Functions

crypto::RSAKey Class Reference
[Cryptography Libraries]

private/public key pair. More...

#include <crypto.h>

Inheritance diagram for crypto::RSAKey:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~RSAKey (void) throw ()
virtual smart_ptr< RSAPublicKeygetPublicKey (void)=0
 return the public key for the public/private pair
virtual std::string decrypt (const char *encrypted)=0
 decrypt a string encrypted with the public key, using the private key

Static Public Member Functions

static smart_ptr< RSAKeycreate (void)
 create new RSA public/private key pair (note: very expensive!)

Detailed Description

private/public key pair.

Definition at line 180 of file crypto.h.


Constructor & Destructor Documentation

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

Definition at line 53 of file crypto.cpp.


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