Package org.mozilla.jss.crypto
Class RSAParameterSpec
java.lang.Object
java.security.spec.RSAKeyGenParameterSpec
org.mozilla.jss.crypto.RSAParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
@Deprecated(since="5.4",
forRemoval=true)
public class RSAParameterSpec
extends RSAKeyGenParameterSpec
Deprecated, for removal: This API element is subject to removal in a future version.
This class specifies the parameters used for generating an RSA key pair.
-
Field Summary
Fields inherited from class java.security.spec.RSAKeyGenParameterSpec
F0, F4
-
Constructor Summary
ConstructorsConstructorDescriptionRSAParameterSpec
(int keySize, BigInteger publicExponent) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new RSAParameterSpec with the specified parameter values. -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated, for removal: This API element is subject to removal in a future version.This method has been deprecated in favour of the one provided by the superclassRSAKeyGenParameterSpec.getKeysize()
.Methods inherited from class java.security.spec.RSAKeyGenParameterSpec
getKeyParams, getKeysize, getPublicExponent
-
Constructor Details
-
RSAParameterSpec
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new RSAParameterSpec with the specified parameter values.- Parameters:
keySize
- The size of the modulus in bits.publicExponent
- The public exponent e. Common values are 3, 17, and 65537. 65537 is recommended.
-
-
Method Details
-
getKeySize
Deprecated, for removal: This API element is subject to removal in a future version.This method has been deprecated in favour of the one provided by the superclassRSAKeyGenParameterSpec.getKeysize()
.Returns the size of the modulus in bits.
-
RSAKeyGenParameterSpec
.