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

クラスRSAPrivateKeySpec

    • コンストラクタの詳細

      • RSAPrivateKeySpec

        public RSAPrivateKeySpec​(BigInteger modulus,
                                 BigInteger privateExponent)
        新しいRSAPrivateKeySpecを作成します。
        パラメータ:
        modulus - モジュラス
        privateExponent - 非公開指数
    • メソッドの詳細

      • getModulus

        public BigInteger getModulus​()
        モジュラスを返します。
        戻り値:
        モジュラス
      • getPrivateExponent

        public BigInteger getPrivateExponent​()
        非公開指数を返します。
        戻り値:
        非公開指数