diff options
author | lloyd <[email protected]> | 2010-03-08 14:28:14 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-08 14:28:14 +0000 |
commit | ea38a42c2cfbc3a6235b11637b382589676c6286 (patch) | |
tree | 918b28ec50e98612e2c055e28368f7397b96f79c /src/pubkey/pk_ops.h | |
parent | 3900bd1e5a9974eea4faee4a8159380ea67c6251 (diff) |
Remove the now no-op classes PK_Encrypting_Key,
PK_Decrypting_Key, PK_Signing_Key, PK_Verifying_with_MR_Key, and
PK_Verifying_wo_MR_Key.
Diffstat (limited to 'src/pubkey/pk_ops.h')
-rw-r--r-- | src/pubkey/pk_ops.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pubkey/pk_ops.h b/src/pubkey/pk_ops.h index 3f04b52dc..bf846d69f 100644 --- a/src/pubkey/pk_ops.h +++ b/src/pubkey/pk_ops.h @@ -106,8 +106,8 @@ class BOTAN_DLL Verification * @param sig_len the length of sig in bytes * @returns if signature is a valid one for message */ - virtual bool verify(const byte msg[], u32bit msg_len, - const byte sig[], u32bit sig_len) const + virtual bool verify(const byte[], u32bit, + const byte[], u32bit) const { throw Invalid_State("Message recovery required"); } @@ -119,8 +119,8 @@ class BOTAN_DLL Verification * @param msg_len the length of msg in bytes * @returns recovered message */ - virtual SecureVector<byte> verify_mr(const byte msg[], - u32bit msg_len) const + virtual SecureVector<byte> verify_mr(const byte[], + u32bit) const { throw Invalid_State("Message recovery not supported"); } |