1. /*
  2. * @(#)RSAPrivateCrtKey.java 1.12 03/12/19
  3. *
  4. * Copyright 2004 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.12 03/12/19
  16. *
  17. * @see RSAPrivateKey
  18. */
  19. public interface RSAPrivateCrtKey extends RSAPrivateKey {
  20. static final long serialVersionUID = -5682214253527700368L;
  21. /**
  22. * Returns the public exponent.
  23. *
  24. * @return the public exponent
  25. */
  26. public BigInteger getPublicExponent();
  27. /**
  28. * Returns the primeP.
  29. * @return the primeP
  30. */
  31. public BigInteger getPrimeP();
  32. /**
  33. * Returns the primeQ.
  34. *
  35. * @return the primeQ
  36. */
  37. public BigInteger getPrimeQ();
  38. /**
  39. * Returns the primeExponentP.
  40. *
  41. * @return the primeExponentP
  42. */
  43. public BigInteger getPrimeExponentP();
  44. /**
  45. * Returns the primeExponentQ.
  46. *
  47. * @return the primeExponentQ
  48. */
  49. public BigInteger getPrimeExponentQ();
  50. /**
  51. * Returns the crtCoefficient.
  52. *
  53. * @return the crtCoefficient
  54. */
  55. public BigInteger getCrtCoefficient();
  56. }