|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--java.security.spec.RSAPrivateKeySpec | +--java.security.spec.RSAMultiPrimePrivateCrtKeySpec
このクラスは、中国剰余定理 (CRT) の情報の値を使って RSA マルチプライム非公開鍵 (PKCS#1 v2.1 の定義による) を効率を向上させるために指定します。
Key
,
KeyFactory
,
KeySpec
,
PKCS8EncodedKeySpec
,
RSAPrivateKeySpec
,
RSAPublicKeySpec
,
RSAOtherPrimeInfo
コンストラクタの概要 | |
RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger primeExponentP,
BigInteger primeExponentQ,
BigInteger crtCoefficient,
RSAOtherPrimeInfo[] otherPrimeInfo)
PKCS#1 v2.1 に定義された modulus、publicExponent、privateExponent、primeP、primeQ、primeExponentP、primeExponentQ、crtCoefficient、および otherPrimeInfo を指定し、新しい RSAMultiPrimePrivateCrtKeySpec を作成します。
|
メソッドの概要 | |
BigInteger |
getCrtCoefficient()
crtCoefficient を返します。 |
RSAOtherPrimeInfo[] |
getOtherPrimeInfo()
otherPrimeInfo の複製を返します。 |
BigInteger |
getPrimeExponentP()
primeExponentP を返します。 |
BigInteger |
getPrimeExponentQ()
primeExponentQ を返します。 |
BigInteger |
getPrimeP()
primeP を返します。 |
BigInteger |
getPrimeQ()
primeQ を返します。 |
BigInteger |
getPublicExponent()
公開指数を返します。 |
クラス java.security.spec.RSAPrivateKeySpec から継承したメソッド |
getModulus, getPrivateExponent |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo)
RSAMultiPrimePrivateCrtKeySpec
を作成します。
otherPrimeInfo
はこのオブジェクトを構築するときに複製されます。
modulus
- モジュラス npublicExponent
- 公開指数 eprivateExponent
- 非公開指数 dprimeP
- n の素因数 pprimeQ
- n の素因数 qprimeExponentP
- d mod (p-1)primeExponentQ
- d mod (q-1)crtCoefficient
- 中国剰余定理の係数 q-1 mod potherPrimeInfo
- 残りのプライムの三重項。2 つの素因数 (p と q) だけしかない場合は null
NullPointerException
- modulus
、publicExponent
、privateExponent
、primeP
、primeQ
、primeExponentP
、primeExponentQ
、crtCoefficient
のどれかが null の場合
IllegalArgumentException
- 空の (長さが 0) otherPrimeInfo
が指定された場合メソッドの詳細 |
public BigInteger getPublicExponent()
public BigInteger getPrimeP()
public BigInteger getPrimeQ()
public BigInteger getPrimeExponentP()
public BigInteger getPrimeExponentQ()
public BigInteger getCrtCoefficient()
public RSAOtherPrimeInfo[] getOtherPrimeInfo()
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
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.