aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk/keypair/keypair.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pk/keypair/keypair.h')
-rw-r--r--src/pk/keypair/keypair.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/pk/keypair/keypair.h b/src/pk/keypair/keypair.h
new file mode 100644
index 000000000..da322c075
--- /dev/null
+++ b/src/pk/keypair/keypair.h
@@ -0,0 +1,25 @@
+/*************************************************
+* Keypair Checks Header File *
+* (C) 1999-2007 Jack Lloyd *
+*************************************************/
+
+#ifndef BOTAN_KEYPAIR_H__
+#define BOTAN_KEYPAIR_H__
+
+#include <botan/look_pk.h>
+
+namespace Botan {
+
+namespace KeyPair {
+
+/*************************************************
+* Check key pair consistency *
+*************************************************/
+BOTAN_DLL void check_key(RandomNumberGenerator&, PK_Encryptor*, PK_Decryptor*);
+BOTAN_DLL void check_key(RandomNumberGenerator&, PK_Signer*, PK_Verifier*);
+
+}
+
+}
+
+#endif