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


Public Methods | |
| VarRSAPublicKey (const RSAPublicKey &aKey) | |
| Constructor taking a reference to an RSAPublicKey. | |
| virtual | ~VarRSAPublicKey () |
| Destructor. | |
| const CODEX_ASN1::BigNumber & | n () const |
| |
| const CODEX_ASN1::BigNumber & | e () const |
| |
| VarRSACipherText * | encrypt (const BIGNUM *message, const HashFunction &hashFunc, BIGNUM *r=0) const |
| Encrypt a message. | |
| bool | verifySignature (const VarRSASignature &signature, const BIGNUM *message) const |
| Verify the signature for a message. | |
Definition at line 249 of file VarRSA.h.
|
||||||||||||||||
|
Encrypt a message.
Definition at line 34 of file VarRSAPublicKey.cc. References CODEX_Ciphers::BIGNUM_xor(), CODEX_ASN1::BigNumber::marshal(), and n(). Referenced by CODEX_Client::Client::writeKey(). |
|
||||||||||||
|
Verify the signature for a message.
Definition at line 300 of file VarRSA.h. References CODEX_Ciphers::RSAPublicKey::verifySignature(). |
1.2.18