|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.Identity
public abstract class Identity
| 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 |
|---|
protected Identity()
public Identity(String name)
public Identity(String name,
IdentityScope scope)
throws KeyManagementException
KeyManagementException| Method Detail |
|---|
public void addCertificate(Certificate certificate)
throws KeyManagementException
KeyManagementException
public void removeCertificate(Certificate certificate)
throws KeyManagementException
KeyManagementExceptionpublic Certificate[] certificates()
protected boolean identityEquals(Identity identity)
public String toString(boolean detailed)
public final IdentityScope getScope()
public void setPublicKey(PublicKey key)
throws KeyManagementException
KeyManagementExceptionpublic PublicKey getPublicKey()
public void setInfo(String info)
public String getInfo()
public final boolean equals(Object obj)
Object
equals in interface Principalequals in class Objectobj - Object the object to compare with this object.
true if the object is the same as this
object false if it is different from this object.Object.hashCode()public final String getName()
getName in interface Principalpublic int hashCode()
Objecttrue when passed to .equals must
answer the same value for this method.
hashCode in interface PrincipalhashCode in class ObjectObject.equals(java.lang.Object)public String toString()
Object
toString in interface PrincipaltoString in class Object
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||