public class SignedOutputStream
extends java.io.OutputStream
Constructor and Description |
---|
SignedOutputStream(java.security.PrivateKey sourceKey,
java.io.OutputStream out)
Create a stream that can verify the data read from the stream in
blocks.
|
public SignedOutputStream(java.security.PrivateKey sourceKey, java.io.OutputStream out) throws java.lang.Exception
java.lang.Exception
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void signBlock() throws java.io.IOException, java.security.SignatureException
java.io.IOException
java.security.SignatureException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException