public class RSAKeyGenParameterSpec extends Object implements AlgorithmParameterSpec
KeyPairGenerator.initialize(java.security.spec.AlgorithmParameterSpec)
| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
F0
公众指数值F0 = 3。
|
static BigInteger |
F4
公共指数值F4 = 65537。
|
| Constructor and Description |
|---|
RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent)
从给定的keysize和public-exponent值构造一个新的
RSAParameterSpec对象。
|
public static final BigInteger F0
public static final BigInteger F4
public RSAKeyGenParameterSpec(int keysize,
BigInteger publicExponent)
RSAParameterSpec对象。
keysize - 模数大小(以位数表示)
publicExponent - 公众指数
public 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, 2014, Oracle and/or its affiliates. All rights reserved.