Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.security.DigestInputStream

Availability: JDK 1.1

public class DigestInputStream extends FilterInputStream {
   // Public Constructor
      public DigestInputStream(InputStream stream, MessageDigest digest);
   // Protected Instance Variables
      protected MessageDigest digest;
   // Public Instance Methods
      public MessageDigest getMessageDigest();
      public void on(boolean on);
      public int read() throws IOException;  // Overrides FilterInputStream.read()
      public int read(byte[] b, int off, int len) throws IOException;  // Overrides FilterInputStream.read()
      public void setMessageDigest(MessageDigest digest);
      public String toString();  // Overrides Object.toString()
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.