- java.lang.Object
-
- java.security.spec.RSAOtherPrimeInfo
-
public class RSAOtherPrimeInfo extends Object
このクラスは、RSAのOtherPrimeInfo構造(PKCS#1 v2.1の定義による)内部の三重項(素数、指数、係数)を表します。 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を作成します。
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 BigIntegergetCrtCoefficient()素数のcrtCoefficientを返します。BigIntegergetExponent()素数の指数を返します。BigIntegergetPrime()素数を返します。
-
-
-
コンストラクタの詳細
-
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。
-
-