1. /*
  2. * @(#)RSAPrivateKey.java 1.5 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.security.interfaces;
  8. import java.math.BigInteger;
  9. /**
  10. * The interface to an RSA private key.
  11. *
  12. * @author Jan Luehe
  13. *
  14. * @version 1.5 01/11/29
  15. *
  16. * @see RSAPrivateCrtKey
  17. */
  18. public interface RSAPrivateKey extends java.security.PrivateKey {
  19. /**
  20. * Returns the modulus.
  21. *
  22. * @return the modulus
  23. */
  24. public BigInteger getModulus();
  25. /**
  26. * Returns the private exponent.
  27. *
  28. * @return the private exponent
  29. */
  30. public BigInteger getPrivateExponent();
  31. }