1. /*
  2. * @(#)PrivateKey.java 1.28 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.security;
  8. /**
  9. * <p>A private key. This interface contains no methods or constants.
  10. * It merely serves to group (and provide type safety for) all private key
  11. * interfaces.
  12. *
  13. * Note: The specialized private key interfaces extend this interface.
  14. * See, for example, the DSAPrivateKey interface in
  15. * <code>java.security.interfaces</code>.
  16. *
  17. * @see Key
  18. * @see PublicKey
  19. * @see Certificate
  20. * @see Signature#initVerify
  21. * @see java.security.interfaces.DSAPrivateKey
  22. * @see java.security.interfaces.RSAPrivateKey
  23. * @see java.security.interfaces.RSAPrivateCrtKey
  24. *
  25. * @version 1.28 03/01/23
  26. * @author Benjamin Renaud
  27. * @author Josh Bloch
  28. */
  29. public interface PrivateKey extends Key {
  30. // Declare serialVersionUID to be compatible with JDK1.1
  31. /**
  32. * The class fingerprint that is set to indicate serialization
  33. * compatibility with a previous version of the class.
  34. */
  35. static final long serialVersionUID = 6034044314589513430L;
  36. }