Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RSAFunction Class Reference

. More...

#include <rsa.h>

Inheritance diagram for RSAFunction:

TrapdoorFunction InvertibleRSAFunction List of all members.

Public Methods

 RSAFunction (const Integer &n,const Integer &e)
 RSAFunction (BufferedTransformation &bt)
void DEREncode (BufferedTransformation &bt)const
Integer ApplyFunction (const Integer &x)const
Integer PreimageBound ()const
Integer ImageBound ()const
const IntegerGetModulus ()const
const IntegerGetExponent ()const

Protected Methods

 RSAFunction ()

Protected Attributes

Integer n
Integer e

Detailed Description

.

Definition at line 17 of file rsa.h.


Constructor & Destructor Documentation

RSAFunction::RSAFunction ( const Integer & n,
const Integer & e ) [inline]
 

Definition at line 20 of file rsa.h.

RSAFunction::RSAFunction ( BufferedTransformation & bt )
 

Definition at line 19 of file rsa.cpp.

RSAFunction::RSAFunction ( ) [inline, protected]
 

Definition at line 32 of file rsa.h.


Member Function Documentation

Integer RSAFunction::ApplyFunction ( const Integer & x ) const [virtual]
 

Reimplemented from TrapdoorFunction.

Definition at line 66 of file rsa.cpp.

void RSAFunction::DEREncode ( BufferedTransformation & bt ) const
 

Definition at line 46 of file rsa.cpp.

const Integer & RSAFunction::GetExponent ( ) const [inline]
 

Definition at line 29 of file rsa.h.

const Integer & RSAFunction::GetModulus ( ) const [inline]
 

Definition at line 28 of file rsa.h.

Integer RSAFunction::ImageBound ( ) const [inline, virtual]
 

Reimplemented from TrapdoorFunction.

Definition at line 26 of file rsa.h.

Integer RSAFunction::PreimageBound ( ) const [inline, virtual]
 

Reimplemented from TrapdoorFunction.

Definition at line 25 of file rsa.h.


Member Data Documentation

Integer RSAFunction::e [protected]
 

Definition at line 33 of file rsa.h.

Integer RSAFunction::n [protected]
 

Definition at line 33 of file rsa.h.


The documentation for this class was generated from the following files:
Generated at Mon Jan 15 01:17:03 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000