public class SkeinParameters extends java.lang.Object implements CipherParameters
Parameterised Skein can be used for:
key.nonce.public key with the message digest.key identifier.recommended format or
 arbitrary personalisation string.SkeinEngine, 
SkeinDigest, 
SkeinMac| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SkeinParameters.Builder
A builder for  
SkeinParameters. | 
| Modifier and Type | Field and Description | 
|---|---|
static int | 
PARAM_TYPE_CONFIG
The parameter type for the Skein configuration block: 4. 
 | 
static int | 
PARAM_TYPE_KEY
The parameter type for a secret key, supporting MAC or KDF functions: 0. 
 | 
static int | 
PARAM_TYPE_KEY_IDENTIFIER
The parameter type for a key identifier string: 16. 
 | 
static int | 
PARAM_TYPE_MESSAGE
The parameter type for the message: 48. 
 | 
static int | 
PARAM_TYPE_NONCE
The parameter type for a nonce: 20. 
 | 
static int | 
PARAM_TYPE_OUTPUT
The parameter type for the output transformation: 63. 
 | 
static int | 
PARAM_TYPE_PERSONALISATION
The parameter type for a personalisation string: 8. 
 | 
static int | 
PARAM_TYPE_PUBLIC_KEY
The parameter type for a public key: 12. 
 | 
| Constructor and Description | 
|---|
SkeinParameters()  | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
getKey()
Obtains the value of the  
key parameter, or null if not
 set. | 
byte[] | 
getKeyIdentifier()
Obtains the value of the  
key identifier parameter, or
 null if not set. | 
byte[] | 
getNonce()
Obtains the value of the  
nonce parameter, or null if
 not set. | 
java.util.Hashtable | 
getParameters()
Obtains a map of type (Integer) to value (byte[]) for the parameters tracked in this object. 
 | 
byte[] | 
getPersonalisation()
Obtains the value of the  
personalisation parameter, or
 null if not set. | 
byte[] | 
getPublicKey()
Obtains the value of the  
public key parameter, or
 null if not set. | 
public static final int PARAM_TYPE_KEY
public static final int PARAM_TYPE_CONFIG
public static final int PARAM_TYPE_PERSONALISATION
public static final int PARAM_TYPE_PUBLIC_KEY
public static final int PARAM_TYPE_KEY_IDENTIFIER
public static final int PARAM_TYPE_NONCE
public static final int PARAM_TYPE_MESSAGE
public static final int PARAM_TYPE_OUTPUT
public java.util.Hashtable getParameters()
public byte[] getKey()
key parameter, or null if not
 set.public byte[] getPersonalisation()
personalisation parameter, or
 null if not set.public byte[] getPublicKey()
public key parameter, or
 null if not set.public byte[] getKeyIdentifier()
key identifier parameter, or
 null if not set.public byte[] getNonce()
nonce parameter, or null if
 not set.