Class CrcChecksumProvider
java.lang.Object
software.amazon.awssdk.checksums.internal.CrcChecksumProvider
Utility class providing implementations of CRC checksums, specifically CRC32C and CRC64NVME.
Supports the following implementations for CRC32C:
- Java-based CRC32C (Java 9+)
- CRT-based CRC32C (using AWS CRT library)
- SDK-based CRC32C (fallback)
Only supports CRT-based implementation for CRC64NVME (using AWS CRT library).
For internal use only (SdkInternalApi
).
-
Method Summary
Modifier and TypeMethodDescriptionstatic SdkChecksum
Tries to create a Java 9-based CRC32C checksum.
-
Method Details
-
crc32cImplementation
Tries to create a Java 9-based CRC32C checksum. If it's not available, it tries to create a CRT-based checksum. If both are not available, it falls back to an SDK-based CRC32C checksum.- Returns:
- An instance of
SdkChecksum
, based on the first available option.
-