public class MsgDigestInputStream
extends java.io.FilterInputStream
| 构造器和说明 |
|---|
MsgDigestInputStream(java.io.InputStream in,
java.security.MessageDigest md) |
MsgDigestInputStream(java.io.InputStream in,
java.lang.String name) |
public MsgDigestInputStream(java.io.InputStream in,
java.security.MessageDigest md)
public MsgDigestInputStream(java.io.InputStream in,
java.lang.String name)
public int read()
throws java.io.IOException
read 在类中 java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read 在类中 java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read 在类中 java.io.FilterInputStreamjava.io.IOExceptionpublic java.lang.String digest()
public boolean markSupported()
markSupported 在类中 java.io.FilterInputStreampublic void reset()
throws java.io.IOException
reset 在类中 java.io.FilterInputStreamjava.io.IOException