|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream javax.servlet.ServletOutputStream org.kuali.rice.ksb.security.SignatureSigningOutputStream
public class SignatureSigningOutputStream
An OutputStream which decorates another OutputStream with a wrapper that digitally signs the data when the OutputStream is closed. Since this class does not know where the resulting digital signature will reside, a DigitalSigner will be invoked to execute the actual signing of the message (i.e. put it in a header).
Constructor Summary | |
---|---|
SignatureSigningOutputStream(DigitalSigner signer,
OutputStream wrappedOutputStream,
boolean delayWrite)
Constructs a SignatureSigningOutputStream with the given DigitalSigner and underlying OutputStream. |
Method Summary | |
---|---|
void |
close()
|
void |
write(int data)
|
Methods inherited from class javax.servlet.ServletOutputStream |
---|
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
Methods inherited from class java.io.OutputStream |
---|
flush, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SignatureSigningOutputStream(DigitalSigner signer, OutputStream wrappedOutputStream, boolean delayWrite)
Method Detail |
---|
public void write(int data) throws IOException
write
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in class OutputStream
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |