クラスRSAPrivateCrtKeySpec
java.lang.Object
java.security.spec.RSAPrivateKeySpec
java.security.spec.RSAPrivateCrtKeySpec
- すべての実装されたインタフェース:
KeySpec
public class RSAPrivateCrtKeySpec extends RSAPrivateKeySpec
このクラスは、効率のために中国剰余定理(CRT)の情報の値を使用して、PKCS#1 v2.2標準で定義されているように、RSA非公開キーを指定します。
- 導入されたバージョン:
- 1.2
- 外部仕様
- 関連項目:
-
コンストラクタのサマリー
コンストラクタコンストラクタ説明RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient) 新しいRSAPrivateCrtKeySpecを作成します。RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, AlgorithmParameterSpec keyParams) その他のキー・パラメータを含む新しいRSAPrivateCrtKeySpecを作成します。 -
メソッドのサマリー
修飾子と型メソッド説明crtCoefficientを返します。primeExponentPを返します。primeExponentQを返します。primePを返します。primeQを返します。公開指数を返します。クラスで宣言されたメソッド RSAPrivateKeySpec
getModulus, getParams, getPrivateExponent修飾子と型メソッド説明モジュラスを返します。このキーに関連付けられたパラメータを返します。値が存在しない場合はNullでもかまいません。非公開指数を返します。クラスオブジェクトで宣言されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait修飾子と型メソッド説明protected Objectclone()このオブジェクトのコピーを作成して、返します。booleanこのオブジェクトと他のオブジェクトが等しいかどうかを示します。protected voidfinalize()削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。最終決定は非推奨であり、将来のリリースで削除される可能性があります。final Class<?> getClass()このObjectの実行時クラスを返します。inthashCode()このオブジェクトに対するハッシュ・コード値を返します。final voidnotify()このオブジェクトのモニターで待機中のスレッドを1つ再開します。final voidこのオブジェクトのモニターで待機中のすべてのスレッドを再開します。toString()オブジェクトの文字列表現を返します。final voidwait()現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。final voidwait(long timeoutMillis) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。final voidwait(long timeoutMillis, int nanos) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
-
コンストラクタの詳細
-
RSAPrivateCrtKeySpec
public RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient) 新しいRSAPrivateCrtKeySpecを作成します。- パラメータ:
modulus- モジュラスnpublicExponent- 公開指数eprivateExponent- 非公開指数dprimeP- nの素因数pprimeQ- nの素因数qprimeExponentP- d mod (p-1)primeExponentQ- d mod (q-1)crtCoefficient- 中国剰余定理の係数q-1 mod p
-
RSAPrivateCrtKeySpec
public RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, AlgorithmParameterSpec keyParams) その他のキー・パラメータを含む新しいRSAPrivateCrtKeySpecを作成します。- パラメータ:
modulus- モジュラスnpublicExponent- 公開指数eprivateExponent- 非公開指数dprimeP- nの素因数pprimeQ- nの素因数qprimeExponentP- d mod (p-1)primeExponentQ- d mod (q-1)crtCoefficient- 中国剰余定理の係数q-1 mod pkeyParams- キーに関連付けられているパラメータ- 導入されたバージョン:
- 11
-
-
メソッドの詳細
-
getPublicExponent
-
getPrimeP
-
getPrimeQ
-
getPrimeExponentP
-
getPrimeExponentQ
-
getCrtCoefficient
-