RSAFunction Class Reference

_ More...

#include <rsa.h>

Inheritance diagram for RSAFunction:

TrapdoorFunction X509PublicKey RandomizedTrapdoorFunction ASN1CryptoMaterial< PublicKey > TrapdoorFunctionBounds ASN1Object InvertibleRSAFunction

List of all members.

Public Member Functions

void Initialize (const Integer &n, const Integer &e)
OID GetAlgorithmID () const
void BERDecodePublicKey (BufferedTransformation &bt, bool parametersPresent, size_t size)
 decode subjectPublicKey part of subjectPublicKeyInfo, without the BIT STRING header
void DEREncodePublicKey (BufferedTransformation &bt) const
 encode subjectPublicKey part of subjectPublicKeyInfo, without the BIT STRING header
bool Validate (RandomNumberGenerator &rng, unsigned int level) const
bool GetVoidValue (const char *name, const std::type_info &valueType, void *pValue) const
void AssignFrom (const NameValuePairs &source)
Integer ApplyFunction (const Integer &x) const
Integer PreimageBound () const
Integer ImageBound () const
const IntegerGetModulus () const
const IntegerGetPublicExponent () const
void SetModulus (const Integer &n)
void SetPublicExponent (const Integer &e)
Integer ApplyRandomizedFunction (RandomNumberGenerator &rng, const Integer &x) const
bool IsRandomized () const
virtual Integer MaxPreimage () const
virtual Integer MaxImage () const
void BERDecode (BufferedTransformation &bt)
 decode this object from a BufferedTransformation, using BER (Basic Encoding Rules)
void DEREncode (BufferedTransformation &bt) const
 encode this object into a BufferedTransformation, using DER (Distinguished Encoding Rules)
virtual bool BERDecodeAlgorithmParameters (BufferedTransformation &bt)
virtual bool DEREncodeAlgorithmParameters (BufferedTransformation &bt) const
void Save (BufferedTransformation &bt) const
void Load (BufferedTransformation &bt)
virtual void BEREncode (BufferedTransformation &bt) const
 encode this object into a BufferedTransformation, using BER

Protected Attributes

Integer m_n
Integer m_e


Detailed Description

_

Definition at line 18 of file rsa.h.


Member Function Documentation

virtual void ASN1Object::BEREncode ( BufferedTransformation bt  )  const [inline, virtual, inherited]

encode this object into a BufferedTransformation, using BER

this may be useful if DEREncode() would be too inefficient

Definition at line 1597 of file cryptlib.h.


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

Generated on Mon Oct 27 02:45:13 2008 for Crypto++ by  doxygen 1.5.7.1