4.3 General Name Type Extensions

The following general name type values specify which encoding format is used to encode the general name:

Value

Name

Description

0x0000

X509_GENERAL_NAME_OTHER_NAME

The name is encoded as an OtherName type of GeneralName as specified in RFC 2459.

0x0001

X509_GENERAL_NAME_RFC822_NAME

The name is encoded as an IA5String type of GeneralName as specified in RFC 2459.

0x0002

X509_GENERAL_NAME_DNS_NAME

The name is encoded as an ORAddress type of GeneralName as specified in RFC 2459.

0x0003

X509_GENERAL_X400_ADDRESS

The name is encoded as an IA5String type of GeneralName as specified in RFC 2459.

0x0004

X509_GENERAL_NAME_DIRECTORY_NAME

The name is encoded as a Name type of GeneralName as specified in RFC 2459.

0x0005

X509_GENERAL_NAME_EDI_PARTY_NAME

The name is encoded as an EDIPartyName type of GeneralName as specified in RFC 2459

0x0006

X509_GENERAL_NAME_UNIFORM_RESOURCE_IDENTIFIER

The name is encoded as an IA5String type of GeneralName as specified in RFC 2459.

0x0007

X509_GENERAL_NAME_IP_ADDRESS

The name is encoded as n OCTECT STRING type of GeneralName in "network byte order" as specified by ASN.1, RFC 2459 and RFC 791.

0x0008

X509_GENERAL_NAME_REGISTERED_ID

The name is encoded as an OBJECT IDENTIFIER type of GeneralName as specified in ASN.1. and RFC 2459.