Top Description Fields Constructors Methods
org.bouncycastle.crypto.params

public Class Blake3Parameters

extends Object
implements CipherParameters
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.CipherParameters
Imports
org.bouncycastle.crypto.CipherParameters, org.bouncycastle.util.Arrays

Blake3 Parameters.

Field Summary

Modifier and TypeField and Description
private static final int
KEYLEN

The key length.

private byte[]
theContext

The context.

private byte[]
theKey

The key.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
clearKey()

Clear the key bytes.

public static Blake3Parameters

Returns:

the parameter
context
(final byte[]
the context
pContext
)

Create a key parameter.

public byte[]

Returns:

the salt
getContext
()

Obtain the salt.

public byte[]

Returns:

the key
getKey
()

Obtain the key.

public static Blake3Parameters

Returns:

the parameter
key
(final byte[]
the key
pKey
)

Create a key parameter.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

KEYLENback to summary
private static final int KEYLEN

The key length.

theContextback to summary
private byte[] theContext

The context.

theKeyback to summary
private byte[] theKey

The key.

Constructor Detail

Blake3Parametersback to summary
public Blake3Parameters()

Method Detail

clearKeyback to summary
public void clearKey()

Clear the key bytes.

contextback to summary
public static Blake3Parameters context(final byte[] pContext)

Create a key parameter.

Parameters
pContext:byte[]

the context

Returns:Blake3Parameters

the parameter

getContextback to summary
public byte[] getContext()

Obtain the salt.

Returns:byte[]

the salt

getKeyback to summary
public byte[] getKey()

Obtain the key.

Returns:byte[]

the key

keyback to summary
public static Blake3Parameters key(final byte[] pKey)

Create a key parameter.

Parameters
pKey:byte[]

the key

Returns:Blake3Parameters

the parameter