Build 1.0_r1(from source)

java.security
Class Identity

java.lang.Object
  extended by java.security.Identity
All Implemented Interfaces:
Serializable, Principal
Direct Known Subclasses:
IdentityScope, Signer

Deprecated.

public abstract class Identity
extends Object
implements Principal, Serializable

See Also:
Serialized Form

Constructor Summary
protected Identity()
          Deprecated.  
  Identity(String name)
          Deprecated.  
  Identity(String name, IdentityScope scope)
          Deprecated.  
 
Method Summary
 void addCertificate(Certificate certificate)
          Deprecated.  
 Certificate[] certificates()
          Deprecated.  
 boolean equals(Object obj)
          Deprecated. Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison.
 String getInfo()
          Deprecated.  
 String getName()
          Deprecated.  
 PublicKey getPublicKey()
          Deprecated.  
 IdentityScope getScope()
          Deprecated.  
 int hashCode()
          Deprecated. Returns an integer hash code for the receiver.
protected  boolean identityEquals(Identity identity)
          Deprecated.  
 void removeCertificate(Certificate certificate)
          Deprecated.  
 void setInfo(String info)
          Deprecated.  
 void setPublicKey(PublicKey key)
          Deprecated.  
 String toString()
          Deprecated. Returns a string containing a concise, human-readable description of the receiver.
 String toString(boolean detailed)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Identity

protected Identity()
Deprecated. 

Identity

public Identity(String name)
Deprecated. 

Identity

public Identity(String name,
                IdentityScope scope)
         throws KeyManagementException
Deprecated. 
Throws:
KeyManagementException
Method Detail

addCertificate

public void addCertificate(Certificate certificate)
                    throws KeyManagementException
Deprecated. 
Throws:
KeyManagementException

removeCertificate

public void removeCertificate(Certificate certificate)
                       throws KeyManagementException
Deprecated. 
Throws:
KeyManagementException

certificates

public Certificate[] certificates()
Deprecated. 

identityEquals

protected boolean identityEquals(Identity identity)
Deprecated. 

toString

public String toString(boolean detailed)
Deprecated. 

getScope

public final IdentityScope getScope()
Deprecated. 

setPublicKey

public void setPublicKey(PublicKey key)
                  throws KeyManagementException
Deprecated. 
Throws:
KeyManagementException

getPublicKey

public PublicKey getPublicKey()
Deprecated. 

setInfo

public void setInfo(String info)
Deprecated. 

getInfo

public String getInfo()
Deprecated. 

equals

public final boolean equals(Object obj)
Deprecated. 
Description copied from class: Object
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. The implementation in Object returns true only if the argument is the exact same object as the receiver (==).

Specified by:
equals in interface Principal
Overrides:
equals in class Object
Parameters:
obj - Object the object to compare with this object.
Returns:
boolean true if the object is the same as this object false if it is different from this object.
See Also:
Object.hashCode()

getName

public final String getName()
Deprecated. 
Specified by:
getName in interface Principal

hashCode

public int hashCode()
Deprecated. 
Description copied from class: Object
Returns an integer hash code for the receiver. Any two objects which answer true when passed to .equals must answer the same value for this method.

Specified by:
hashCode in interface Principal
Overrides:
hashCode in class Object
Returns:
int the receiver's hash.
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Deprecated. 
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Specified by:
toString in interface Principal
Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature