mbedtls_x509_subject_alternative_name Struct Reference

A structure for holding the parsed Subject Alternative Name, according to type.

#include <x509_crt.h>

Data Fields

int type
The SAN type, value of MBEDTLS_X509_SAN_XXX.
union {
mbedtls_x509_san_other_name other_name
The otherName supported type.
mbedtls_x509_buf unstructured_name
The buffer for the un constructed types.
} san
A union of the supported SAN types.

A structure for holding the parsed Subject Alternative Name, according to type.

Future versions of the library may add new fields to this structure or to its embedded union and structure.

Field Documentation

type

int mbedtls_x509_subject_alternative_name::type

The SAN type, value of MBEDTLS_X509_SAN_XXX.

other_name

mbedtls_x509_san_other_name mbedtls_x509_subject_alternative_name::other_name

The otherName supported type.

unstructured_name

mbedtls_x509_buf mbedtls_x509_subject_alternative_name::unstructured_name

The buffer for the un constructed types.

Only dnsName currently supported

san

union { ... } mbedtls_x509_subject_alternative_name::san

A union of the supported SAN types.