Class RSAKeyGenParameterSpec

    • Field Detail

      • F0

        public static final BigInteger F0
        The value of the public exponent F0 = 3.
      • F4

        public static final BigInteger F4
        The value of the public exponent F4 = 65537.
    • Constructor Detail

      • RSAKeyGenParameterSpec

        public RSAKeyGenParameterSpec​(int keysize,
                                      BigInteger publicExponent)
        Creates a new RSAKeyGenParameterSpec with the specified key size and public exponent.
        Parameters:
        keysize - the size of the modulus (number of bits).
        publicExponent - the value of the public exponent.
    • Method Detail

      • getKeysize

        public int getKeysize()
        Returns the size of the modulus (number of bits).
        Returns:
        the size of the modulus (number of bits).
      • getPublicExponent

        public BigInteger getPublicExponent()
        Returns the value of the public exponent.
        Returns:
        the value of the public exponent.