Interface PrincipalIndentifier

  • All Known Implementing Classes:
    DistinguishedName, X509DirectoryName

    public interface PrincipalIndentifier
    Marker interface for unique identifier of a principal.
    Since:
    5.4
    Version:
    $Id: 857539fcefe6ed9c4b815452dbc06a51b5802426 $
    • Method Detail

      • getEncoded

        byte[] getEncoded()
                   throws IOException
        Returns:
        the ASN.1 encoded form of this identifier.
        Throws:
        IOException - on encoding error.
      • getName

        String getName()
        Returns:
        a string representation of this principal.
      • equals

        boolean equals​(Object o)
        Equality operator.
        Overrides:
        equals in class Object
        Parameters:
        o - object to check equality with.
        Returns:
        true if objects are equals.