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