public interface ChecksumEngine
Modifier and Type | Method and Description |
---|---|
byte[] |
calculateChecksum(byte[] data,
byte[] key,
KeyUsage usage)
Calculate a checksum given raw bytes and an (optional) key.
|
ChecksumType |
checksumType()
Returns the checksum type of this checksum engine.
|
ChecksumType checksumType()
byte[] calculateChecksum(byte[] data, byte[] key, KeyUsage usage)
data
- The datakey
- The keyusage
- The Key usage numberCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.