VirtualBox

Ignore:
Timestamp:
Mar 30, 2017 7:42:21 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
114286
Message:

IPRT/x509-core.cpp: More RDN name mappings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/x509-core.cpp

    r64883 r66350  
    691691 * Mapping between X.500 object IDs and short and long names.
    692692 *
    693  * See RFC-1327, ...
     693 * See RFC-1327, RFC-4519 ...
    694694 */
    695695static struct
     
    703703    {   "0.9.2342.19200300.100.1.3",  RT_STR_TUPLE("Mail"),                 "Rfc822Mailbox" },
    704704    {   "0.9.2342.19200300.100.1.25", RT_STR_TUPLE("DC"),                   "DomainComponent" },
    705     {   "1.2.840.113549.1.9.1",       RT_STR_TUPLE("Email"),                "EmailAddress" },
     705    {   "1.2.840.113549.1.9.1",       RT_STR_TUPLE("Email") /*nonstandard*/,"EmailAddress" },
    706706    {   "2.5.4.3",                    RT_STR_TUPLE("CN"),                   "CommonName" },
    707     {   "2.5.4.4",                    RT_STR_TUPLE("S"),                    "Surname" },
     707    {   "2.5.4.4",                    RT_STR_TUPLE("SN"),                   "Surname" },
     708    {   "2.5.4.5",                    RT_STR_TUPLE("SRN") /*nonstandard*/,  "SerialNumber" },
    708709    {   "2.5.4.6",                    RT_STR_TUPLE("C"),                    "CountryName" },
    709710    {   "2.5.4.7",                    RT_STR_TUPLE("L"),                    "LocalityName" },
    710     {   "2.5.4.8",                    RT_STR_TUPLE("ST"),                   "StatOrProviceName" },
     711    {   "2.5.4.8",                    RT_STR_TUPLE("ST"),                   "StateOrProviceName" },
     712    {   "2.5.4.9",                    RT_STR_TUPLE("street"),               "Street" },
    711713    {   "2.5.4.10",                   RT_STR_TUPLE("O"),                    "OrganizationName" },
    712     {   "2.5.4.11",                   RT_STR_TUPLE("OU"),                   "OrganizationUnitName" },
    713     {   "2.5.4.42",                   RT_STR_TUPLE("G"),                    "GivenName" },
    714     {   "2.5.4.43",                   RT_STR_TUPLE("I"),                    "Initials" },
    715     {   "2.5.4.44",                   RT_STR_TUPLE("GQ"),                   "GenerationQualifier" },
     714    {   "2.5.4.11",                   RT_STR_TUPLE("OU"),                   "OrganizationalUnitName" },
     715    {   "2.5.4.12",                   RT_STR_TUPLE("title"),                "Title" },
     716    {   "2.5.4.13",                   RT_STR_TUPLE("desc"),                 "Description" },
     717    {   "2.5.4.15",                   RT_STR_TUPLE("BC") /*nonstandard*/,   "BusinessCategory" },
     718    {   "2.5.4.17",                   RT_STR_TUPLE("ZIP") /*nonstandard*/,  "PostalCode" },
     719    {   "2.5.4.18",                   RT_STR_TUPLE("POBox") /*nonstandard*/,"PostOfficeBox" },
     720    {   "2.5.4.20",                   RT_STR_TUPLE("PN") /*nonstandard*/,   "TelephoneNumber" },
     721    {   "2.5.4.33",                   RT_STR_TUPLE("RO") /*nonstandard*/,   "RoleOccupant" },
     722    {   "2.5.4.34",                   RT_STR_TUPLE("SA") /*nonstandard*/,   "StreetAddress" },
     723    {   "2.5.4.41",                   RT_STR_TUPLE("N") /*nonstandard*/,    "Name" },
     724    {   "2.5.4.42",                   RT_STR_TUPLE("GN"),                   "GivenName" },
     725    {   "2.5.4.43",                   RT_STR_TUPLE("I") /*nonstandard*/,    "Initials" },
     726    {   "2.5.4.44",                   RT_STR_TUPLE("GQ") /*nonstandard*/,   "GenerationQualifier" },
     727    {   "2.5.4.46",                   RT_STR_TUPLE("DNQ") /*nonstandard*/,  "DNQualifier" },
     728    {   "2.5.4.51",                   RT_STR_TUPLE("HID") /*nonstandard*/,  "HouseIdentifier" },
    716729};
    717730
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette