diff options
author | lloyd <[email protected]> | 2009-10-09 22:28:02 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-10-09 22:28:02 +0000 |
commit | 9db719642349bc37126dee4b2837d3bba022d734 (patch) | |
tree | d77b7f94dbba6b7852da7c3e075bcd548b74caaf /src/pubkey/rsa/rsa.h | |
parent | d970d9feb203e497f72f1e9b4dc095b1d7ca308f (diff) |
Reasonably functional RSA support; keygen, import/export, encrypt/decrypt, sign/verify
Diffstat (limited to 'src/pubkey/rsa/rsa.h')
-rw-r--r-- | src/pubkey/rsa/rsa.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pubkey/rsa/rsa.h b/src/pubkey/rsa/rsa.h index f07533a4f..0580fe8eb 100644 --- a/src/pubkey/rsa/rsa.h +++ b/src/pubkey/rsa/rsa.h @@ -28,7 +28,13 @@ class BOTAN_DLL RSA_PublicKey : public PK_Encrypting_Key, SecureVector<byte> verify(const byte[], u32bit) const; RSA_PublicKey() {} - RSA_PublicKey(const BigInt&, const BigInt&); + + /** + * Create a RSA_PublicKey + * @arg n the modulus + * @arg e the exponent + */ + RSA_PublicKey(const BigInt& n, const BigInt& e); protected: BigInt public_op(const BigInt&) const; }; |