JavaTM Platform
Standard Ed. 6

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 Platform
Standard Ed. 6

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

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