java.security
public interface Principal
X509Certificate| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object another)
Compares this principal to the specified object.
|
String |
getName()
Returns the name of this principal.
|
int |
hashCode()
Returns a hashcode for this principal.
|
String |
toString()
Returns a string representation of this principal.
|
boolean equals(Object another)
equals in class Objectanother - principal to compare with.Object.hashCode(),
HashtableString toString()
int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object),
HashtableString getName()
Submit a bug or feature Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved.
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.