Interface RSAPublicKey
- 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 AlgorithmParameterSpecReturns the parameters associated with this key.Returns the public exponent.Methods 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
-
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:
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.