java.lang.Object | +--java.security.Identity | +--java.security.Signer
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.
Identity, Serialized Form
| Constructor Summary | |
protected |
Signer
copy-> new Signer()copy-> <Signer var> = new Signer();
|
|
Signer
copy-> new Signer( )copy-> <Signer var> = new Signer(<String name>);
|
|
Signer
copy-> new Signer(, )copy-> <Signer var> = new Signer(<String name>, <IdentityScope scope>);
|
| Method Summary | |
PrivateKey |
getPrivateKey()
copy-> .getPrivateKey()copy-> <PrivateKey var>=<Signer>.getPrivateKey();
|
void |
setKeyPair(KeyPair pair)
copy-> .setKeyPair( )copy-> <Signer>.setKeyPair(<KeyPair pair>);
|
String |
toString()
copy-> .toString()copy-> <String var>=<Signer>.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 |