1. /*
  2. * @(#)RSAKey.java 1.3 00/02/02
  3. *
  4. * Copyright 1999, 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 public or private key.
  14. *
  15. * @author Jan Luehe
  16. * @version 1.3 02/02/00
  17. *
  18. * @see RSAPublicKey
  19. * @see RSAPrivateKey
  20. *
  21. * @since 1.3
  22. */
  23. public interface RSAKey {
  24. /**
  25. * Returns the modulus.
  26. *
  27. * @return the modulus
  28. */
  29. public BigInteger getModulus();
  30. }