Package org.eclipse.jetty.toolchain.test
Class Sha1Sum
java.lang.Object
org.eclipse.jetty.toolchain.test.Sha1Sum
Calculate the sha1sum for various content
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringcalculate(byte[] buf) static Stringcalculate(byte[] buf, int offset, int len) static StringDeprecated, for removal: This API element is subject to removal in a future version.static Stringstatic StringDeprecated, for removal: This API element is subject to removal in a future version.useloadSha1(Path)insteadstatic String
-
Constructor Details
-
Sha1Sum
public Sha1Sum()
-
-
Method Details
-
calculate
@Deprecated(forRemoval=true, since="6.0") public static String calculate(File file) throws NoSuchAlgorithmException, IOException Deprecated, for removal: This API element is subject to removal in a future version.usecalculate(Path)instead- Throws:
NoSuchAlgorithmExceptionIOException
-
calculate
- Throws:
NoSuchAlgorithmExceptionIOException
-
calculate
- Throws:
NoSuchAlgorithmException
-
calculate
- Throws:
NoSuchAlgorithmException
-
loadSha1
- Throws:
IOException
-
loadSha1
@Deprecated(forRemoval=true, since="6.0") public static String loadSha1(File sha1File) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.useloadSha1(Path)instead- Throws:
IOException
-
calculate(Path)instead