Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Field Summary

Fields inherited from class java.io.ByteArrayOutputStream
`buf, count`

Constructor Summary
`ASiCSignatureOutputStream(File originalZipFile, OutputStream targetOutputStream)` Main constructor.

Method Summary
`void` | `close()`

Methods inherited from class java.io.ByteArrayOutputStream
`reset, size, toByteArray, toString, toString, toString, write, write, writeTo`

Methods inherited from class java.io.OutputStream
`flush, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### 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.

Method Detail

### close

    public void close()
               throws IOException

  Specified by:
    `close` in interface `Closeable`
  Overrides:
    `close` in class `ByteArrayOutputStream`
  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 FedICT. All Rights Reserved.