aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/rw
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/rw')
-rw-r--r--src/pubkey/rw/rw.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/pubkey/rw/rw.h b/src/pubkey/rw/rw.h
index 900e5ebda..ecc29ed6c 100644
--- a/src/pubkey/rw/rw.h
+++ b/src/pubkey/rw/rw.h
@@ -23,9 +23,13 @@ class BOTAN_DLL RW_PublicKey : public PK_Verifying_with_MR_Key,
SecureVector<byte> verify(const byte[], u32bit) const;
- RW_PublicKey() {}
- RW_PublicKey(const BigInt&, const BigInt&);
+ RW_PublicKey(const AlgorithmIdentifier& alg_id,
+ const MemoryRegion<byte>& key_bits) :
+ IF_Scheme_PublicKey(alg_id, key_bits) { X509_load_hook(); }
+
+ RW_PublicKey(const BigInt& mod, const BigInt& exponent);
protected:
+ RW_PublicKey() {}
BigInt public_op(const BigInt&) const;
};