diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-04-17 23:55:39 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-04-17 23:55:39 +0000 |
commit | c83e523d7f0c095c0fe5851edd5d3c9355e34a3f (patch) | |
tree | 9c9f481483973bc1c8143cbda6d4747299d641e0 /crypto/x509v3/x509v3.h | |
parent | e778802f53c8d47e96a6e4cbc776eb6e1d4c461a (diff) |
Allow asn1parse to print out VISIBLESTRING and some code needed for certificate
policies extension.
Diffstat (limited to 'crypto/x509v3/x509v3.h')
-rw-r--r-- | crypto/x509v3/x509v3.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/crypto/x509v3/x509v3.h b/crypto/x509v3/x509v3.h index 63c8574220..d44aad7be4 100644 --- a/crypto/x509v3/x509v3.h +++ b/crypto/x509v3/x509v3.h @@ -197,6 +197,35 @@ typedef struct SXNET_st { STACK_OF(SXNETID) *ids; } SXNET; +typedef struct NOTICEREF_st { + ASN1_STRING *organization; + STACK *noticenos; +} NOTICEREF; + +typedef struct USERNOTICE_st { + NOTICEREF *notref; + ASN1_STRING *exptext; +} USERNOTICE; + +typedef struct POLICYQUALINFO_st { + ASN1_OBJECT *pqualid; + union { + ASN1_IA5STRING *cpsuri; + USERNOTICE *usernotice; + ASN1_TYPE *other; + } d; +} POLICYQUALINFO; + +DECLARE_STACK_OF(POLICYQUALINFO) + +typedef struct POLICYINFO_st { + ASN1_OBJECT *policyid; + STACK_OF(POLICYQUALINFO) qualifiers; +} POLICYINFO; + +DECLARE_STACK_OF(POLICYINFO); +DECLARE_ASN1_SET_OF(POLICYINFO); + #define X509V3_conf_err(val) ERR_add_error_data(6, "section:", val->section, \ ",name:", val->name, ",value:", val->value); |