@Deprecated public class Sha1Checksum extends Object implements SdkChecksum
SdkChecksum to calculate an Sha-1 checksum.| Constructor and Description |
|---|
Sha1Checksum()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getChecksumBytes()
Deprecated.
Returns the computed checksum in a byte array rather than the long provided by
Checksum.getValue(). |
long |
getValue()
Deprecated.
|
void |
mark(int readLimit)
Deprecated.
Allows marking a checksum for checksums that support the ability to mark and reset.
|
void |
reset()
Deprecated.
|
void |
update(byte[] b,
int off,
int len)
Deprecated.
|
void |
update(int b)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforAlgorithm, update, updatepublic void update(byte[] b,
int off,
int len)
public byte[] getChecksumBytes()
SdkChecksumChecksum.getValue().getChecksumBytes in interface SdkChecksumpublic void mark(int readLimit)
SdkChecksummark in interface SdkChecksumreadLimit - the maximum limit of bytes that can be read before the mark position becomes invalid.Copyright © 2026. All rights reserved.