public class RSAKeyGenParameterSpec extends Object implements AlgorithmParameterSpec
KeyPairGenerator.initialize(java.security.spec.AlgorithmParameterSpec)| 修飾子と型 | フィールド | 説明 |
|---|---|---|
static BigInteger |
F0 |
公開指数値F0 = 3。
|
static BigInteger |
F4 |
公開指数値F4 = 65537。
|
| コンストラクタ | 説明 |
|---|---|
RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) |
指定されたキー・サイズ、公開された値、およびnullキー・パラメータから新しい
RSAKeyGenParameterSpecオブジェクトを構築します。 |
RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent, AlgorithmParameterSpec keyParams) |
指定されたキー・サイズ、公開された値、およびキー・パラメータから新しい
RSAKeyGenParameterSpecオブジェクトを構築します。 |
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
AlgorithmParameterSpec |
getKeyParams() |
キーに関連付けるパラメータを戻します。
|
int |
getKeysize() |
キー・サイズを戻します。
|
BigInteger |
getPublicExponent() |
公開指数値を返します。
|
public static final BigInteger F0
public static final BigInteger F4
public RSAKeyGenParameterSpec(int keysize,
BigInteger publicExponent)
RSAKeyGenParameterSpecオブジェクトを構築します。keysize - モジュラス・サイズ(ビット数で指定)publicExponent - 公開指数public RSAKeyGenParameterSpec(int keysize,
BigInteger publicExponent,
AlgorithmParameterSpec keyParams)
RSAKeyGenParameterSpecオブジェクトを構築します。keysize - モジュラス・サイズ(ビット数で指定)publicExponent - 公開指数keyParams - キー・パラメータはNullでもかまいませんpublic int getKeysize()
public BigInteger getPublicExponent()
public AlgorithmParameterSpec getKeyParams()
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。