| Package | Description |
|---|---|
| software.amazon.awssdk.http.auth.aws.internal.signer |
| Modifier and Type | Class and Description |
|---|---|
class |
FlexibleChecksummer
A "flexible" implementation of a checksummer.
|
class |
PrecomputedSha256Checksummer
An implementation of a checksummer that simply passes along a computed value as a checksum.
|
| Modifier and Type | Method and Description |
|---|---|
static Checksummer |
Checksummer.create()
Get a default implementation of a checksummer, which calculates the SHA-256 checksum and places it in the
x-amz-content-sha256 header.
|
static Checksummer |
Checksummer.forFlexibleChecksum(ChecksumAlgorithm checksumAlgorithm)
Get a flexible checksummer that performs two checksums: the given checksum-algorithm and the SHA-256 checksum.
|
static Checksummer |
Checksummer.forFlexibleChecksum(String precomputedSha256,
ChecksumAlgorithm checksumAlgorithm)
Get a flexible checksummer that performs two checksums: the given checksum-algorithm and a precomputed checksum from the
given checksum string.
|
static Checksummer |
Checksummer.forNoOp() |
static Checksummer |
Checksummer.forPrecomputed256Checksum(String precomputedSha256)
Get a precomputed checksummer which places the precomputed checksum to the x-amz-content-sha256 header.
|
Copyright © 2023. All rights reserved.