- Added support for wildcard certificates

- Added support for multi-domain certificates through the X509 Subject Alternative Name extension
This commit is contained in:
Paul Bakker 2012-02-11 16:09:32 +00:00
parent fab5c829e7
commit a8cd239d6b
18 changed files with 1005 additions and 7 deletions

View file

@ -300,6 +300,7 @@ typedef struct _x509_cert
x509_buf issuer_id; /**< Optional X.509 v2/v3 issuer unique identifier. */
x509_buf subject_id; /**< Optional X.509 v2/v3 subject unique identifier. */
x509_buf v3_ext; /**< Optional X.509 v3 extensions. Only Basic Contraints are supported at this time. */
x509_sequence subject_alt_names; /**< Optional list of Subject Alternative Names (Only dNSName supported). */
int ext_types; /**< Bit string containing detected and parsed extensions */
int ca_istrue; /**< Optional Basic Constraint extension value: 1 if this certificate belongs to a CA, 0 otherwise. */