X500AttributeTypeAndValue
@Serializable
As per RFC5280:
AttributeTypeAndValue ::= SEQUENCE {
type AttributeType,
value AttributeValue }
AttributeType ::= OBJECT IDENTIFIER
AttributeValue ::= ANY -- DEFINED BY AttributeType
DirectoryString ::= CHOICE {
teletexString TeletexString (SIZE (1..MAX)),
printableString PrintableString (SIZE (1..MAX)),
universalString UniversalString (SIZE (1..MAX)),
utf8String UTF8String (SIZE (1..MAX)),
bmpString BMPString (SIZE (1..MAX)) }Content copied to clipboard
The Name describes a hierarchical name composed of attribute types, such as "country name", and corresponding values, such as "US". The type of the component AttributeValue is determined by the AttributeType; in general it will be a DirectoryString.