public abstract class UniqueKeyFactory
extends java.lang.Object
| Constructor and Description |
|---|
UniqueKeyFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract UniqueKey |
from(byte[] source)
Import the key from the source value.
|
abstract UniqueKey |
from(java.lang.String source)
Import the key from the source value.
|
abstract UniqueKey |
generate() |
public abstract UniqueKey from(java.lang.String source) throws UniqueKeyException
source - the given key as string.UniqueKey instance.UniqueKeyException - if an error during importing the key.public abstract UniqueKey from(byte[] source) throws UniqueKeyException
source - the given key as bytes array.UniqueKey instance.UniqueKeyException - if an error during importing the key.