#include <VarRSA.h>
Inheritance diagram for CODEX_Ciphers::VarRSABlindPlainText:


Public Member Functions | |
| VarRSABlindPlainText () | |
| Default constructor, for creating an object to be unmarshalled. | |
| VarRSABlindPlainText (BIGNUM *b1, BIGNUM *b2) | |
| Constructor taking plaintext as a BIGNUMs. | |
| VarRSABlindPlainText (const CODEX_ASN1::BigNumber &b1, const CODEX_ASN1::BigNumber &b2) | |
| Constructor taking plaintext as BigNumber%s. | |
| VarRSABlindPlainText (const VarRSABlindPlainText &aOther) | |
| Copy constructor. | |
| virtual | ~VarRSABlindPlainText () |
| Destructor. | |
| void | operator= (const VarRSABlindPlainText &aOther) |
| Assignment operator. | |
| const CODEX_ASN1::BigNumber & | b1 () const |
| const CODEX_ASN1::BigNumber & | b2 () const |
| BIGNUM * | unblind (const BIGNUM *b, const CODEX_ASN1::BigNumber &modulus, const HashFunction &hashFunc) const |
| Unblind a blind plaintext. | |
| int | marshal (unsigned char **pp) const |
| Serialize the object. | |
| void * | unmarshal (void *bogus, unsigned char **pp, long length) |
| Unserialize the object. | |
| bool | initialized () const |
Protected Attributes | |
| bool | m_initialized |
| Has this object been initialized yet, or is it still blank? | |
This is a two-part plaintext, where the first part is r*b and the second H(r) XOR m for a blinding factor b, message m, and hash function H.
Definition at line 181 of file VarRSA.h.
|
|
Definition at line 218 of file VarRSA.h. Referenced by CODEX_KeyService::DelegateResponseVerifier::handler(), and VarRSABlindPlainText(). |
|
|
Definition at line 223 of file VarRSA.h. Referenced by CODEX_KeyService::DelegateResponseVerifier::handler(), and VarRSABlindPlainText(). |
|
|
||||||||||||||||
|
Unblind a blind plaintext.
Definition at line 33 of file VarRSABlindPlainText.cc. References CODEX_Ciphers::BIGNUM_xor(), CODEX_ASN1::BigNumber::marshal(), and CODEX_ASN1::BigNumber::value(). |
1.4.1