aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509cert.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-05 16:22:07 -0500
committerJack Lloyd <[email protected]>2018-03-05 16:22:07 -0500
commit65d81676334a80829ab756725873ed62dc852c6b (patch)
tree0f46600287366a6f3055d1f2721cfdc12eb8663e /src/lib/x509/x509cert.h
parent22ca08fca54ea9f3ae5691bb3e4e3625b7441b5d (diff)
Add X509_Certificate::subject_public_key_info
Fixes #277
Diffstat (limited to 'src/lib/x509/x509cert.h')
-rw-r--r--src/lib/x509/x509cert.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/x509/x509cert.h b/src/lib/x509/x509cert.h
index 637efd569..34be10e68 100644
--- a/src/lib/x509/x509cert.h
+++ b/src/lib/x509/x509cert.h
@@ -70,6 +70,12 @@ class BOTAN_PUBLIC_API(2,0) X509_Certificate : public X509_Object
const std::vector<uint8_t>& subject_public_key_bits() const;
/**
+ * Get the SubjectPublicKeyInfo associated with this certificate.
+ * @return subject public key info of this certificate
+ */
+ const std::vector<uint8_t>& subject_public_key_info() const;
+
+ /**
* Return the algorithm identifier of the public key
*/
const AlgorithmIdentifier& subject_public_key_algo() const;