org.apache.subversion.javahl.types
Class Checksum
java.lang.Object
org.apache.subversion.javahl.types.Checksum
- All Implemented Interfaces:
- Serializable
public class Checksum
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Nested Class Summary |
static class |
Checksum.Kind
Kinds of checksum |
Constructor Summary |
Checksum(byte[] digest,
Checksum.Kind kind)
Constructor to be called from the native code |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Checksum
public Checksum(byte[] digest,
Checksum.Kind kind)
- Constructor to be called from the native code
- Parameters:
digest
- bytes of the digestkind
- kind of checksum
getDigest
public byte[] getDigest()
- Retrieve the digest
- Returns:
- the digest
getKind
public Checksum.Kind getKind()
- Retrieve the kind
- Returns:
- the kind