Package org.wildfly.security.key
Class RSAParameterSpec
java.lang.Object
org.wildfly.security.key.RSAParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
Algorithm parameter specification for RSA keys. RSA keys do not support a parameter object, but it does in fact
have a parameter: the modulus. The methods on
KeyUtil will therefore treat this class as the parameter type.- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionRSAParameterSpec(BigInteger modulus) Construct a new instance.RSAParameterSpec(RSAKey rsaKey) Construct a new instance. -
Method Summary
-
Constructor Details
-
RSAParameterSpec
Construct a new instance.- Parameters:
modulus- the modulus (must not benull)
-
RSAParameterSpec
Construct a new instance.- Parameters:
rsaKey- the RSA key from which the modulus should be acquired (must not benull)
-
-
Method Details