1. /*
  2. * @(#)RSAPublicKey.java 1.4 01/11/29
  3. *
  4. * Copyright 2002 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 key.
  11. *
  12. * @author Jan Luehe
  13. *
  14. * @version 1.4 01/11/29
  15. */
  16. public interface RSAPublicKey extends java.security.PublicKey {
  17. /**
  18. * Returns the modulus.
  19. *
  20. * @return the modulus
  21. */
  22. public BigInteger getModulus();
  23. /**
  24. * Returns the public exponent.
  25. *
  26. * @return the public exponent
  27. */
  28. public BigInteger getPublicExponent();
  29. }