Class java.security.Identity (1.1)


public abstract class Identity extends Object implements Principal, Serializable {
  // Public Constructors
    public Identity(String name, IdentityScope scope) throws KeyManagementException;
    public Identity(String name);
  // Protected Constructor
    protected Identity( );
  // Public Instance Methods
    public Certificate[ ] certificates( );
    public final boolean equals(Object identity);  // Overrides Object.equals( )
    public String getInfo( );
    public final String getName( );
    public PublicKey getPublicKey( );
    public final IdentityScope getScope( );
    public int hashCode( );  // Overrides Object.hashCode( )
    public String toString( );  // Overrides Object.toString( )
    public String toString(boolean detailed);
  // Protected Instance Methods
    protected void addCertificate(Certificate certificate) throws KeyManagementException;
    protected boolean identityEquals(Identity identity);
    protected void removeCertificate(Certificate certificate) throws KeyManagementException;
    protected void setInfo(String info);
    protected void setPublicKey(PublicKey key) throws KeyManagementException;
}