RSAKey

  • RSAKey is the interface for RSA public and private keys in Java security.

  • It provides access to the modulus, a core component of RSA keys.

  • The interface is extended by RSAPublicKey, RSAPrivateKey, RSAPrivateCrtKey, and RSAMultiPrimePrivateCrtKey for specific key types.

  • These sub-interfaces offer functionalities related to the Chinese Remainder Theorem (CRT) and multi-prime RSA.

public interface RSAKey
Known Indirect Subclasses

The interface to an RSA public or private key.

Public Method Summary

abstract BigInteger
getModulus()
Returns the modulus.

Public Methods

public abstract BigInteger getModulus ()

Returns the modulus.

Returns
  • the modulus