public class Checksum
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Checksum.Kind
Kinds of checksum
|
| Constructor and Description |
|---|
Checksum(byte[] digest,
Checksum.Kind kind)
Constructor to be called from the native code
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getDigest()
Retrieve the digest
|
Checksum.Kind |
getKind()
Retrieve the kind
|
public Checksum(byte[] digest,
Checksum.Kind kind)
digest - bytes of the digestkind - kind of checksumpublic byte[] getDigest()
public Checksum.Kind getKind()