JavaTM 2
Platform
Std. Ed. v1.4.0

java.security.spec
クラス RSAPublicKeySpec

java.lang.Object
  |
  +--java.security.spec.RSAPublicKeySpec
すべての実装インタフェース:
KeySpec

public class RSAPublicKeySpec
extends Object
implements KeySpec

このクラスは RSA 公開鍵を指定します。

関連項目:
Key, KeyFactory, KeySpec, X509EncodedKeySpec, RSAPrivateKeySpec, RSAPrivateCrtKeySpec

コンストラクタの概要
RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
          新しい RSAPublicKeySpec を作成します。
 
メソッドの概要
 BigInteger getModulus()
          モジュラスを返します。
 BigInteger getPublicExponent()
          公開指数を返します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RSAPublicKeySpec

public RSAPublicKeySpec(BigInteger modulus,
                        BigInteger publicExponent)
新しい RSAPublicKeySpec を作成します。

パラメータ:
modulus - モジュラス
publicExponent - 公開指数
メソッドの詳細

getModulus

public BigInteger getModulus()
モジュラスを返します。

戻り値:
モジュラス

getPublicExponent

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

戻り値:
公開指数

JavaTM 2
Platform
Std. Ed. v1.4.0

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

Java、Java 2D、および JDBC は米国ならびにその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.