Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.security.Identity

Availability: JDK 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 void addCertificate(Certificate certificate) throws KeyManagementException;
      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 void removeCertificate(Certificate certificate) throws KeyManagementException;
      public void setInfo(String info);
      public void setPublicKey(PublicKey key) throws KeyManagementException;
      public String toString();  // Overrides Object.toString()
      public String toString(boolean detailed);
   // Protected Instance Methods
      protected boolean identityEquals(Identity identity);
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.