Class Md5Checksum
- java.lang.Object
-
- software.amazon.awssdk.core.checksums.Md5Checksum
-
- All Implemented Interfaces:
Checksum,SdkChecksum
@Deprecated public class Md5Checksum extends Object implements SdkChecksum
Deprecated.this class is deprecated and subject to removal.Implementation ofSdkChecksumto calculate an MD5 checksum.
-
-
Constructor Summary
Constructors Constructor Description Md5Checksum()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]getChecksumBytes()Deprecated.Returns the computed checksum in a byte array rather than the long provided byChecksum.getValue().longgetValue()Deprecated.voidmark(int readLimit)Deprecated.Allows marking a checksum for checksums that support the ability to mark and reset.voidreset()Deprecated.voidupdate(byte[] b, int off, int len)Deprecated.voidupdate(int b)Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.core.checksums.SdkChecksum
update, update
-
-
-
-
Method Detail
-
update
public void update(byte[] b, int off, int len)Deprecated.
-
getChecksumBytes
public byte[] getChecksumBytes()
Deprecated.Description copied from interface:SdkChecksumReturns the computed checksum in a byte array rather than the long provided byChecksum.getValue().- Specified by:
getChecksumBytesin interfaceSdkChecksum- Returns:
- byte[] containing the checksum
-
mark
public void mark(int readLimit)
Deprecated.Description copied from interface:SdkChecksumAllows marking a checksum for checksums that support the ability to mark and reset.- Specified by:
markin interfaceSdkChecksum- Parameters:
readLimit- the maximum limit of bytes that can be read before the mark position becomes invalid.
-
-