当前页面:
在线文档首页 >
JDK 5 Documentation v1.3.1, Java 2 SDK 英文文档
Java 2 Platform SE v1.3.1: Class RSAKeyGenParameterSpec - JDK 5 Documentation v1.3.1, Java 2 SDK 英文文档
java.security.spec
Class RSAKeyGenParameterSpec
java.lang.Object
|
+--java.security.spec.RSAKeyGenParameterSpec
- All Implemented Interfaces:
- AlgorithmParameterSpec
- public class RSAKeyGenParameterSpec
- extends Object
- implements AlgorithmParameterSpec
This class specifies the set of parameters used to generate an RSA
key pair.
- Since:
- 1.3
- See Also:
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
F0
public static final BigInteger F0
- The public-exponent value F0 = 3.
F4
public static final BigInteger F4
- The public exponent-value F4 = 65537.
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
getKeysize
public int getKeysize()
- Returns the keysize.
- Returns:
- the keysize.
getPublicExponent
public BigInteger getPublicExponent()
- Returns the public-exponent value.
- Returns:
- the public-exponent value.
Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.