Class ChecksumUtil.ConstantChecksumAlgorithm

  • All Implemented Interfaces:
    ChecksumAlgorithm
    Enclosing class:
    ChecksumUtil

    public static class ChecksumUtil.ConstantChecksumAlgorithm
    extends Object
    implements ChecksumAlgorithm
    An implementation of a ChecksumAlgorithm that will map to ConstantChecksum, which provides a constant checksum. This isn't super useful, but is needed in cases such as signing, where the content-hash (a cryptographically-secure "checksum") can be a set of pre-defined values.