summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-07-31 17:02:45 +0200
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-08-01 12:13:37 +0200
commit74b9ce2d84a5feb36e391fc179fef16a058665e2 (patch)
tree1b146fd6d69ea67354b3e2c9c0790e6d549c2aad /include
parent77fa495f7f7cc2368c8c799e657e173a29a90a49 (diff)
Add missing accessors for X509 AuthorityKeyIdentifier
Complements commit b383aa208146, which added X509_get0_authority_key_id(). const ASN1_OCTET_STRING *X509_get0_authority_key_id(X509 *x); const GENERAL_NAMES *X509_get0_authority_issuer(X509 *x); [NEW] const ASN1_INTEGER *X509_get0_authority_serial(X509 *x); [NEW] Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9494)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/x509v3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/x509v3.h b/include/openssl/x509v3.h
index 9ea20275ac..6c6eca38a5 100644
--- a/include/openssl/x509v3.h
+++ b/include/openssl/x509v3.h
@@ -661,6 +661,8 @@ 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);
+const GENERAL_NAMES *X509_get0_authority_issuer(X509 *x);
+const ASN1_INTEGER *X509_get0_authority_serial(X509 *x);
int X509_PURPOSE_get_count(void);
X509_PURPOSE *X509_PURPOSE_get0(int idx);