- java.lang.Object
-
- io.github.mmm.binary.BinaryType
-
- io.github.mmm.crypto.CryptoBinary
-
- All Implemented Interfaces:
Binary
,Streamable
- Direct Known Subclasses:
EncryptedData
,Hash
,SignatureBinary
public class CryptoBinary extends BinaryType
BinaryType
for security content such asHash
,SignatureBinary
, encrypted data, serializedKey
s, etc.
-
-
Field Summary
-
Fields inherited from class io.github.mmm.binary.BinaryType
data
-
Fields inherited from interface io.github.mmm.binary.Binary
EMPTY_BYTE_ARRAY
-
-
Constructor Summary
Constructors Constructor Description CryptoBinary(byte[] data)
The constructor.
-
Method Summary
-
Methods inherited from class io.github.mmm.binary.BinaryType
asStream, equals, format, formatBase64, formatHex, getData, getData, getDataByte, getLength, getMaxLength, getMinLength, hashCode, isZeros, parseBase64, parseHex, save, toBytes, toBytes, toInt, toLong, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.mmm.binary.Binary
formatBase64, formatHex
-
-
-
-
Constructor Detail
-
CryptoBinary
public CryptoBinary(byte[] data)
The constructor.- Parameters:
data
- the raw binarydata
.
-
-