public interface Principal
X509Certificate| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
This method tests another
Principal object for equality
with this one. |
java.lang.String |
getName()
This method returns a
String that names this
Principal. |
int |
hashCode()
This method returns a hash code value for this
Principal. |
java.lang.String |
toString()
This method returns a
String representation of this
Principal. |
boolean equals(java.lang.Object obj)
Principal object for equality
with this one.equals in class java.lang.Objectobj - the Object to test for equalityPrincipal is equalObject.hashCode()java.lang.String toString()
String representation of this
Principal.toString in class java.lang.ObjectPrincipal represented as a StringObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)int hashCode()
Principal.
Remember the contract of hashCode - two objects which compare as
equals() must have the same hashCode().hashCode in class java.lang.ObjectObject.equals(Object),
System.identityHashCode(Object)java.lang.String getName()
String that names this
Principal.Principal