JavaTM 2
Platform
Std. Ed. v1.4.0

java.security.spec
クラス RSAOtherPrimeInfo

java.lang.Object
  |
  +--java.security.spec.RSAOtherPrimeInfo

public class RSAOtherPrimeInfo
extends Object

このクラスは、RSA の OtherPrimeInfo 構造 (PKCS#1 v2.1 の定義による) 内部の三重項 (素数、指数、係数) を表します。RSA の OtherPrimeInfo の ASN.1 構文を次に示します。

 OtherPrimeInfo ::= SEQUENCE {
   prime INTEGER,
   exponent INTEGER,
   coefficient INTEGER
   }

 

導入されたバージョン:
1.4
関連項目:
RSAPrivateCrtKeySpec, RSAMultiPrimePrivateCrtKey

コンストラクタの概要
RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
          PKCS#1 の定義によるprime、primeExponent、crtCoefficient を与える新しい RSAOtherPrimeInfo を作成します。
 
メソッドの概要
 BigInteger getCrtCoefficient()
          プライムの crtCoefficient を返します。
 BigInteger getExponent()
          プライムの指数を返します。
 BigInteger getPrime()
          プライムを返します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RSAOtherPrimeInfo

public RSAOtherPrimeInfo(BigInteger prime,
                         BigInteger primeExponent,
                         BigInteger crtCoefficient)
PKCS#1 の定義によるprime、primeExponent、crtCoefficient を与える新しい RSAOtherPrimeInfo を作成します。

パラメータ:
prime - n の素因数
primeExponent - 指数
crtCoefficient - 中国剰余定理の係数
例外:
NullPointerException - primeprimeExponentcrtCoefficient のどれかが null の場合
メソッドの詳細

getPrime

public final BigInteger getPrime()
プライムを返します。

戻り値:
プライム

getExponent

public final BigInteger getExponent()
プライムの指数を返します。

戻り値:
primeExponent

getCrtCoefficient

public final BigInteger getCrtCoefficient()
プライムの crtCoefficient を返します。

戻り値:
crtCoefficient

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.