Package org.apache.cxf.common.util
Class MessageDigestInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- java.security.DigestInputStream
-
- org.apache.cxf.common.util.MessageDigestInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class MessageDigestInputStream extends DigestInputStream
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALGO_SHA_256
-
Fields inherited from class java.security.DigestInputStream
digest
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description MessageDigestInputStream(InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBase64Digest()
String
getBase64UrlDigest()
byte[]
getDigestBytes()
-
Methods inherited from class java.security.DigestInputStream
getMessageDigest, on, read, read, setMessageDigest, toString
-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Field Detail
-
ALGO_SHA_256
public static final String ALGO_SHA_256
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MessageDigestInputStream
public MessageDigestInputStream(InputStream is)
-
-