Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.security.DigestOutputStream

Availability: JDK 1.1

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

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