be.fedict.eid.applet.service.signer.asic
Class ASiCSignatureOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
be.fedict.eid.applet.service.signer.asic.ASiCSignatureOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class ASiCSignatureOutputStream
- extends ByteArrayOutputStream
ASiC signature output stream.
This output stream implementation injects an ASiC signature into an ASiC
file.
- Author:
- Frank Cornelis.
Method Summary |
void |
close()
|
ASiCSignatureOutputStream
public ASiCSignatureOutputStream(File originalZipFile,
OutputStream targetOutputStream)
- Main constructor.
- Parameters:
originalZipFile
- the original ASiC document.targetOutputStream
- the output stream in which to copy the original ASiC document,
together with the new ASiC signature.
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class ByteArrayOutputStream
- Throws:
IOException
Copyright © 2008-2012 FedICT. All Rights Reserved.