com.ibm.crypto.fips.provider

Class SystemIdentity

  1. java.lang.Object
  2. extended byjava.security.Identity
  3. extended bycom.ibm.crypto.fips.provider.SystemIdentity
All implemented interfaces:
java.io.Serializable, java.security.Principal

  1. public class SystemIdentity
  2. extends java.security.Identity
  3. implements java.io.Serializable
An identity with a very simple trust mechanism.
See Also:
Serialized Form

Constructor Summary

Constructor and Description
SystemIdentity(java.lang.String name,java.security.IdentityScope scope)

Method Summary

Modifier and Type Method and Description
  1. boolean
isTrusted()
Is this identity trusted by sun.* facilities?
  1. protected
  2. void
setTrusted(boolean trusted)
Set the trust status of this identity.
  1. java.lang.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

  1. public SystemIdentity(java.lang.String name,
  2. java.security.IdentityScope scope)
  3. throws java.security.InvalidParameterException
  4. java.security.KeyManagementException
Throws:
java.security.InvalidParameterException
java.security.KeyManagementException

Method Detail

isTrusted

  1. public boolean isTrusted()
Is this identity trusted by sun.* facilities?
Throws:
FIPSRuntimeException - if SelfTest.isFipsRunnable returns false.

setTrusted

  1. protected void setTrusted(boolean trusted)
Set the trust status of this identity.

toString

  1. public java.lang.String toString( )
Specified by:
toString in interface java.security.Principal
Overrides:
toString in class java.security.Identity
Throws:
FIPSRuntimeException - if SelfTest.isFipsRunnable returns false.