com.ibm.crypto.provider
Class SystemSigner
java.lang.Object
java.security.Identity
java.security.Signer
com.ibm.crypto.provider.SystemSigner
- All Implemented Interfaces:
- Serializable, Principal
public class SystemSigner
- extends Signer
SunSecurity signer. Like SystemIdentity, it has a trust bit, which
can be set by SunSecurity classes, and a set of accessors for other
classes in sun.security.*.
- See Also:
- Serialized Form
Methods inherited from class java.security.Identity |
addCertificate, certificates, equals, getInfo, getName, getPublicKey, getScope, hashCode, identityEquals, removeCertificate, setInfo, setPublicKey, toString |
SystemSigner
public SystemSigner(String name)
- Construct a signer with a given name.
SystemSigner
public SystemSigner(String name,
IdentityScope scope)
throws KeyManagementException
- Construct a signer with a name and a scope.
- Parameters:
name
- the signer's name.scope
- the scope for this signer.
- Throws:
KeyManagementException
isTrusted
public boolean isTrusted()
- Returns true if this signer is trusted.
toString
public String toString()
- Specified by:
toString
in interface Principal
- Overrides:
toString
in class Signer