aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509cert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/x509/x509cert.h')
-rw-r--r--src/lib/x509/x509cert.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/x509/x509cert.h b/src/lib/x509/x509cert.h
index c9cf8bb7b..3b35c6575 100644
--- a/src/lib/x509/x509cert.h
+++ b/src/lib/x509/x509cert.h
@@ -70,6 +70,11 @@ class BOTAN_PUBLIC_API(2,0) X509_Certificate : public X509_Object
const std::vector<uint8_t>& subject_public_key_bits() const;
/**
+ * Return the algorithm identifier of the public key
+ */
+ const AlgorithmIdentifier& subject_public_key_algo() const;
+
+ /**
* Get the bit string of the public key associated with this certificate
* @return public key bits
*/