Hi everybody,
I have the ASN.1 type:
GeneralName ::= CHOICE {
otherName [0] OtherName,
rfc822Name [1] IA5String,
dNSName [2] IA5String,
x400Address [3] ORAddress,
directoryName [4] Name,
ediPartyName [5] EDIPartyName,
uniformResourceIdentifier [6] IA5String,
iPAddress [7] OCTET STRING,
registeredID [8] OBJECT IDENTIFIER
}
I have printed the DER encoding string in hexa of an occurence of this type:
A0 33 A0 31 86 2F 68 74 74 70 73 3A 2F 2F 74 6F ...
I am not currently able to know what type is contained in this CHOICE since I can't retrieve the Tag value from it.
Someone know where is the Tag in the string above ?
I just can say that the substring "68 74 74 70 73 3A 2F 2F 74 6F ..." is a readeable string when it is converted to decimal format.
Any help is welcome.
Best regards,
Omar Tantaoui
