Added in API level 1
Summary:
Methods
RSAKey
public
interface
RSAKey
java.security.interfaces.RSAKey |
The interface to a public or private key in PKCS#1 v2.2 standard, such as those for RSA, or RSASSA-PSS algorithms.
See also:
Summary
Public methods | |
---|---|
abstract
BigInteger
|
getModulus()
Returns the modulus. |
default
AlgorithmParameterSpec
|
getParams()
Returns the parameters associated with this key. |
Public methods
getModulus
Added in API level 1
public abstract BigInteger getModulus ()
Returns the modulus.
Returns | |
---|---|
BigInteger |
the modulus |
getParams
Added in API level 35
public AlgorithmParameterSpec 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.
Implementation Requirements:
- The default implementation returns
null
.
Returns | |
---|---|
AlgorithmParameterSpec |
the associated parameters, may be null |