com.ibm.crypto.provider
Class SystemIdentity
java.lang.Object
java.security.Identity
com.ibm.crypto.provider.SystemIdentity
- All Implemented Interfaces:
- Serializable, Principal
public class SystemIdentity
- extends Identity
- implements Serializable
An identity with a very simple trust mechanism.
- See Also:
- Serialized Form
Method Summary |
boolean |
isTrusted()
Is this identity trusted by sun.* facilities? |
protected void |
setTrusted(boolean trusted)
Set the trust status of this identity. |
String |
toString()
|
Methods inherited from class java.security.Identity |
addCertificate, certificates, equals, getInfo, getName, getPublicKey, getScope, hashCode, identityEquals, removeCertificate, setInfo, setPublicKey, toString |
SystemIdentity
public SystemIdentity(String name,
IdentityScope scope)
throws InvalidParameterException,
KeyManagementException
- Throws:
InvalidParameterException
KeyManagementException
isTrusted
public boolean isTrusted()
- Is this identity trusted by sun.* facilities?
setTrusted
protected void setTrusted(boolean trusted)
- Set the trust status of this identity.
toString
public String toString()
- Specified by:
toString
in interface Principal
- Overrides:
toString
in class Identity