public class DigestValidationInputStream extends SdkDigestInputStream
digest
in
构造器和说明 |
---|
DigestValidationInputStream(InputStream in,
MessageDigest digest,
byte[] serverSideHash) |
限定符和类型 | 方法和说明 |
---|---|
byte[] |
getMD5Checksum() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
isMetricActivated
getMessageDigest, on, setMessageDigest, toString
available, close, mark, markSupported, read, reset, skip
public DigestValidationInputStream(InputStream in, MessageDigest digest, byte[] serverSideHash)
public int read() throws IOException
read
在类中 DigestInputStream
IOException
InputStream.read()
public int read(byte[] b, int off, int len) throws IOException
read
在类中 DigestInputStream
IOException
InputStream.read(byte[], int, int)
public byte[] getMD5Checksum()
Copyright © 2016. All rights reserved.