Package org.ossreviewtoolkit.model
Object HashAlgorithm.Companion
-
- All Implemented Interfaces:
public class HashAlgorithm.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final List<HashAlgorithm>VERIFIABLEpublic final static HashAlgorithm.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final static HashAlgorithmfromString(String alias)Create a hash algorithm from one of its alias names. final HashAlgorithmcreate(String value)Create a hash algorithm from a hash value. final List<HashAlgorithm>getVERIFIABLE()The list of algorithms that can be verified. -
-
Method Detail
-
fromString
final static HashAlgorithm fromString(String alias)
Create a hash algorithm from one of its alias names.
-
create
final HashAlgorithm create(String value)
Create a hash algorithm from a hash value.
-
getVERIFIABLE
final List<HashAlgorithm> getVERIFIABLE()
The list of algorithms that can be verified.
-
-
-
-