java.security.Key , java.security.KeyFactory , KeySpec, X509EncodedKeySpec, RSAPrivateKeySpec, RSAPrivateCrtKeySpec
| Modifier and Type | Field and Description |
|---|---|
| private final BigInteger | |
| private final AlgorithmParameterSpec | |
| private final BigInteger |
| Access | Constructor and Description |
|---|---|
| public | RSAPublicKeySpec(BigInteger
the modulus modulus, BigInteger the public exponent publicExponent)Creates a new RSAPublicKeySpec. |
| public | RSAPublicKeySpec(BigInteger
the modulus modulus, BigInteger the public exponent publicExponent, AlgorithmParameterSpec the parameters associated with this key, may be null params)Creates a new RSAPublicKeySpec with additional key parameters. |
| Modifier and Type | Method and Description |
|---|---|
| public BigInteger | |
| public AlgorithmParameterSpec | Returns: the parameters associated with this keyReturns the parameters associated with this key, may be null if not present. |
| public BigInteger |
| modulus | back to summary |
|---|---|
| private final BigInteger modulus | |
| params | back to summary |
|---|---|
| private final AlgorithmParameterSpec params | |
| publicExponent | back to summary |
|---|---|
| private final BigInteger publicExponent | |
| RSAPublicKeySpec | back to summary |
|---|---|
| public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) Creates a new RSAPublicKeySpec.
| |
| RSAPublicKeySpec | back to summary |
|---|---|
| public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent, AlgorithmParameterSpec params) Creates a new RSAPublicKeySpec with additional key parameters.
| |
| getModulus | back to summary |
|---|---|
| public BigInteger getModulus() Returns the modulus.
| |
| getParams | back to summary |
|---|---|
| public AlgorithmParameterSpec getParams() Returns the parameters associated with this key, may be null if not present.
| |
| getPublicExponent | back to summary |
|---|---|
| public BigInteger getPublicExponent() Returns the public exponent.
| |