- java.lang.Object
-
- java.security.spec.RSAPrivateKeySpec
-
- すべての実装されたインタフェース:
KeySpec
- 直系の既知のサブクラス:
RSAMultiPrimePrivateCrtKeySpec
,RSAPrivateCrtKeySpec
public class RSAPrivateKeySpec extends Object implements KeySpec
このクラスはRSA非公開鍵を指定します。- 導入されたバージョン:
- 1.2
- 関連項目:
Key
,KeyFactory
,KeySpec
,PKCS8EncodedKeySpec
,RSAPublicKeySpec
,RSAPrivateCrtKeySpec
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)
新しいRSAPrivateKeySpecを作成します。
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 BigInteger
getModulus()
モジュラスを返します。BigInteger
getPrivateExponent()
非公開指数を返します。
-
-
-
コンストラクタの詳細
-
RSAPrivateKeySpec
public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)
新しいRSAPrivateKeySpecを作成します。- パラメータ:
modulus
- モジュラスprivateExponent
- 非公開指数
-
-
メソッドの詳細
-
getModulus
public BigInteger getModulus()
モジュラスを返します。- 戻り値:
- モジュラス
-
getPrivateExponent
public BigInteger getPrivateExponent()
非公開指数を返します。- 戻り値:
- 非公開指数
-
-