public class DigestValidationInputStream extends SdkDigestInputStream
Constructor and Description |
---|
DigestValidationInputStream(InputStream in,
MessageDigest digest,
byte[] serverSideHash) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getMD5Checksum() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
isMetricActivated, release, skip
getMessageDigest, on, setMessageDigest, toString
available, close, mark, markSupported, read, reset
public DigestValidationInputStream(InputStream in, MessageDigest digest, byte[] serverSideHash)
public int read() throws IOException
read
in class DigestInputStream
IOException
InputStream.read()
public int read(byte[] b, int off, int len) throws IOException
read
in class DigestInputStream
IOException
InputStream.read(byte[], int, int)
public byte[] getMD5Checksum()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.