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
Customizable SHAKE (cSHAKE) parameters.
-
Method Summary
Modifier and TypeMethodDescriptionwithCustomizationString
(byte[] customizationString) Return a new set of parameters specifying a specific customization string.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 Details
-
withFunctionName
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
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.
-