public class EncryptedData extends CryptoBinary
encrypted data.| Constructor and Description |
|---|
EncryptedData(byte[] data)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static EncryptedData |
of(byte[] hash) |
static EncryptedData |
ofBase64(String base64) |
static EncryptedData |
ofHex(String hex) |
asStream, equals, format, formatBase64, formatHex, getData, getData, getDataByte, getLength, getMaxLength, getMinLength, hashCode, isZeros, parseBase64, parseHex, save, toBytes, toBytes, toInt, toLong, toStringpublic EncryptedData(byte[] data)
data - the raw binary data.public static EncryptedData of(byte[] hash)
hash - the raw representation.EncryptedData or null in case hash was null.public static EncryptedData ofBase64(String base64)
base64 - the data as base64.EncryptedData or null in case base64 was null.public static EncryptedData ofHex(String hex)
hex - the data as hex.EncryptedData or null in case base64 was null.Copyright © 2001–2019 mmm-Team. All rights reserved.