From 9db719642349bc37126dee4b2837d3bba022d734 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 9 Oct 2009 22:28:02 +0000 Subject: Reasonably functional RSA support; keygen, import/export, encrypt/decrypt, sign/verify --- src/pubkey/rsa/rsa.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/pubkey/rsa') 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 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; }; -- cgit v1.2.3