Package org.bouncycastle.crypto.fips
Class FipsSHS.CSHAKEParameters
- java.lang.Object
-
- org.bouncycastle.crypto.fips.FipsParameters
-
- org.bouncycastle.crypto.fips.FipsSHS.Parameters
-
- org.bouncycastle.crypto.fips.FipsSHS.CSHAKEParameters
-
- All Implemented Interfaces:
Parameters
- Enclosing class:
- FipsSHS
public static final class FipsSHS.CSHAKEParameters extends FipsSHS.Parameters
Customizable SHAKE (cSHAKE) parameters.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FipsSHS.CSHAKEParameters
withCustomizationString(byte[] customizationString)
Return a new set of parameters specifying a specific customization string.FipsSHS.CSHAKEParameters
withFunctionName(byte[] functionName)
Return a new set of parameters specifying a specific function name bit string.-
Methods inherited from class org.bouncycastle.crypto.fips.FipsParameters
getAlgorithm
-
-
-
-
Method Detail
-
withFunctionName
public FipsSHS.CSHAKEParameters withFunctionName(byte[] functionName)
Return a new set of parameters specifying a specific function name bit string. Note: this parameter is reserved for use by NIST, it is best not to use it unless a standard value is available.- Parameters:
functionName
- the function name bit string (N).- Returns:
- a new set of CSHAKEParameters including the N value.
-
withCustomizationString
public FipsSHS.CSHAKEParameters withCustomizationString(byte[] customizationString)
Return a new set of parameters specifying a specific customization string.- Parameters:
customizationString
- the function name bit string (S).- Returns:
- a new set of CSHAKEParameters including the S value.
-
-