java.security
Class Signer
java.lang.Object
|
+--java.security.Identity
|
+--java.security.Signer
public abstract class
Signerextends
IdentitySigner is a subclass used to store a digital signature key with
an Identity.
Since:Author:- Mark Benvenuto <ivymccough@worldnet.att.net>
Signer
protected Signer()
Constructs a new Signer.
Signer
public Signer(java.lang.String name)
Constructs a new Signer with the specified name.
Parameters:
Signer
public Signer(java.lang.String name, java.security.IdentityScope scope)
Constructs a new Signer with the specifid name and
IdentityScope.
Parameters:
Throws:
getPrivateKey
public PrivateKey getPrivateKey()
Returns the private key for this signer.
This class checks the security manager with the call
checkSecurityAccess with "getSignerPrivateKey".
Throws:
setKeyPair
public final void setKeyPair(java.security.KeyPair pair)
Specifies the KeyPair associated with this Signer.
This class checks the security manager with the call
checkSecurityAccess with "setSignerKeyPair".
Parameters:
Throws:
toString
public String toString()
Returns a string representing this Signer.