summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMassimiliano Pala <director@openca.org>2018-02-19 15:47:02 -0500
committerRich Salz <rsalz@openssl.org>2018-02-19 15:47:02 -0500
commitb383aa2081467e8d49c3362d295da7bd5cb4e1d8 (patch)
tree7d0d94682a592749303e41914413cc4ec75a28d7 /include
parent5f7470df83cb179f793026a5950c1446866c9cab (diff)
Add X509_get0_authority_key_id() function
This function makes it easier to retrieve a reference to the authority key identifier (akid->keyid) inside a certificate. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5271)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/x509v3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/x509v3.h b/include/openssl/x509v3.h
index 94f5561341..fe1791c681 100644
--- a/include/openssl/x509v3.h
+++ b/include/openssl/x509v3.h
@@ -660,6 +660,7 @@ uint32_t X509_get_extension_flags(X509 *x);
uint32_t X509_get_key_usage(X509 *x);
uint32_t X509_get_extended_key_usage(X509 *x);
const ASN1_OCTET_STRING *X509_get0_subject_key_id(X509 *x);
+const ASN1_OCTET_STRING *X509_get0_authority_key_id(X509 *x);
int X509_PURPOSE_get_count(void);
X509_PURPOSE *X509_PURPOSE_get0(int idx);