java.lang.Object
java.security.spec.RSAPublicKeySpec
- すべての実装されたインタフェース:
- KeySpec
このクラスはRSA公開キーを指定します。
- 導入されたバージョン:
- 1.2
- 関連項目:
- Key,- KeyFactory,- KeySpec,- X509EncodedKeySpec,- RSAPrivateKeySpec,- RSAPrivateCrtKeySpec
- 
コンストラクタのサマリーコンストラクタコンストラクタ説明RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)新しいRSAPublicKeySpecを作成します。RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent, AlgorithmParameterSpec params)追加のキー・パラメータを使用して、新しいRSAPublicKeySpecを作成します。
- 
メソッドのサマリー修飾子と型メソッド説明モジュラスを返します。このキーに関連付けられたパラメータを返します。値が存在しない場合はNullでもかまいません。公開指数を返します。
- 
コンストラクタの詳細- 
RSAPublicKeySpecpublic RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)新しいRSAPublicKeySpecを作成します。- パラメータ:
- modulus- モジュラス
- publicExponent- 公開指数
 
- 
RSAPublicKeySpecpublic RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent, AlgorithmParameterSpec params)追加のキー・パラメータを使用して、新しいRSAPublicKeySpecを作成します。- パラメータ:
- modulus- モジュラス
- publicExponent- 公開指数
- params- このキーに関連付けられているパラメータはNullでもかまいません
- 導入されたバージョン:
- 11
 
 
- 
- 
メソッドの詳細- 
getModuluspublic BigInteger getModulus()モジュラスを返します。- 戻り値:
- モジュラス
 
- 
getPublicExponentpublic BigInteger getPublicExponent()公開指数を返します。- 戻り値:
- 公開指数
 
- 
getParamspublic AlgorithmParameterSpec getParams()このキーに関連付けられたパラメータを返します。値が存在しない場合はNullでもかまいません。- 戻り値:
- このキーに関連付けられているパラメータ
- 導入されたバージョン:
- 11
 
 
-