Modifier and Type | Method and Description |
---|---|
Algorithm |
ChecksumSpecs.algorithm() |
static Algorithm |
Algorithm.fromValue(String value) |
static Algorithm |
Algorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Algorithm[] |
Algorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<Algorithm> |
ChecksumSpecs.responseValidationAlgorithms() |
Modifier and Type | Method and Description |
---|---|
ChecksumSpecs.Builder |
ChecksumSpecs.Builder.algorithm(Algorithm algorithm) |
static SdkChecksum |
SdkChecksum.forAlgorithm(Algorithm algorithm)
Gets the Checksum based on the required Algorithm.
|
Modifier and Type | Method and Description |
---|---|
ChecksumSpecs.Builder |
ChecksumSpecs.Builder.responseValidationAlgorithms(List<Algorithm> responseValidationAlgorithms) |
Modifier and Type | Field and Description |
---|---|
static ExecutionAttribute<Algorithm> |
SdkExecutionAttribute.HTTP_CHECKSUM_VALIDATION_ALGORITHM
The Algorithm used for checksum validation of a response.
|
Modifier and Type | Method and Description |
---|---|
ChecksumCalculatingAsyncRequestBody.Builder |
ChecksumCalculatingAsyncRequestBody.Builder.algorithm(Algorithm algorithm)
Sets the checksum algorithm.
|
Modifier and Type | Method and Description |
---|---|
static long |
AwsUnsignedChunkedEncodingInputStream.calculateChecksumContentLength(Algorithm algorithm,
String headerName)
Calculates the content length for a given Algorithm and header name.
|
Modifier and Type | Method and Description |
---|---|
static Pair<Algorithm,String> |
HttpChecksumUtils.getAlgorithmChecksumValuePair(SdkHttpResponse sdkHttpResponse,
ChecksumSpecs resolvedChecksumSpecs)
Loops through the Supported list of checksum for the operation, and gets the Header value for the checksum header.
|
Modifier and Type | Method and Description |
---|---|
static long |
ChunkContentUtils.calculateChecksumContentLength(Algorithm algorithm,
String headerName)
Calculates the content length for a given Algorithm and header name.
|
static byte[] |
HttpChecksumUtils.computeChecksum(InputStream is,
Algorithm algorithm)
Computes the Checksum of the data in the given input stream and returns it as an array of bytes.
|
Copyright © 2022. All rights reserved.