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

InvertibleRSAFunction Class Reference

. More...

#include <rsa.h>

Inheritance diagram for InvertibleRSAFunction:

RSAFunction InvertibleTrapdoorFunction TrapdoorFunction TrapdoorFunction List of all members.

Public Methods

 InvertibleRSAFunction (const Integer &n,const Integer &e,const Integer &d,const Integer &p,const Integer &q,const Integer &dp,const Integer &dq,const Integer &u)
 InvertibleRSAFunction (RandomNumberGenerator &rng,unsigned int keybits,const Integer &eStart=17)
 InvertibleRSAFunction (BufferedTransformation &bt)
void DEREncode (BufferedTransformation &bt)const
Integer CalculateInverse (const Integer &x)const
const IntegerGetPrime1 ()const
const IntegerGetPrime2 ()const
const IntegerGetDecryptionExponent ()const

Protected Attributes

Integer d
Integer p
Integer q
Integer dp
Integer dq
Integer u

Detailed Description

.

Definition at line 37 of file rsa.h.


Constructor & Destructor Documentation

InvertibleRSAFunction::InvertibleRSAFunction ( const Integer & n,
const Integer & e,
const Integer & d,
const Integer & p,
const Integer & q,
const Integer & dp,
const Integer & dq,
const Integer & u )
 

Definition at line 73 of file rsa.cpp.

InvertibleRSAFunction::InvertibleRSAFunction ( RandomNumberGenerator & rng,
unsigned int keybits,
const Integer & eStart = 17 )
 

Definition at line 85 of file rsa.cpp.

InvertibleRSAFunction::InvertibleRSAFunction ( BufferedTransformation & bt )
 

Definition at line 117 of file rsa.cpp.


Member Function Documentation

Integer InvertibleRSAFunction::CalculateInverse ( const Integer & x ) const [virtual]
 

Reimplemented from InvertibleTrapdoorFunction.

Definition at line 186 of file rsa.cpp.

void InvertibleRSAFunction::DEREncode ( BufferedTransformation & bt ) const
 

Reimplemented from RSAFunction.

Definition at line 159 of file rsa.cpp.

const Integer & InvertibleRSAFunction::GetDecryptionExponent ( ) const [inline]
 

Definition at line 51 of file rsa.h.

const Integer & InvertibleRSAFunction::GetPrime1 ( ) const [inline]
 

Definition at line 49 of file rsa.h.

const Integer & InvertibleRSAFunction::GetPrime2 ( ) const [inline]
 

Definition at line 50 of file rsa.h.


Member Data Documentation

Integer InvertibleRSAFunction::d [protected]
 

Definition at line 54 of file rsa.h.

Integer InvertibleRSAFunction::dp [protected]
 

Definition at line 54 of file rsa.h.

Integer InvertibleRSAFunction::dq [protected]
 

Definition at line 54 of file rsa.h.

Integer InvertibleRSAFunction::p [protected]
 

Definition at line 54 of file rsa.h.

Integer InvertibleRSAFunction::q [protected]
 

Definition at line 54 of file rsa.h.

Integer InvertibleRSAFunction::u [protected]
 

Definition at line 54 of file rsa.h.


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