1. /*
  2. * @(#)RSAPrivateCrtKey.java 1.10 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.interfaces;
  8. import java.math.BigInteger;
  9. /**
  10. * The interface to an RSA private key, as defined in the PKCS#1 standard,
  11. * using the <i>Chinese Remainder Theorem</i> (CRT) information values.
  12. *
  13. * @author Jan Luehe
  14. *
  15. * @version 1.10 03/01/23
  16. *
  17. * @see RSAPrivateKey
  18. */
  19. public interface RSAPrivateCrtKey extends RSAPrivateKey {
  20. /**
  21. * Returns the public exponent.
  22. *
  23. * @return the public exponent
  24. */
  25. public BigInteger getPublicExponent();
  26. /**
  27. * Returns the primeP.
  28. * @return the primeP
  29. */
  30. public BigInteger getPrimeP();
  31. /**
  32. * Returns the primeQ.
  33. *
  34. * @return the primeQ
  35. */
  36. public BigInteger getPrimeQ();
  37. /**
  38. * Returns the primeExponentP.
  39. *
  40. * @return the primeExponentP
  41. */
  42. public BigInteger getPrimeExponentP();
  43. /**
  44. * Returns the primeExponentQ.
  45. *
  46. * @return the primeExponentQ
  47. */
  48. public BigInteger getPrimeExponentQ();
  49. /**
  50. * Returns the crtCoefficient.
  51. *
  52. * @return the crtCoefficient
  53. */
  54. public BigInteger getCrtCoefficient();
  55. }