public class WrappedRSAPrivateCrtKey extends AbstractWrappedRSAKey<org.bouncycastle.crypto.params.RSAPrivateCrtKeyParameters> implements RSAPrivateCrtKey
RSAPrivateCrtKeyParameters
.delegate, PKCS8_FORMAT, X509_FORMAT
Constructor and Description |
---|
WrappedRSAPrivateCrtKey(org.bouncycastle.crypto.params.RSAPrivateCrtKeyParameters parameters)
Creates a new instance that wraps the given BC RSA private key.
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
getCrtCoefficient() |
BigInteger |
getPrimeExponentP() |
BigInteger |
getPrimeExponentQ() |
BigInteger |
getPrimeP() |
BigInteger |
getPrimeQ() |
BigInteger |
getPrivateExponent() |
BigInteger |
getPublicExponent() |
getAlgorithm, getModulus
getEncoded, getFormat
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlgorithm, getEncoded, getFormat
destroy, isDestroyed
getModulus, getParams
public WrappedRSAPrivateCrtKey(org.bouncycastle.crypto.params.RSAPrivateCrtKeyParameters parameters)
parameters
- BC RSA private (certificate) key.public BigInteger getPublicExponent()
getPublicExponent
in interface RSAPrivateCrtKey
public BigInteger getPrimeP()
getPrimeP
in interface RSAPrivateCrtKey
public BigInteger getPrimeQ()
getPrimeQ
in interface RSAPrivateCrtKey
public BigInteger getPrimeExponentP()
getPrimeExponentP
in interface RSAPrivateCrtKey
public BigInteger getPrimeExponentQ()
getPrimeExponentQ
in interface RSAPrivateCrtKey
public BigInteger getCrtCoefficient()
getCrtCoefficient
in interface RSAPrivateCrtKey
public BigInteger getPrivateExponent()
getPrivateExponent
in interface RSAPrivateKey
Copyright © 2003-2024 Virginia Tech. All Rights Reserved.