aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509_ca.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-27 15:48:00 -0500
committerJack Lloyd <[email protected]>2017-09-19 22:30:41 -0400
commit12c4dfec24e999ab80ff3a45e0b837976d4c390c (patch)
tree7de91a2b86aec055800b8e046729fcc10a31d6d8 /src/lib/x509/x509_ca.h
parent0c6c4e058109791a9f17971ca782dc10af3eb9bc (diff)
Add API stability annotations.
Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols.
Diffstat (limited to 'src/lib/x509/x509_ca.h')
-rw-r--r--src/lib/x509/x509_ca.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/x509/x509_ca.h b/src/lib/x509/x509_ca.h
index bc4b3a506..f9fd34d09 100644
--- a/src/lib/x509/x509_ca.h
+++ b/src/lib/x509/x509_ca.h
@@ -24,7 +24,7 @@ class PK_Signer;
/**
* This class represents X.509 Certificate Authorities (CAs).
*/
-class BOTAN_DLL X509_CA
+class BOTAN_PUBLIC_API(2,0) X509_CA
{
public:
/**
@@ -136,7 +136,7 @@ class BOTAN_DLL X509_CA
* @param alg_id will be set to the chosen scheme
* @return A PK_Signer object for generating signatures
*/
-BOTAN_DLL PK_Signer* choose_sig_format(const Private_Key& key,
+BOTAN_PUBLIC_API(2,0) PK_Signer* choose_sig_format(const Private_Key& key,
RandomNumberGenerator& rng,
const std::string& hash_fn,
AlgorithmIdentifier& alg_id);