public class RSAOtherPrimeInfo extends Object
OtherPrimeInfo ::= SEQUENCE { prime INTEGER, exponent INTEGER, coefficient INTEGER }
RSAPrivateCrtKeySpec
, RSAMultiPrimePrivateCrtKey
コンストラクタ | 説明 |
---|---|
RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient) |
PKCS#1に定義されたprime、primeExponent、crtCoefficientを指定し、新しい
RSAOtherPrimeInfo を作成します。 |
修飾子と型 | メソッド | 説明 |
---|---|---|
BigInteger |
getCrtCoefficient() |
素数のcrtCoefficientを返します。
|
BigInteger |
getExponent() |
素数の指数を返します。
|
BigInteger |
getPrime() |
素数を返します。
|
public RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
RSAOtherPrimeInfo
を作成します。prime
- nの素因数。primeExponent
- 指数。crtCoefficient
- 中国剰余定理の係数。NullPointerException
- パラメータ、つまりprime
、primeExponent
、crtCoefficient
のいずれかがnullの場合。public final BigInteger getPrime()
public final BigInteger getExponent()
public final BigInteger getCrtCoefficient()
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。