Package org.bouncycastle.crypto.params
Class Blake3Parameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.Blake3Parameters
-
- All Implemented Interfaces:
CipherParameters
public class Blake3Parameters extends java.lang.Object implements CipherParameters
Blake3 Parameters.
-
-
Constructor Summary
Constructors Constructor Description Blake3Parameters()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearKey()
Clear the key bytes.static Blake3Parameters
context(byte[] pContext)
Create a key parameter.byte[]
getContext()
Obtain the salt.byte[]
getKey()
Obtain the key.static Blake3Parameters
key(byte[] pKey)
Create a key parameter.
-
-
-
Method Detail
-
context
public static Blake3Parameters context(byte[] pContext)
Create a key parameter.- Parameters:
pContext
- the context- Returns:
- the parameter
-
key
public static Blake3Parameters key(byte[] pKey)
Create a key parameter.- Parameters:
pKey
- the key- Returns:
- the parameter
-
getKey
public byte[] getKey()
Obtain the key.- Returns:
- the key
-
clearKey
public void clearKey()
Clear the key bytes.
-
getContext
public byte[] getContext()
Obtain the salt.- Returns:
- the salt
-
-