X509GeneralName
The RFC 5280 GeneralName CHOICE.
Closed alternatives are decoded as strict typed values. The open otherName arm delegates its payload to an OID-selected X509GeneralName.Other.SemanticValue implementation.
In general, if the tag matches and the ASN1 element type is correct, it will leniently decode where this makes sense, such as X509GeneralName.Rfc822, or other string-based ones.
Inheritors
Types
The explicitly tagged directoryName GeneralName alternative. Trying to parse a structurally malformed input will fail.
Will be parsed leniently: Any valid ASN.1 String type will initially decode; validation is deferred to the getter of value.
Trying to parse a structurally malformed input will fail.
Will be parsed leniently: Any valid ASN.1 OCTET STRING will initially decode; validation is deferred to the getter of value.
The [0] GeneralName arm containing an open SemanticValue value. Trying to parse a structurally malformed input will fail.
Trying to parse a structurally malformed input will fail.
Will be parsed leniently: Any valid ASN.1 String type will initially decode; validation is deferred to the getter of value.
Will be parsed leniently: Any valid ASN.1 String type will initially decode; validation is deferred to the getter of value.
Trying to parse a structurally malformed input will fail.