com.ibm.crypto.provider
Class SystemIdentity

java.lang.Object
  extended by java.security.Identity
      extended by 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

Constructor Summary
SystemIdentity(String name, IdentityScope scope)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemIdentity

public SystemIdentity(String name,
                      IdentityScope scope)
               throws InvalidParameterException,
                      KeyManagementException
Throws:
InvalidParameterException
KeyManagementException
Method Detail

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