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 aChecksumAlgorithmthat will map toConstantChecksum, 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
Constructors Constructor Description ConstantChecksumAlgorithm(String value)
-
-
-
Constructor Detail
-
ConstantChecksumAlgorithm
public ConstantChecksumAlgorithm(String value)
-
-
Method Detail
-
algorithmId
public String algorithmId()
- Specified by:
algorithmIdin interfaceChecksumAlgorithm
-
-