com.ibm.crypto.fips.provider
Class SystemIdentity
- java.lang.Object
java.security.Identity
com.ibm.crypto.fips.provider.SystemIdentity
All implemented interfaces:
java.io.Serializable, java.security.Principal
- public class SystemIdentity
- extends java.security.Identity
- implements java.io.Serializable
See Also:
Constructor Summary
| Constructor and Description |
|---|
SystemIdentity(java.lang.String name,java.security.IdentityScope scope)
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
isTrusted()
Is this identity trusted by sun.* facilities?
|
|
setTrusted(boolean trusted)
Set the trust status of this identity.
|
|
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(java.lang.String name,
- java.security.IdentityScope scope)
- throws java.security.InvalidParameterException
- java.security.KeyManagementException
Throws:
java.security.InvalidParameterExceptionjava.security.KeyManagementExceptionMethod Detail
isTrusted
- public boolean isTrusted()
Is this identity trusted by sun.* facilities?
Throws:
FIPSRuntimeException - if SelfTest.isFipsRunnable returns false. setTrusted
- protected void setTrusted(boolean trusted)
Set the trust status of this identity.
toString
- 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.