diff options
Diffstat (limited to 'include/pubkey.h')
-rw-r--r-- | include/pubkey.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/pubkey.h b/include/pubkey.h index a5d332241..4890fe38d 100644 --- a/include/pubkey.h +++ b/include/pubkey.h @@ -51,14 +51,16 @@ class BOTAN_DLL PK_Decryptor class BOTAN_DLL PK_Signer { public: - SecureVector<byte> sign_message(const byte[], u32bit); - SecureVector<byte> sign_message(const MemoryRegion<byte>&); + SecureVector<byte> sign_message(const byte[], u32bit, + RandomNumberGenerator&); + SecureVector<byte> sign_message(const MemoryRegion<byte>&, + RandomNumberGenerator&); void update(byte); void update(const byte[], u32bit); void update(const MemoryRegion<byte>&); - SecureVector<byte> signature(); + SecureVector<byte> signature(RandomNumberGenerator&); void set_output_format(Signature_Format); |