JavaTM Platform
Standard Ed. 6

java.security.spec
クラス RSAPrivateKeySpec

java.lang.Object
  上位を拡張 java.security.spec.RSAPrivateKeySpec
すべての実装されたインタフェース:
KeySpec
直系の既知のサブクラス:
RSAMultiPrimePrivateCrtKeySpec, RSAPrivateCrtKeySpec

public class RSAPrivateKeySpec
extends Object
implements KeySpec

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

関連項目:
Key, KeyFactory, KeySpec, PKCS8EncodedKeySpec, RSAPublicKeySpec, RSAPrivateCrtKeySpec

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

コンストラクタの詳細

RSAPrivateKeySpec

public RSAPrivateKeySpec(BigInteger modulus,
                         BigInteger privateExponent)
新しい RSAPrivateKeySpec を作成します。

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

getModulus

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

戻り値:
モジュラス

getPrivateExponent

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

戻り値:
非公開指数

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 も参照してください。