JavaTM 2 Platform
Standard Ed. 5.0

java.security.spec
クラス RSAKeyGenParameterSpec

java.lang.Object
  上位を拡張 java.security.spec.RSAKeyGenParameterSpec
すべての実装されたインタフェース:
AlgorithmParameterSpec

public class RSAKeyGenParameterSpec
extends Object
implements AlgorithmParameterSpec

RSA 鍵ペアを生成するために使用されるパラメータのセットを指定します。

導入されたバージョン:
1.3
関連項目:
KeyPairGenerator.initialize(java.security.spec.AlgorithmParameterSpec)

フィールドの概要
static BigInteger F0
          公開指数値 F0 = 3
static BigInteger F4
          公開指数値 F4 = 65537
 
コンストラクタの概要
RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent)
          指定されたキーサイズおよび公開指数値から新しい RSAParameterSpec オブジェクトを構築します。
 
メソッドの概要
 int getKeysize()
          キーサイズを戻します。
 BigInteger getPublicExponent()
          公開指数値を返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

F0

public static final BigInteger F0
公開指数値 F0 = 3


F4

public static final BigInteger F4
公開指数値 F4 = 65537

コンストラクタの詳細

RSAKeyGenParameterSpec

public RSAKeyGenParameterSpec(int keysize,
                              BigInteger publicExponent)
指定されたキーサイズおよび公開指数値から新しい RSAParameterSpec オブジェクトを構築します。

パラメータ:
keysize - モジュールサイズ (ビット数で指定)
publicExponent - 公開指数
メソッドの詳細

getKeysize

public int getKeysize()
キーサイズを戻します。

戻り値:
キーサイズ

getPublicExponent

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

戻り値:
公開指数値

JavaTM 2 Platform
Standard Ed. 5.0

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java 2 SDK SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。