public class RsaKemAlgorithmParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
Algorithm parameter specification for the RsaKem Key-Encapsulation mechanism:
According to ISO/IEC 18033-2 the encoding of RsaKemParameters has two components, namely:
RsaKemParameters ::= SEQUENCE {
keyDerivationFunction ALGORITHM,
keyLength KeyLength
}
KeyLength ::= INTEGER(1..MAX)
The AlgorithmParameters encapsulates algorithm parameters for KDF1-3. At the time of writing, only these parameters are supported. This may change, therefore the implementation uses this placeholder class
This is a transparent representation of the algorithm parameters. For an opaque version, seeRsaKemAlgorithmParameters
| Constructor and Description |
|---|
RsaKemAlgorithmParameterSpec(KeyDerivationParameterSpec kdfParams)
Initializes the parameters with parameters for a KDF.
|
| Modifier and Type | Method and Description |
|---|---|
KeyDerivationParameterSpec |
getKdfParams()
Returns the KeyDerivationParameterSpec with which the object was initialized.
|
public RsaKemAlgorithmParameterSpec(KeyDerivationParameterSpec kdfParams)
kdfParams - an instance of algorithm parameters for one of the aforementioned KDFspublic KeyDerivationParameterSpec getKdfParams()