aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/include
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-08-31 12:16:52 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-08-31 20:58:33 +0100
commitbc3686dfb031445c5af9a256a46a57dc1277a190 (patch)
treeee855d41a83471a7664a8cd276eb3496801bf83c /crypto/include
parentd8c054f2dafbcc22dd8c38cd48ae45bb96dbd475 (diff)
downloadopenssl-bc3686dfb031445c5af9a256a46a57dc1277a190.tar.gz
make X509_CERT_AUX opaque
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/include')
-rw-r--r--crypto/include/internal/x509_int.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/crypto/include/internal/x509_int.h b/crypto/include/internal/x509_int.h
index 761f702e7f..644b27d405 100644
--- a/crypto/include/internal/x509_int.h
+++ b/crypto/include/internal/x509_int.h
@@ -75,3 +75,17 @@ struct X509_name_st {
unsigned char *canon_enc;
int canon_enclen;
} /* X509_NAME */ ;
+
+/*
+ * This stuff is certificate "auxiliary info" it contains details which are
+ * useful in certificate stores and databases. When used this is tagged onto
+ * the end of the certificate itself
+ */
+
+struct x509_cert_aux_st {
+ STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */
+ STACK_OF(ASN1_OBJECT) *reject; /* rejected uses */
+ ASN1_UTF8STRING *alias; /* "friendly name" */
+ ASN1_OCTET_STRING *keyid; /* key id of private key */
+ STACK_OF(X509_ALGOR) *other; /* other unspecified info */
+};