Package java.security.interfaces
Interface RSAPrivateKey
- All Superinterfaces:
Key,PrivateKey,RSAKey,Serializable
- All Known Subinterfaces:
RSAMultiPrimePrivateCrtKey,RSAPrivateCrtKey
- All Known Implementing Classes:
BCRSAPrivateCrtKey,BCRSAPrivateKey,JCERSAPrivateCrtKey,JCERSAPrivateKey,OpenSSLRSAPrivateCrtKey,OpenSSLRSAPrivateKey
public interface RSAPrivateKey extends PrivateKey, RSAKey
The interface for an PKCS#1 RSA private key.
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUIDThe serial version identifier. -
Method Summary
Modifier and Type Method Description BigIntegergetPrivateExponent()Returns the private exponentd.Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormatMethods inherited from interface java.security.interfaces.RSAKey
getModulus
-
Field Details
-
serialVersionUID
static final long serialVersionUIDThe serial version identifier.- See Also:
- Constant Field Values
-
-
Method Details
-
getPrivateExponent
BigInteger getPrivateExponent()Returns the private exponentd.- Returns:
- the private exponent
d.
-