The unified diff between revisions [92f17752..] and [48b49b84..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'include/pubkey.h'
#
#
# patch "include/pubkey.h"
# from [e78803dd6f07ef25fdf132520472cdd70dd5dd48]
# to [71ef0bd35dfe81ebaf664951498d28e5baff138c]
#
============================================================
--- include/pubkey.h e78803dd6f07ef25fdf132520472cdd70dd5dd48
+++ include/pubkey.h 71ef0bd35dfe81ebaf664951498d28e5baff138c
@@ -1,6 +1,6 @@
/*************************************************
* Public Key Interface Header File *
-* (C) 1999-2006 The Botan Project *
+* (C) 1999-2007 Jack Lloyd *
*************************************************/
#ifndef BOTAN_PUBKEY_H__
@@ -12,10 +12,12 @@ namespace Botan {
namespace Botan {
+enum Signature_Format { IEEE_1363, DER_SEQUENCE };
+
/*************************************************
* Public Key Encryptor *
*************************************************/
-class PK_Encryptor
+class BOTAN_DLL PK_Encryptor
{
public:
SecureVector<byte> encrypt(const byte[], u32bit) const;
@@ -29,7 +31,7 @@ class PK_Encryptor
/*************************************************
* Public Key Decryptor *
*************************************************/
-class PK_Decryptor
+class BOTAN_DLL PK_Decryptor
{
public:
SecureVector<byte> decrypt(const byte[], u32bit) const;
@@ -42,7 +44,7 @@ class PK_Decryptor
/*************************************************
* Public Key Signer *
*************************************************/
-class PK_Signer
+class BOTAN_DLL PK_Signer
{
public:
SecureVector<byte> sign_message(const byte[], u32bit);
@@ -67,7 +69,7 @@ class PK_Signer
/*************************************************
* Public Key Verifier *
*************************************************/
-class PK_Verifier
+class BOTAN_DLL PK_Verifier
{
public:
bool verify_message(const byte[], u32bit, const byte[], u32bit);
@@ -98,7 +100,7 @@ class PK_Verifier
/*************************************************
* Key Agreement *
*************************************************/
-class PK_Key_Agreement
+class BOTAN_DLL PK_Key_Agreement
{
public:
SymmetricKey derive_key(u32bit, const byte[], u32bit,
@@ -115,7 +117,7 @@ class PK_Key_Agreement
/*************************************************
* Encryption with an MR algorithm and an EME *
*************************************************/
-class PK_Encryptor_MR_with_EME : public PK_Encryptor
+class BOTAN_DLL PK_Encryptor_MR_with_EME : public PK_Encryptor
{
public:
u32bit maximum_input_size() const;
@@ -130,7 +132,7 @@ class PK_Encryptor_MR_with_EME : public
/*************************************************
* Decryption with an MR algorithm and an EME *
*************************************************/
-class PK_Decryptor_MR_with_EME : public PK_Decryptor
+class BOTAN_DLL PK_Decryptor_MR_with_EME : public PK_Decryptor
{
public:
PK_Decryptor_MR_with_EME(const PK_Decrypting_Key&, const std::string&);
@@ -144,7 +146,7 @@ class PK_Decryptor_MR_with_EME : public
/*************************************************
* Public Key Verifier with Message Recovery *
*************************************************/
-class PK_Verifier_with_MR : public PK_Verifier
+class BOTAN_DLL PK_Verifier_with_MR : public PK_Verifier
{
public:
PK_Verifier_with_MR(const PK_Verifying_with_MR_Key&, const std::string&);
@@ -159,7 +161,7 @@ class PK_Verifier_with_MR : public PK_Ve
/*************************************************
* Public Key Verifier without Message Recovery *
*************************************************/
-class PK_Verifier_wo_MR : public PK_Verifier
+class BOTAN_DLL PK_Verifier_wo_MR : public PK_Verifier
{
public:
PK_Verifier_wo_MR(const PK_Verifying_wo_MR_Key&, const std::string&);