java.lang.Object
java.security.spec.RSAOtherPrimeInfo
public class RSAOtherPrimeInfo extends Object
このクラスは、PKCS#1 v2.2標準に定義されているRSA OtherPrimeInfo構造内のtriplet (素数、指数および係数)を表します。 RSAのOtherPrimeInfoのASN.1構文を次に示します。
OtherPrimeInfo ::= SEQUENCE { prime INTEGER, exponent INTEGER, coefficient INTEGER }
- 導入されたバージョン:
- 1.4
- 関連項目:
RSAPrivateCrtKeySpec
,RSAMultiPrimePrivateCrtKey
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
PKCS#1に定義されたprime、primeExponent、crtCoefficientを指定し、新しいRSAOtherPrimeInfo
を作成します。 -
メソッドのサマリー
修飾子と型 メソッド 説明 BigInteger
getCrtCoefficient()
素数のcrtCoefficientを返します。BigInteger
getExponent()
素数の指数を返します。BigInteger
getPrime()
素数を返します。
-
コンストラクタの詳細
-
RSAOtherPrimeInfo
public RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)PKCS#1に定義されたprime、primeExponent、crtCoefficientを指定し、新しいRSAOtherPrimeInfo
を作成します。- パラメータ:
prime
- nの素因数。primeExponent
- 指数。crtCoefficient
- 中国剰余定理の係数。- 例外:
NullPointerException
- パラメータ、つまりprime
、primeExponent
、crtCoefficient
のいずれかがnullの場合。
-
-
メソッドの詳細
-
getPrime
public final BigInteger getPrime()素数を返します。- 戻り値:
- 素数。
-
getExponent
public final BigInteger getExponent()素数の指数を返します。- 戻り値:
- primeExponent。
-
getCrtCoefficient
public final BigInteger getCrtCoefficient()素数のcrtCoefficientを返します。- 戻り値:
- crtCoefficient。
-