- All Superinterfaces:
AsymmetricKey
,Key
,PublicKey
,RSAKey
,Serializable
The interface to an RSA public key.
- Since:
- 1.2
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault AlgorithmParameterSpec
Returns the parameters associated with this key.Returns the public exponent.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
-
getPublicExponent
-
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.