Class RSAKeyGenParameterSpec

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int F0
      The public-exponent value F0 = 3.
      static int F4
      The public exponent-value F4 = 65537.
    • Constructor Summary

      Constructors 
      Constructor Description
      RSAKeyGenParameterSpec​(int keysize, int publicExponent)
      Constructs a new RSAKeyGenParameterSpec object from the given keysize, public-exponent value, and null key parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getKeysize()
      Returns the keysize.
      int getPublicExponent()
      Returns the public-exponent value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RSAKeyGenParameterSpec

        public RSAKeyGenParameterSpec​(int keysize,
                                      int publicExponent)
        Constructs a new RSAKeyGenParameterSpec object from the given keysize, public-exponent value, and null key parameters.
        Parameters:
        keysize - the modulus size (specified in number of bits)
        publicExponent - the public exponent
    • Method Detail

      • getKeysize

        public int getKeysize()
        Returns the keysize.
        Returns:
        the keysize.
      • getPublicExponent

        public int getPublicExponent()
        Returns the public-exponent value.
        Returns:
        the public-exponent value.