Class ConstantChecksum
- java.lang.Object
-
- software.amazon.awssdk.http.auth.aws.internal.signer.checksums.ConstantChecksum
-
- All Implemented Interfaces:
Checksum,SdkChecksum
public class ConstantChecksum extends Object implements SdkChecksum
Implementation ofSdkChecksumto provide a constant checksum.
-
-
Constructor Summary
Constructors Constructor Description ConstantChecksum(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getChecksumBytes()longgetValue()voidmark(int readLimit)voidreset()voidupdate(byte[] b, int off, int len)voidupdate(int b)-
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.checksums.SdkChecksum
update, update
-
-
-
-
Constructor Detail
-
ConstantChecksum
public ConstantChecksum(String value)
-
-
Method Detail
-
getChecksumBytes
public byte[] getChecksumBytes()
- Specified by:
getChecksumBytesin interfaceSdkChecksum
-
mark
public void mark(int readLimit)
- Specified by:
markin interfaceSdkChecksum
-
-