モジュール java.base
パッケージ java.security.spec

クラス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
関連項目:
Key, KeyFactory, KeySpec, PKCS8EncodedKeySpec, RSAPrivateKeySpec, RSAPublicKeySpec
  • コンストラクタの詳細

    • RSAPrivateCrtKeySpec

      public RSAPrivateCrtKeySpec​(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)
      新しいRSAPrivateCrtKeySpecを作成します。
      パラメータ:
      modulus - モジュラスn
      publicExponent - 公開指数e
      privateExponent - 非公開指数d
      primeP - nの素因数p
      primeQ - nの素因数q
      primeExponentP - 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 - モジュラスn
      publicExponent - 公開指数e
      privateExponent - 非公開指数d
      primeP - nの素因数p
      primeQ - nの素因数q
      primeExponentP - d mod (p-1)
      primeExponentQ - d mod (q-1)
      crtCoefficient - 中国剰余定理の係数q-1 mod p
      keyParams - キーに関連付けられているパラメータ
      導入されたバージョン:
      11
  • メソッドの詳細