Interface RSAPrivateKey
- All Superinterfaces:
AsymmetricKey,Destroyable,Key,PrivateKey,RSAKey,Serializable
- All Known Subinterfaces:
RSAMultiPrimePrivateCrtKey,RSAPrivateCrtKey
The interface to an RSA private key.
- Since:
- 1.2
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault AlgorithmParameterSpecReturns the parameters associated with this key.Returns the private exponent.Methods declared in interface javax.security.auth.Destroyable
destroy, isDestroyedMethods declared in interface java.security.Key
getAlgorithm, getEncoded, getFormatMethods declared in interface java.security.interfaces.RSAKey
getModulus
-
Field Details
-
serialVersionUID
Deprecated.AserialVersionUIDfield in an interface is ineffectual. Do not use; no replacement.The type fingerprint that is set to indicate serialization compatibility with a previous version of the type.- See Also:
-
-
Method Details
-
getPrivateExponent
-
getParams
Returns the parameters associated with this key. The parameters are optional and may be either explicitly specified or implicitly created during key pair generation.- Specified by:
getParamsin interfaceAsymmetricKey- Specified by:
getParamsin interfaceRSAKey- Implementation Requirements:
- The default implementation returns
null. - Returns:
- the associated parameters, may be
null - Since:
- 11
-
serialVersionUIDfield in an interface is ineffectual.