mbedtls_oid_get_attr_short_name() function
Translate an X.509 attribute type OID into the short name (e.g. the OID for an X520 Common Name into "CN")
Arguments
short_name
place to store the string pointer
Return value
0 if successful, or MBEDTLS_ERR_OID_NOT_FOUND