Class NoOpPayloadChecksumStore
java.lang.Object
software.amazon.awssdk.http.auth.aws.internal.signer.NoOpPayloadChecksumStore
- All Implemented Interfaces:
- PayloadChecksumStore
@SdkInternalApi
public final class NoOpPayloadChecksumStore
extends Object
implements PayloadChecksumStore
- 
Method SummaryModifier and TypeMethodDescriptionbooleancontainsChecksumValue(ChecksumAlgorithm algorithm) Returnstrueif the store contains a checksum value for the given algorithm,falseotherwise.static NoOpPayloadChecksumStorecreate()byte[]getChecksumValue(ChecksumAlgorithm algorithm) Retrieve the stored checksum value for the given algorithm.byte[]putChecksumValue(ChecksumAlgorithm algorithm, byte[] checksum) Store the checksum value computed using the given algorithm.
- 
Method Details- 
putChecksumValueDescription copied from interface:PayloadChecksumStoreStore the checksum value computed using the given algorithm.- Specified by:
- putChecksumValuein interface- PayloadChecksumStore
- Returns:
- The previous value stored for this algorithm or nullif not present.
 
- 
getChecksumValueDescription copied from interface:PayloadChecksumStoreRetrieve the stored checksum value for the given algorithm.- Specified by:
- getChecksumValuein interface- PayloadChecksumStore
- Returns:
- The checksum value for the given algorithm or nullif not present.
 
- 
containsChecksumValueDescription copied from interface:PayloadChecksumStoreReturnstrueif the store contains a checksum value for the given algorithm,falseotherwise.- Specified by:
- containsChecksumValuein interface- PayloadChecksumStore
 
- 
create
 
-