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.Exceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void signBlock()
throws java.io.IOException,
java.security.SignatureException
java.io.IOExceptionjava.security.SignatureExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException