public class RSAPrivateKeySpec extends Object implements KeySpec
コンストラクタ | 説明 |
---|---|
RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent) |
新しいRSAPrivateKeySpecを作成します。
|
RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent, AlgorithmParameterSpec params) |
追加のキー・パラメータを使用して、新しいRSAPrivateKeySpecを作成します。
|
修飾子と型 | メソッド | 説明 |
---|---|---|
BigInteger |
getModulus() |
モジュラスを返します。
|
AlgorithmParameterSpec |
getParams() |
このキーに関連付けられたパラメータを返します。値が存在しない場合はNullでもかまいません。
|
BigInteger |
getPrivateExponent() |
非公開指数を返します。
|
public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)
modulus
- モジュラスprivateExponent
- 非公開指数public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent, AlgorithmParameterSpec params)
modulus
- モジュラスprivateExponent
- 非公開指数params
- このキーに関連付けられているパラメータはNullでもかまいませんpublic BigInteger getModulus()
public BigInteger getPrivateExponent()
public AlgorithmParameterSpec getParams()
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。