RSAKey (Java SE 9 & JDK 9 )
Keywords: java.security.interfaces.RSAKey interface

Module java.base
Package java.security.interfaces

## Interface RSAKey

- All Known Subinterfaces:
    `RSAMultiPrimePrivateCrtKey`, `RSAPrivateCrtKey`, `RSAPrivateKey`, `RSAPublicKey`

      public interface RSAKey

  The interface to an RSA public or private key.
  Since:
    1.3
  See Also:
    `RSAPublicKey`, `RSAPrivateKey`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `BigInteger` | `getModulus​()` | Returns the modulus.

- - ### Method Detail

    - #### getModulus

          BigInteger getModulus​()

      Returns the modulus.
      Returns:
        the modulus