New members in x509DNattributes_t structure - The Distinguished Name attributes in X.509 certificates such as Common Name, Organization, and Country are now accompanied by the explicit ASN.1 data type and length. Previous versions of MatrixSSL attempted to treat these fields as NULL terminated strings using single byte characters. In order to support a larger variety of certificate formats the Type and Len fields have been added so the user will have all the needed information to interpret certificate information that is passed into the certificate callback routine.
New x509DNattributes_t members:
short countryType;
short countryLen;
short stateType;
short stateLen;
short localityType;
short localityLen;
short organizationType;
short organizationLen;
short orgUnitType;
short orgUnitLen;
short commonNameType;
short commonNameLen;
Type members will be one of the following:
ASN_PRINTABLESTRING
ASN_UTF8STRING
ASN_IA5STRING
ASN_T61STRING
ASN_BMPSTRING