public final class RSAParameterSpec extends Object implements AlgorithmParameterSpec
KeyUtil
will therefore treat this class as the parameter type.Constructor and Description |
---|
RSAParameterSpec(BigInteger modulus)
Construct a new instance.
|
RSAParameterSpec(RSAKey rsaKey)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BigInteger |
getModulus()
Get the modulus.
|
int |
hashCode() |
public RSAParameterSpec(BigInteger modulus)
modulus
- the modulus (must not be null
)public RSAParameterSpec(RSAKey rsaKey)
rsaKey
- the RSA key from which the modulus should be acquired (must not be null
)Copyright © 2020 JBoss by Red Hat. All rights reserved.