Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

CODEX_Ciphers::RSACipherText Class Reference

Serializable encapsulation of an RSA ciphertext. More...

#include <RSA.h>

Inheritance diagram for CODEX_Ciphers::RSACipherText:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Ciphers::RSACipherText:

Collaboration graph
[legend]
List of all members.

Public Methods

 RSACipherText ()
 Default constructor, for creating an object to be unmarshalled.

 RSACipherText (BIGNUM *c)
 Constructor taking ciphertext as a BIGNUM.

 RSACipherText (const CODEX_ASN1::BigNumber &c)
 Constructor taking ciphertext as a BigNumber. Also a copy con.

virtual ~RSACipherText ()
 Destructor.

RSACipherText * blind (const RSACipherText &aOther, const CODEX_ASN1::BigNumber &modulus) const
 Blind a ciphertext.


Detailed Description

Serializable encapsulation of an RSA ciphertext.

This is just an extension of CODEX_ASN1::BigNumber.

Definition at line 33 of file RSA.h.


Member Function Documentation

RSACipherText * RSACipherText::blind const RSACipherText &    aOther,
const CODEX_ASN1::BigNumber   modulus
const
 

Blind a ciphertext.

Parameters:
aOther  Another ciphertext
modulus  The modulus for the group in which ciphertexts live
Returns:
A pointer to a new ciphertext which is the product of the current ciphertext and the one passed in.

Definition at line 24 of file RSACipherText.cc.

References RSACipherText(), and CODEX_ASN1::BigNumber::value().


The documentation for this class was generated from the following files:
Generated on Wed Jun 2 16:33:04 2004 for COrnell Data EXchange (CODEX) by doxygen1.2.18