| Modifier and Type | Field and Description | 
|---|---|
private ChecksumAlgorithm | 
Checksum.checksumAlgorithm  | 
| Modifier and Type | Method and Description | 
|---|---|
ChecksumAlgorithm | 
Checksum.getAlgorithm()  | 
static ChecksumAlgorithm | 
ChecksumAlgorithm.getByExtension(File file)  | 
static ChecksumAlgorithm | 
ChecksumAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ChecksumAlgorithm[] | 
ChecksumAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
ChecksummedFile.calculateChecksum(ChecksumAlgorithm checksumAlgorithm)
Calculate the checksum based on a given checksum. 
 | 
File | 
ChecksummedFile.createChecksum(ChecksumAlgorithm checksumAlgorithm)
Creates a checksum file of the provided referenceFile. 
 | 
boolean | 
ChecksummedFile.fixChecksums(ChecksumAlgorithm[] algorithms)
Fix or create checksum files for the reference file. 
 | 
File | 
ChecksummedFile.getChecksumFile(ChecksumAlgorithm checksumAlgorithm)
Get the checksum file for the reference file and hash. 
 | 
boolean | 
ChecksummedFile.isValidChecksum(ChecksumAlgorithm algorithm)
 Given a checksum file, check to see if the file it represents is valid according to the checksum. 
 | 
boolean | 
ChecksummedFile.isValidChecksums(ChecksumAlgorithm[] algorithms)
Of any checksum files present, validate that the reference file conforms
 the to the checksum. 
 | 
String | 
ChecksummedFile.parseChecksum(String rawChecksumString,
             ChecksumAlgorithm expectedHash,
             String expectedPath)
Parse a checksum string. 
 | 
| Constructor and Description | 
|---|
Checksum(ChecksumAlgorithm checksumAlgorithm)  | 
| Modifier and Type | Method and Description | 
|---|---|
private void | 
ArtifactMissingChecksumsConsumer.createFixChecksum(String path,
                 ChecksumAlgorithm checksumAlgorithm)  | 
| Modifier and Type | Field and Description | 
|---|---|
private ChecksumAlgorithm[] | 
ChecksumPolicy.algorithms  | 
| Modifier and Type | Field and Description | 
|---|---|
private ChecksumAlgorithm[] | 
MetadataTools.algorithms  | 
| Modifier and Type | Field and Description | 
|---|---|
private ChecksumAlgorithm[] | 
DefaultRepositoriesService.algorithms  | 
| Modifier and Type | Field and Description | 
|---|---|
private ChecksumAlgorithm[] | 
DefaultFileUploadService.algorithms  | 
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.