|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.spec.RSAKeyGenParameterSpec
public class RSAKeyGenParameterSpec
This class specifies the set of parameters used to generate an RSA key pair.
KeyPairGenerator.initialize(java.security.spec.AlgorithmParameterSpec)| Field Summary | |
|---|---|
static BigInteger |
F0
The public-exponent value F0 = 3. |
static BigInteger |
F4
The public exponent-value F4 = 65537. |
| Constructor Summary | |
|---|---|
RSAKeyGenParameterSpec(int keysize,
BigInteger publicExponent)
Constructs a new RSAParameterSpec object from the
given keysize and public-exponent value. |
|
| Method Summary | |
|---|---|
int |
getKeysize()
Returns the keysize. |
BigInteger |
getPublicExponent()
Returns the public-exponent value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final BigInteger F0
public static final BigInteger F4
| Constructor Detail |
|---|
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 exponent| Method Detail |
|---|
public int getKeysize()
public BigInteger getPublicExponent()
|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.