1. /*
  2. * @(#)RSAPrivateCrtKey.java 1.8 00/02/02
  3. *
  4. * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.security.interfaces;
  11. import java.math.BigInteger;
  12. /**
  13. * The interface to an RSA private key, as defined in the PKCS#1 standard,
  14. * using the <i>Chinese Remainder Theorem</i> (CRT) information values.
  15. *
  16. * @author Jan Luehe
  17. *
  18. * @version 1.8 00/02/02
  19. *
  20. * @see RSAPrivateKey
  21. */
  22. public interface RSAPrivateCrtKey extends RSAPrivateKey {
  23. /**
  24. * Returns the public exponent.
  25. *
  26. * @return the public exponent
  27. */
  28. public BigInteger getPublicExponent();
  29. /**
  30. * Returns the primeP.
  31. * @return the primeP
  32. */
  33. public BigInteger getPrimeP();
  34. /**
  35. * Returns the primeQ.
  36. *
  37. * @return the primeQ
  38. */
  39. public BigInteger getPrimeQ();
  40. /**
  41. * Returns the primeExponentP.
  42. *
  43. * @return the primeExponentP
  44. */
  45. public BigInteger getPrimeExponentP();
  46. /**
  47. * Returns the primeExponentQ.
  48. *
  49. * @return the primeExponentQ
  50. */
  51. public BigInteger getPrimeExponentQ();
  52. /**
  53. * Returns the crtCoefficient.
  54. *
  55. * @return the crtCoefficient
  56. */
  57. public BigInteger getCrtCoefficient();
  58. }