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
-
Method Summary
Modifier and TypeMethodDescriptiondefault AlgorithmParameterSpec
Returns the parameters associated with this key.Returns the private exponent.Methods declared in interface javax.security.auth.Destroyable
destroy, isDestroyed
Methods declared in interface java.security.Key
getAlgorithm, getEncoded, getFormat
Methods declared in interface java.security.interfaces.RSAKey
getModulus
-
Field Details
-
serialVersionUID
Deprecated.AserialVersionUID
field 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:
getParams
in interfaceAsymmetricKey
- Specified by:
getParams
in interfaceRSAKey
- Implementation Requirements:
- The default implementation returns
null
. - Returns:
- the associated parameters, may be
null
- Since:
- 22
-
serialVersionUID
field in an interface is ineffectual.