Signer


Signer java.security

Java 1.1; Deprecated in 1.2 @Deprecated serializable

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.Signer

 public 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  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net