Module java.base

Class RSAPublicKeySpec

    • Constructor Detail

      • RSAPublicKeySpec

        public RSAPublicKeySpec​(BigInteger modulus,
                                BigInteger publicExponent)
        Creates a new RSAPublicKeySpec.
        Parameters:
        modulus - the modulus
        publicExponent - the public exponent
    • Method Detail

      • getModulus

        public BigInteger getModulus​()
        Returns the modulus.
        Returns:
        the modulus
      • getPublicExponent

        public BigInteger getPublicExponent​()
        Returns the public exponent.
        Returns:
        the public exponent