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