|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.security.spec.RSAOtherPrimeInfo
public class RSAOtherPrimeInfo
此类表示 RSA 的 OtherPrimeInfo 结构中的三元组(素数、指数和素数),如 PKCS#1 v2.1 中所定义的。RSA 的 OtherPrimeInfo 的 ASN.1 语法如下:
OtherPrimeInfo ::= SEQUENCE {
prime INTEGER,
exponent INTEGER,
coefficient INTEGER
}
RSAPrivateCrtKeySpec,
RSAMultiPrimePrivateCrtKey| 构造方法摘要 | |
|---|---|
RSAOtherPrimeInfo(BigInteger prime,
BigInteger primeExponent,
BigInteger crtCoefficient)
给定如 PKCS#1 中所定义的素数、primeExponent 和 crtCoefficient,创建一个新的 RSAOtherPrimeInfo。 |
|
| 方法摘要 | |
|---|---|
BigInteger |
getCrtCoefficient()
返回素数的 crtCoefficient。 |
BigInteger |
getExponent()
返回素数的指数。 |
BigInteger |
getPrime()
返回素数。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public RSAOtherPrimeInfo(BigInteger prime,
BigInteger primeExponent,
BigInteger crtCoefficient)
RSAOtherPrimeInfo。
prime - n 的素数因子。primeExponent - 指数。crtCoefficient - Chinese Remainder Theorem 系数。
NullPointerException - 如果任一参数(即:prime、primeExponent 和 crtCoefficient)为 null。| 方法详细信息 |
|---|
public final BigInteger getPrime()
public final BigInteger getExponent()
public final BigInteger getCrtCoefficient()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。