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, store
public HexStringConfidentialKey(String id, int length)
length
- Length of the hexadecimal string.Copyright © 2004–2022. All rights reserved.