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
public static final class FipsRSA.OAEPKTSParameters extends FipsRSA.KTSParameters
Parameters for RSA based key transport using OAEP.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getKeySizeInBits()
int
getMacKeySizeInBits()
FipsRSA.OAEPParameters
getOAEPParameters()
FipsRSA.OAEPKTSParameters
withKeySizeInBits(int keySizeInBits)
Specify a size for the key material to be transported.FipsRSA.OAEPKTSParameters
withMacKeySizeInBits(int macKeySizeInBits)
Specify a size for a MAC key to be used for the key confirmation step.FipsRSA.OAEPKTSParameters
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 Detail
-
withOAEPParameters
public FipsRSA.OAEPKTSParameters withOAEPParameters(FipsRSA.OAEPParameters oaepParameters)
Specify the OAEP parameters to use during the transport step.- Parameters:
oaepParameters
- the OAEP parameters to use.- Returns:
- a new parameter set.
-
withKeySizeInBits
public FipsRSA.OAEPKTSParameters withKeySizeInBits(int keySizeInBits)
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
public FipsRSA.OAEPKTSParameters withMacKeySizeInBits(int macKeySizeInBits)
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
public FipsRSA.OAEPParameters getOAEPParameters()
-
getKeySizeInBits
public int getKeySizeInBits()
-
getMacKeySizeInBits
public int getMacKeySizeInBits()
-
-