Package org.bouncycastle.crypto.fips
Class FipsRSA.OAEPKTSParameters
java.lang.Object
org.bouncycastle.crypto.fips.FipsParameters
org.bouncycastle.crypto.fips.FipsRSA.KTSParameters
org.bouncycastle.crypto.fips.FipsRSA.OAEPKTSParameters
- All Implemented Interfaces:
Parameters
- Enclosing class:
- FipsRSA
Parameters for RSA based key transport using OAEP.
-
Method Summary
Modifier and TypeMethodDescriptionint
int
withKeySizeInBits
(int keySizeInBits) Specify a size for the key material to be transported.withMacKeySizeInBits
(int macKeySizeInBits) Specify a size for a MAC key to be used for the key confirmation step.withOAEPParameters
(FipsRSA.OAEPParameters oaepParameters) Specify the OAEP parameters to use during the transport step.Methods inherited from class org.bouncycastle.crypto.fips.FipsParameters
getAlgorithm
-
Method Details
-
withOAEPParameters
Specify the OAEP parameters to use during the transport step.- Parameters:
oaepParameters
- the OAEP parameters to use.- Returns:
- a new parameter set.
-
withKeySizeInBits
Specify a size for the key material to be transported.- Parameters:
keySizeInBits
- the size of the key to be transported.- Returns:
- a new parameter set.
-
withMacKeySizeInBits
Specify a size for a MAC key to be used for the key confirmation step.- Parameters:
macKeySizeInBits
- the size of the MAC key to use.- Returns:
- a new parameter set.
-
getOAEPParameters
-
getKeySizeInBits
public int getKeySizeInBits() -
getMacKeySizeInBits
public int getMacKeySizeInBits()
-