public interface Principal
X509Certificate
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
This method tests another
Principal object for equality
with this one. |
String |
getName()
This method returns a
String that names this
Principal . |
int |
hashCode()
This method returns a hash code value for this
Principal . |
String |
toString()
This method returns a
String representation of this
Principal . |
boolean equals(Object obj)
Principal
object for equality
with this one.equals
in class Object
obj
- the Object to test for equalityPrincipal
is equalObject.hashCode()
String toString()
String
representation of this
Principal
.toString
in class Object
Principal
represented as a String
Object.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 Object
Object.equals(Object)
,
System.identityHashCode(Object)