public class RSAOtherPrimeInfo extends Object
otherprimeinfo::=序列{素数,指数的整数,系数的整数}
RSAPrivateCrtKeySpec
,
RSAMultiPrimePrivateCrtKey
Constructor and Description |
---|
RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
创建一个新的
RSAOtherPrimeInfo 给定的素数,primeexponent,和crtcoefficient在PKCS # 1定义。
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
getCrtCoefficient()
返回最初的crtcoefficient。
|
BigInteger |
getExponent()
返回素数的指数。
|
BigInteger |
getPrime()
返回素数。
|
public RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
RSAOtherPrimeInfo
给定的素数,primeexponent,和crtcoefficient在PKCS # 1定义。
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.