Class Checksum

java.lang.Object
org.apache.subversion.javahl.types.Checksum
All Implemented Interfaces:
Serializable

public class Checksum extends Object implements Serializable
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • digest

      private byte[] digest
      Digest of the checksum
    • kind

      private Checksum.Kind kind
      Kind of the Checksum
  • Constructor Details

    • Checksum

      public Checksum(byte[] digest, Checksum.Kind kind)
      Constructor to be called from the native code
      Parameters:
      digest - bytes of the digest
      kind - kind of checksum
  • Method Details

    • getDigest

      public byte[] getDigest()
      Retrieve the digest
      Returns:
      the digest
    • getKind

      public Checksum.Kind getKind()
      Retrieve the kind
      Returns:
      the kind