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(), 
HashMapString toString()
int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object), 
System.identityHashCode(java.lang.Object)String getName()
 Submit a bug or feature 
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.
 Copyright © 1993, 2020, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.