X500Principal.getEncoded

Returns the distinguished name in ASN.1 DER encoded form. The ASN.1 notation for this structure is supplied in the documentation for {@link #X500Principal(byte[] name) X500Principal(byte[] name)}.

<p>Note that the byte array returned is cloned to protect against subsequent modifications.

@return a byte array containing the distinguished name in ASN.1 DER encoded form

class X500Principal
byte[]
getEncoded
()

Meta