All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.security.DigestOutputStream Maven / Gradle / Ivy

The newest version!
package java.security;

import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class DigestOutputStream extends FilterOutputStream {
    protected MessageDigest digest;

    public DigestOutputStream(OutputStream stream, MessageDigest digest) {super(null);}

    public MessageDigest getMessageDigest() {
        return null;
    }

    public void on(boolean arg0) {}

    public void setMessageDigest(MessageDigest digest) {}

    public String toString() {
        return null;
    }

    /**
     * @throws IOException
     */
    public void write(int b) throws IOException {}

    /**
     * @throws IOException
     */
    public void write(byte[] b, int off, int len) throws IOException {}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy