This deprecated class was used in Java 1.1 to represent an entity or Principal that has an associated PrivateKey that enables it to create digital signatures. As of Java 1.2, this class and the related Identity and IdentityScope classes have been replaced by KeyStore and java.security.cert.Certificate . See also Identity . Figure 14-42. java.security.Signerpublic abstract class Signer extends Identity { // Public Constructors public Signer (String name ); public Signer (String name , IdentityScope scope ) throws KeyManagementException; // Protected Constructors protected Signer ( ); // Public Instance Methods public PrivateKey getPrivateKey ( ); public final void setKeyPair (KeyPair pair ) throws InvalidParameterException, KeyException; // Public Methods Overriding Identity public String toString ( ); } |