PrivateKeyRSA¶
- public class PrivateKeyRSA extends PrivateKey implements java.security.interfaces.RSAPrivateCrtKey¶
Class describes a RSA private key object. Inherits from
PrivateKey
and implementsjava.security.interfaces.RSAPrivateCrtKey
.Note that the constructor is not intended to be called by user code. Such objects are constructed internally by the API.
Methods¶
getAlgorithm¶
getCrtCoefficient¶
- public BigInteger getCrtCoefficient()¶
The private key is not extractable from the card, thus this method is not available.
- Throws:
ProviderException
– always.
getEncoded¶
- public byte[] getEncoded()¶
The private key is not extractable from the card, thus this method is not available.
- Throws:
ProviderException
– always.
getFormat¶
getModulus¶
- public BigInteger getModulus()¶
Gets the modulus.
- Returns:
the modulus.
getPrimeExponentP¶
- public BigInteger getPrimeExponentP()¶
The private key is not extractable from the card, thus this method is not available.
- Throws:
ProviderException
– always.
getPrimeExponentQ¶
- public BigInteger getPrimeExponentQ()¶
The private key is not extractable from the card, thus this method is not available.
- Throws:
ProviderException
– always.
getPrimeP¶
- public BigInteger getPrimeP()¶
The private key is not extractable from the card, thus this method is not available.
- Throws:
ProviderException
– always.
getPrimeQ¶
- public BigInteger getPrimeQ()¶
The private key is not extractable from the card, thus this method is not available.
- Throws:
ProviderException
– always.
getPrivateExponent¶
- public BigInteger getPrivateExponent()¶
The private key is not extractable from the card, thus this method is not available.
- Throws:
ProviderException
– always.
getPublicExponent¶
- public BigInteger getPublicExponent()¶
Gets the public exponent.
- Returns:
the public exponent.