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

クラスRSAPublicKeySpec

    • コンストラクタの詳細

      • RSAPublicKeySpec

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

      • getModulus

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

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