#include <TranslationCertificate.h>
Inheritance diagram for CODEX_Ciphers::TranslationCertificate:


Public Member Functions | |
| TranslationCertificate () | |
| Default constructor, for creating an object to be unmarshalled. | |
| TranslationCertificate (const ElGamalPublicKey &pubKeyRecipient, const ElGamalPrivateKey &privKeyCreator, const CODEX_ASN1::BigNumber &h, const BIGNUM *k, const ElGamalCipherText &cipherTextCreator, const HashFunction &hashFunc) | |
| Create a TranslationCertificate from ElGamalCipherText%s and keys. | |
| TranslationCertificate (const CODEX_ASN1::BigNumber &z1bar, const CODEX_ASN1::BigNumber &z2bar, const CODEX_ASN1::BigNumber &G, const CODEX_ASN1::BigNumber &H, const CODEX_ASN1::BigNumber &delta, const CODEX_ASN1::BigNumber &F, const CODEX_ASN1::BigNumber &M, const CODEX_ASN1::BigNumber &d1, const CODEX_ASN1::BigNumber &d2) | |
| Create a TranslationCertificate from the basic components. | |
| TranslationCertificate (const TranslationCertificate &aCert) | |
| Create a TranslationCertificate from another one. | |
| virtual | ~TranslationCertificate () |
| Virtual Destructor. | |
| void | operator= (const TranslationCertificate &aCert) |
| Assignment operator. | |
| const CODEX_ASN1::BigNumber & | z1bar () const |
| z1= | |
| const CODEX_ASN1::BigNumber & | z2bar () const |
| z2= | |
| const CODEX_ASN1::BigNumber & | G () const |
| G. | |
| const CODEX_ASN1::BigNumber & | H () const |
| H. | |
| const CODEX_ASN1::BigNumber & | delta () const |
| delta | |
| const CODEX_ASN1::BigNumber & | F () const |
| F. | |
| const CODEX_ASN1::BigNumber & | M () const |
| M. | |
| const CODEX_ASN1::BigNumber & | d1 () const |
| d1 | |
| const CODEX_ASN1::BigNumber & | d2 () const |
| d2 | |
| bool | verify (const CODEX_ASN1::BigNumber &yCreator, const ElGamalPublicKey &pubKeyRecipient, const ElGamalCipherText &cipherTextCreator, const ElGamalCipherText &cipherTextRecipient, const CODEX_ASN1::BigNumber &h, const HashFunction &hashFunc) const |
| Verify the translation certificate. | |
| 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? | |
Definition at line 51 of file TranslationCertificate.h.
|
||||||||||||||||||||||||||||
|
Create a TranslationCertificate from ElGamalCipherText%s and keys. This is a very computation-intensive constructor.
Definition at line 30 of file TranslationCertificate.cc. References CODEX_ASN1::BigNumber::marshal(). |
|
|
||||||||||||||||||||||||||||
|
Verify the translation certificate.
Definition at line 497 of file TranslationCertificate.cc. References CODEX_ASN1::BigNumber::marshal(), and CODEX_ASN1::BigNumber::value(). |
1.4.1