Uses of Class
java.security.MessageDigest
| Package | Description |
|---|---|
| java.security |
Provides the classes and interfaces for the security framework.
|
-
Uses of MessageDigest in java.security
Fields in java.security declared as MessageDigest Modifier and Type Field Description protected MessageDigestDigestInputStream. digestThe message digest associated with this stream.protected MessageDigestDigestOutputStream. digestThe message digest associated with this stream.Methods in java.security that return MessageDigest Modifier and Type Method Description static MessageDigestMessageDigest. getInstance(String algorithm)Returns a MessageDigest object that implements the specified digest algorithm.static MessageDigestMessageDigest. getInstance(String algorithm, String provider)Returns a MessageDigest object that implements the specified digest algorithm.static MessageDigestMessageDigest. getInstance(String algorithm, Provider provider)Returns a MessageDigest object that implements the specified digest algorithm.MessageDigestDigestInputStream. getMessageDigest()Returns the message digest associated with this stream.MessageDigestDigestOutputStream. getMessageDigest()Returns the message digest associated with this stream.Methods in java.security with parameters of type MessageDigest Modifier and Type Method Description voidDigestInputStream. setMessageDigest(MessageDigest digest)Associates the specified message digest with this stream.voidDigestOutputStream. setMessageDigest(MessageDigest digest)Associates the specified message digest with this stream.Constructors in java.security with parameters of type MessageDigest Constructor Description DigestInputStream(InputStream stream, MessageDigest digest)Creates a digest input stream, using the specified input stream and message digest.DigestOutputStream(OutputStream stream, MessageDigest digest)Creates a digest output stream, using the specified output stream and message digest.