< prev index next >

src/java.base/share/classes/java/security/Signer.java

Print this page




  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.security;
  27 
  28 import java.io.*;
  29 
  30 /**
  31  * This class is used to represent an Identity that can also digitally
  32  * sign data.
  33  *
  34  * <p>The management of a signer's private keys is an important and
  35  * sensitive issue that should be handled by subclasses as appropriate
  36  * to their intended use.
  37  *
  38  * @see Identity
  39  *
  40  * @author Benjamin Renaud

  41  *
  42  * @deprecated This class is no longer used. Its functionality has been
  43  * replaced by {@code java.security.KeyStore}, the
  44  * {@code java.security.cert} package, and
  45  * {@code java.security.Principal}.
  46  */
  47 @Deprecated(since="1.2")
  48 public abstract class Signer extends Identity {
  49 
  50     private static final long serialVersionUID = -1763464102261361480L;
  51 
  52     /**
  53      * The signer's private key.
  54      *
  55      * @serial
  56      */
  57     private PrivateKey privateKey;
  58 
  59     /**
  60      * Creates a signer. This constructor should only be used for




  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.security;
  27 
  28 import java.io.*;
  29 
  30 /**
  31  * This class is used to represent an Identity that can also digitally
  32  * sign data.
  33  *
  34  * <p>The management of a signer's private keys is an important and
  35  * sensitive issue that should be handled by subclasses as appropriate
  36  * to their intended use.
  37  *
  38  * @see Identity
  39  *
  40  * @author Benjamin Renaud
  41  * @since 1.1
  42  *
  43  * @deprecated This class is no longer used. Its functionality has been
  44  * replaced by {@code java.security.KeyStore}, the
  45  * {@code java.security.cert} package, and
  46  * {@code java.security.Principal}.
  47  */
  48 @Deprecated(since="1.2")
  49 public abstract class Signer extends Identity {
  50 
  51     private static final long serialVersionUID = -1763464102261361480L;
  52 
  53     /**
  54      * The signer's private key.
  55      *
  56      * @serial
  57      */
  58     private PrivateKey privateKey;
  59 
  60     /**
  61      * Creates a signer. This constructor should only be used for


< prev index next >