1. /*
  2. * @(#)RSAKey.java 1.6 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 public or private key.
  11. *
  12. * @author Jan Luehe
  13. * @version 1.6 12/19/03
  14. *
  15. * @see RSAPublicKey
  16. * @see RSAPrivateKey
  17. *
  18. * @since 1.3
  19. */
  20. public interface RSAKey {
  21. /**
  22. * Returns the modulus.
  23. *
  24. * @return the modulus
  25. */
  26. public BigInteger getModulus();
  27. }