public class HexStringConfidentialKey extends ConfidentialKey
ConfidentialKey that is the random hexadecimal string of length N.
This is typically used as a unique ID, as a hex dump is suitable for printing, copy-pasting, as well as use as an identifier.
| Constructor and Description |
|---|
HexStringConfidentialKey(Class owner,
String shortName,
int length) |
HexStringConfidentialKey(String id,
int length) |
| Modifier and Type | Method and Description |
|---|---|
String |
get()
Returns the persisted hex string value.
|
getId, load, storepublic HexStringConfidentialKey(String id, int length)
length - Length of the hexadecimal string.Copyright © 2019. All rights reserved.