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

RWFunction Class Template Reference

. More...

#include <rw.h>

Inheritance diagram for RWFunction:

TrapdoorFunction InvertibleRWFunction List of all members.

Public Methods

 RWFunction (const Integer &n)
 RWFunction (BufferedTransformation &bt)
void DEREncode (BufferedTransformation &bt)const
 ~RWFunction ()
Integer ApplyFunction (const Integer &x)const
Integer PreimageBound ()const
Integer ImageBound ()const
const IntegerGetModulus ()const

Protected Methods

 RWFunction ()

Protected Attributes

Integer n

Detailed Description

template<word r> class RWFunction

.

Definition at line 70 of file rw.h.


Constructor & Destructor Documentation

template<word r>
RWFunction< r >::RWFunction<r> ( const Integer & n )
 

Definition at line 70 of file rw.cpp.

template<word r>
RWFunction< r >::RWFunction<r> ( BufferedTransformation & bt )
 

Definition at line 76 of file rw.cpp.

template<word r>
RWFunction< r >::~RWFunction<r> ( )
 

Definition at line 84 of file rw.cpp.

template<word r>
RWFunction<r>::RWFunction<r> ( ) [inline, protected]
 

Definition at line 85 of file rw.h.


Member Function Documentation

template<word r>
Integer RWFunction< r >::ApplyFunction ( const Integer & in ) const [virtual]
 

Reimplemented from TrapdoorFunction.

Definition at line 97 of file rw.cpp.

template<word r>
void RWFunction< r >::DEREncode ( BufferedTransformation & bt ) const
 

Definition at line 89 of file rw.cpp.

template<word r>
const Integer & RWFunction<r>::GetModulus ( ) const [inline]
 

Definition at line 82 of file rw.h.

template<word r>
Integer RWFunction<r>::ImageBound ( ) const [inline, virtual]
 

Reimplemented from TrapdoorFunction.

Definition at line 80 of file rw.h.

template<word r>
Integer RWFunction<r>::PreimageBound ( ) const [inline, virtual]
 

Reimplemented from TrapdoorFunction.

Definition at line 79 of file rw.h.


Member Data Documentation

template<word r>
Integer RWFunction<r>::n [protected]
 

Definition at line 86 of file rw.h.


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