public abstract class Identity extends Object implements Principal, Serializable
Modifier | Constructor and Description |
---|---|
protected |
Identity()
Deprecated.
|
|
Identity(String name)
Deprecated.
|
|
Identity(String name,
IdentityScope scope)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addCertificate(Certificate certificate)
Deprecated.
|
Certificate[] |
certificates()
Deprecated.
|
boolean |
equals(Object identity)
Deprecated.
Default object equality (is identity).
|
String |
getInfo()
Deprecated.
|
String |
getName()
Deprecated.
|
PublicKey |
getPublicKey()
Deprecated.
|
IdentityScope |
getScope()
Deprecated.
|
int |
hashCode()
Deprecated.
The (default) object hashcode: for transient objects this is simply the
address of the instance in memory, for persistent objects it is the
address at which the instance was first created (maybe in a previous
activation of the VM).
|
protected boolean |
identityEquals(Identity identity)
Deprecated.
|
void |
removeCertificate(Certificate certificate)
Deprecated.
|
void |
setInfo(String info)
Deprecated.
|
void |
setPublicKey(PublicKey key)
Deprecated.
|
String |
toString()
Deprecated.
Default String representation: overriden by many classes.
|
String |
toString(boolean detailed)
Deprecated.
|
protected Identity()
public Identity(String name, IdentityScope scope) throws KeyManagementException
KeyManagementException
public Identity(String name)
public final IdentityScope getScope()
public PublicKey getPublicKey()
public void setPublicKey(PublicKey key) throws KeyManagementException
KeyManagementException
public void setInfo(String info)
public String getInfo()
public void addCertificate(Certificate certificate) throws KeyManagementException
KeyManagementException
public void removeCertificate(Certificate certificate) throws KeyManagementException
KeyManagementException
public Certificate[] certificates()
public final boolean equals(Object identity)
Object
protected boolean identityEquals(Identity identity)
public String toString()
Object
public String toString(boolean detailed)
public int hashCode()
Object