X500Principal.this

Creates an {@code X500Principal} from a distinguished name in ASN.1 DER encoded form. The ASN.1 notation for this structure is as follows. <pre>{@code Name ::= CHOICE { RDNSequence }

RDNSequence ::= SEQUENCE OF RelativeDistinguishedName

RelativeDistinguishedName ::= SET SIZE (1 .. MAX) OF AttributeTypeAndValue

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)) } }</pre>

@param name a byte array containing the distinguished name in ASN.1 DER encoded form @throws IllegalArgumentException if an encoding error occurs (incorrect form for DN)

Meta