Class ChecksumUtil.ConstantChecksumAlgorithm
java.lang.Object
software.amazon.awssdk.http.auth.aws.internal.signer.util.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.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ConstantChecksumAlgorithm
-
-
Method Details
-
algorithmId
Description copied from interface:ChecksumAlgorithm
The ID of the checksum algorithm. This is matched against algorithm names used in smithy traits (e.g. "CRC32C" from the aws.protocols#HTTPChecksum smithy trait)- Specified by:
algorithmId
in interfaceChecksumAlgorithm
-