AlgorithmParameterSpec
public class RSAKeyGenParameterSpec extends Object implements AlgorithmParameterSpec
KeyPairGenerator.initialize(java.security.spec.AlgorithmParameterSpec)
Modifier and Type | Field | Description |
---|---|---|
static BigInteger |
F0 |
The public-exponent value F0 = 3.
|
static BigInteger |
F4 |
The public exponent-value F4 = 65537.
|
Constructor | Description |
---|---|
RSAKeyGenParameterSpec(int keysize,
BigInteger publicExponent) |
Constructs a new
RSAParameterSpec object from the
given keysize and public-exponent value. |
Modifier and Type | Method | Description |
---|---|---|
int |
getKeysize() |
Returns the keysize.
|
BigInteger |
getPublicExponent() |
Returns the public-exponent value.
|
public static final BigInteger F0
public static final BigInteger F4
public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent)
RSAParameterSpec
object from the
given keysize and public-exponent value.keysize
- the modulus size (specified in number of bits)publicExponent
- the public exponentpublic int getKeysize()
public BigInteger getPublicExponent()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps