Class DistinguishedName

  • All Implemented Interfaces:
    org.xwiki.crypto.pkix.internal.BcPrincipalIdentifier, PrincipalIndentifier
    Direct Known Subclasses:
    X509DirectoryName

    public class DistinguishedName
    extends Object
    implements PrincipalIndentifier, org.xwiki.crypto.pkix.internal.BcPrincipalIdentifier
    Represent a Principal distinguished name.
    Since:
    5.4
    Version:
    $Id: 1a8587ed4df1eb600110a4acfcc6dfd66c7907bc $
    • Constructor Detail

      • DistinguishedName

        public DistinguishedName​(Object name)
        Create a new distinguished name.
        Parameters:
        name - the DN name like in "CN=Common Name, O=Organisation"
    • Method Detail

      • getX500Name

        public org.bouncycastle.asn1.x500.X500Name getX500Name()
        Specified by:
        getX500Name in interface org.xwiki.crypto.pkix.internal.BcPrincipalIdentifier
        Returns:
        the native Bouncy Castle X500Name.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object