JavaTM Platform
Standard Ed. 6

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

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

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