|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Principal
This interface models an entity (such as a user or a certificate authority) for the purposes of applying the Java security model.
X509Certificate
Method Summary | |
---|---|
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 . |
Method Detail |
---|
boolean equals(Object obj)
Principal
object for equality
with this one.
equals
in class Object
obj
- the Object to test for equality
Principal
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)
String getName()
String
that names this
Principal
.
Principal
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |