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/x509_key.h'

#
#
# patch "include/x509_key.h"
#  from [4f2af4aada2e273088dcec3bb988dcca3d900d16]
#    to [5a679997d1530382c7efe4c6e968491f5b867fd3]
#
============================================================
--- include/x509_key.h	4f2af4aada2e273088dcec3bb988dcca3d900d16
+++ include/x509_key.h	5a679997d1530382c7efe4c6e968491f5b867fd3
@@ -1,6 +1,6 @@
 /*************************************************
 * X.509 Public Key Header File                   *
-* (C) 1999-2006 The Botan Project                *
+* (C) 1999-2007 Jack Lloyd                       *
 *************************************************/

 #ifndef BOTAN_X509_PUBLIC_KEY_H__
@@ -9,13 +9,14 @@
 #include <botan/pipe.h>
 #include <botan/pk_keys.h>
 #include <botan/alg_id.h>
+#include <botan/enums.h>

 namespace Botan {

 /*************************************************
 * X.509 Public Key Encoder                       *
 *************************************************/
-class X509_Encoder
+class BOTAN_DLL X509_Encoder
    {
    public:
       virtual AlgorithmIdentifier alg_id() const = 0;
@@ -26,7 +27,7 @@ class X509_Encoder
 /*************************************************
 * X.509 Public Key Decoder                       *
 *************************************************/
-class X509_Decoder
+class BOTAN_DLL X509_Decoder
    {
    public:
       virtual void alg_id(const AlgorithmIdentifier&) = 0;
@@ -39,16 +40,16 @@ namespace X509 {
 /*************************************************
 * X.509 Public Key Encoding/Decoding             *
 *************************************************/
-void encode(const Public_Key&, Pipe&, X509_Encoding = PEM);
-std::string PEM_encode(const Public_Key&);
+BOTAN_DLL void encode(const Public_Key&, Pipe&, X509_Encoding = PEM);
+BOTAN_DLL std::string PEM_encode(const Public_Key&);

-Public_Key* load_key(DataSource&);
-Public_Key* load_key(const std::string&);
-Public_Key* load_key(const MemoryRegion<byte>&);
+BOTAN_DLL Public_Key* load_key(DataSource&);
+BOTAN_DLL Public_Key* load_key(const std::string&);
+BOTAN_DLL Public_Key* load_key(const MemoryRegion<byte>&);

-Public_Key* copy_key(const Public_Key&);
+BOTAN_DLL Public_Key* copy_key(const Public_Key&);

-Key_Constraints find_constraints(const Public_Key&, Key_Constraints);
+BOTAN_DLL Key_Constraints find_constraints(const Public_Key&, Key_Constraints);

 }