|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.security.spec.RSAPrivateKeySpec
java.security.spec.RSAPrivateCrtKeySpec
public class RSAPrivateCrtKeySpec
为了提高效率,此类根据 PKCS#1 标准所定义的,使用 Chinese Remainder Theorem(中国剩余定理,CRT)信息值指定一个 RSA 专用密钥。
Key,
KeyFactory,
KeySpec,
PKCS8EncodedKeySpec,
RSAPrivateKeySpec,
RSAPublicKeySpec| 构造方法摘要 | |
|---|---|
RSAPrivateCrtKeySpec(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger primeExponentP,
BigInteger primeExponentQ,
BigInteger crtCoefficient)
给定在 PKCS#1 v2.1 中所定义的系数、publicExponent、privateExponent、 primeP、primeQ、primeExponentP、primeExponentQ 和 crtCoefficient,创建一个新的 RSAPrivateCrtKeySpec。 |
|
| 方法摘要 | |
|---|---|
BigInteger |
getCrtCoefficient()
返回 crtCoefficient。 |
BigInteger |
getPrimeExponentP()
返回 primeExponentP。 |
BigInteger |
getPrimeExponentQ()
返回 primeExponentQ。 |
BigInteger |
getPrimeP()
返回 primeP。 |
BigInteger |
getPrimeQ()
返回 primeQ。 |
BigInteger |
getPublicExponent()
返回公用指数。 |
| 从类 java.security.spec.RSAPrivateKeySpec 继承的方法 |
|---|
getModulus, getPrivateExponent |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public RSAPrivateCrtKeySpec(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger primeExponentP,
BigInteger primeExponentQ,
BigInteger crtCoefficient)
RSAPrivateCrtKeySpec。
modulus - 系数 npublicExponent - 公用指数 eprivateExponent - 专用指数 dprimeP - n 的素数因子 pprimeQ - n 的素数因子 qprimeExponentP - 这是 d 除以 (p-1) 所得的余数primeExponentQ - 这是 d 除以 (q-1) 所得的余数crtCoefficient - Chinese Remainder Theorem 系数 q-1 除以 p 所得的余数| 方法详细信息 |
|---|
public BigInteger getPublicExponent()
public BigInteger getPrimeP()
public BigInteger getPrimeQ()
public BigInteger getPrimeExponentP()
public BigInteger getPrimeExponentQ()
public BigInteger getCrtCoefficient()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。