java.security
abstract public class: Signer [javadoc |
source]
java.lang.Object
java.security.Identity
java.security.Signer
All Implemented Interfaces:
Principal, Serializable
Deprecated! This
- class is no longer used. Its functionality has been
replaced by
java.security.KeyStore
, the
java.security.cert
package, and
java.security.Principal
.
This class is used to represent an Identity that can also digitally
sign data.
The management of a signer's private keys is an important and
sensitive issue that should be handled by subclasses as appropriate
to their intended use.
Also see:
- Identity
- author:
Benjamin
- Renaud
Constructor: |
protected Signer() {
super();
}
Creates a signer. This constructor should only be used for
serialization. |
public Signer(String name) {
super(name);
}
Creates a signer with the specified identity name. Parameters:
name - the identity name.
|
public Signer(String name,
IdentityScope scope) throws KeyManagementException {
super(name, scope);
}
Creates a signer with the specified identity name and scope. Parameters:
name - the identity name.
scope - the scope of the identity.
Throws:
KeyManagementException - if there is already an identity
with the same name in the scope.
- exception:
KeyManagementException - if there is already an identity
with the same name in the scope.
|
Methods from java.security.Identity: |
---|
addCertificate, certificates, equals, fullName, getInfo, getName, getPublicKey, getScope, hashCode, identityEquals, printCertificates, printKeys, removeCertificate, setInfo, setPublicKey, toString, toString |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |