summaryrefslogtreecommitdiff
path: root/cryptlib.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-09-28 16:09:06 -0400
committerJeffrey Walton <noloader@gmail.com>2019-09-28 16:09:06 -0400
commita20f725438b11c710622585a906a81532a982a13 (patch)
tree63972567a23fad9d85d43cab9879fd49e8bf75a9 /cryptlib.h
parent1d27ad529d252a0e4bc3a7a5b7991b067b5f9df3 (diff)
downloadcryptopp-git-a20f725438b11c710622585a906a81532a982a13.tar.gz
Add Certificate interface (GH #884)
The Certificate interface will allow the library or third parties to add concrete classes like X509Certificate with expected library support or integration
Diffstat (limited to 'cryptlib.h')
-rw-r--r--cryptlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cryptlib.h b/cryptlib.h
index 426b3287..96e99181 100644
--- a/cryptlib.h
+++ b/cryptlib.h
@@ -2516,6 +2516,11 @@ class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE CryptoParameters : public GeneratableCrypt
{
};
+/// \brief Interface for certificates
+class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE Certificate : virtual public CryptoMaterial
+{
+};
+
/// \brief Interface for asymmetric algorithms
/// \details BERDecode() and DEREncode() were removed under Issue 569
/// and Commit 9b174e84de7a. Programs should use <tt>AccessMaterial().Load(bt)</tt>