org.xwiki.crypto.pkix.params
Interface PrincipalIndentifier

All Known Implementing Classes:
DistinguishedName, X509DirectoryName

@Unstable
public interface PrincipalIndentifier

Marker interface for unique identifier of a principal.

Since:
5.4
Version:
$Id: 21323504a3f10fcc8c7f47d12e2e5a2bf579c649 $

Method Summary
 boolean equals(Object o)
          Equality operator.
 byte[] getEncoded()
           
 String getName()
           
 

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.


Copyright © 2004–2014 XWiki. All rights reserved.