1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Support for serialNumber, postalAddress and postalCode in X509 names

This commit is contained in:
Paul Bakker
2013-10-29 14:24:37 +01:00
parent fa6a620b75
commit 7b0be68977
4 changed files with 33 additions and 7 deletions

View File

@ -183,6 +183,18 @@ static const oid_x520_attr_t oid_x520_attr_type[] =
{ ADD_LEN( OID_PKCS9_EMAIL ), "emailAddress", "E-mail address" },
"emailAddress",
},
{
{ ADD_LEN( OID_AT_SERIAL_NUMBER ),"id-at-serialNumber", "Serial number" },
"serialNumber",
},
{
{ ADD_LEN( OID_AT_POSTAL_ADDRESS ),"id-at-postalAddress", "Postal address" },
"postalAddress",
},
{
{ ADD_LEN( OID_AT_POSTAL_CODE ), "id-at-postalCode", "Postal code" },
"postalCode",
},
{
{ NULL, 0, NULL, NULL },
NULL,