constructor:RSAKeyGenParameterSpec(int, java.math.BigInteger) [CHANGED]

  • RSAKeyGenParameterSpec

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

    public RSAKeyGenParameterSpec(int keysize,
                                  BigInteger publicExponent)
    Constructs a new RSAParameterSpec object from the given keysize and public-exponent value.
    Parameters:
    keysize - the modulus size (specified in number of bits)
    publicExponent - the public exponent
  • RSAKeyGenParameterSpec

    public RSAKeyGenParameterSpec(int keysize,
                                  BigInteger 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

constructor:RSAKeyGenParameterSpec(int, java.math.BigInteger, java.security.spec.AlgorithmParameterSpec) [ADDED]

  • RSAKeyGenParameterSpec

    public RSAKeyGenParameterSpec(int keysize,
                                  BigInteger publicExponent,
                                  AlgorithmParameterSpec keyParams)
    
    Constructs a new RSAKeyGenParameterSpec object from the given keysize, public-exponent value, and key parameters.
    Parameters:
    keysize - the modulus size (specified in number of bits)
    publicExponent - the public exponent
    keyParams - the key parameters, may be null
    Since:
    8

method:getKeyParams() [ADDED]

  • getKeyParams

    public AlgorithmParameterSpec getKeyParams()
    
    Returns the parameters to be associated with key.
    Returns:
    the associated parameters, may be null if not present
    Since:
    8

© 2019 Oracle Corporation and/or its affiliates