public class RSAOtherPrimeInfo extends Object
OtherPrimeInfo ::= SEQUENCE {
prime INTEGER,
exponent INTEGER,
coefficient INTEGER
}
RSAPrivateCrtKeySpec
, RSAMultiPrimePrivateCrtKey
Constructor and Description |
---|
RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
创建一个新的
RSAOtherPrimeInfo 给定了PKCS#1中定义的prime,primeExponent和crtCoefficient。
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
getCrtCoefficient()
返回素数的crtCoefficient。
|
BigInteger |
getExponent()
返回素数的指数。
|
BigInteger |
getPrime()
返回素数。
|
public RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
RSAOtherPrimeInfo
给定在PKCS#1中定义的素数,primeExponent和crtCoefficient。
prime
- n的素数。
primeExponent
- 指数。
crtCoefficient
- 中国剩余定理系数。
NullPointerException
-如果任何一个参数,即
prime
,
primeExponent
,
crtCoefficient
,为空。
public final BigInteger getPrime()
public final BigInteger getExponent()
public final BigInteger getCrtCoefficient()
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.