public class RSAPrivateCrtKeySpec extends RSAPrivateKeySpec
Constructor and Description |
---|
RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)
创建一个新的
RSAPrivateCrtKeySpec 给出的弹性模量,publicexponent,privateexponent,primep,primeq,primeexponentp,primeexponentq,和crtcoefficient在PKCS # 1定义。
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
getCrtCoefficient()
返回crtcoefficient。
|
BigInteger |
getPrimeExponentP()
返回primeexponentp。
|
BigInteger |
getPrimeExponentQ()
返回primeexponentq。
|
BigInteger |
getPrimeP()
返回primep。
|
BigInteger |
getPrimeQ()
返回primeq。
|
BigInteger |
getPublicExponent()
返回公共指数。
|
getModulus, getPrivateExponent
public RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)
RSAPrivateCrtKeySpec
给出的弹性模量,publicexponent,privateexponent,primep,primeq,primeexponentp,primeexponentq,和crtcoefficient在PKCS # 1定义。
modulus
-模数n
publicExponent
-公开指数e
privateExponent
-私人指数D
primeP
的素因子p n
primeQ
- N的素因子Q
primeExponentP
-这是D MOD(P-1)
primeExponentQ
-这是D MOD(q-1)
crtCoefficient
-中国剩余定理系数p,q
public BigInteger getPublicExponent()
public BigInteger getPrimeP()
public BigInteger getPrimeQ()
public BigInteger getPrimeExponentP()
public BigInteger getPrimeExponentQ()
public BigInteger getCrtCoefficient()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.