be.fgov.ehealth.etee.crypto.utils

## Interface DataPipe

- All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable
  All Known Implementing Classes:
    DataPipeInFile, DataPipeInMemory

      public interface DataPipe
      extends java.io.Closeable

  Pipe to push incoming data into while processing cryptographic operations.
  Data can be read from it afterwards.
  Whether or not this pipe itself supports streaming between input and outcome depends on implementation and use.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.io.InputStream` | `getFrom()` Reads data from the pipe.
    `java.io.OutputStream` | `getTo()` Adds data to the pipe.

    - ### Methods inherited from interface java.io.Closeable

      `close`

- - ### Method Detail

    - #### getFrom

          java.io.InputStream getFrom()

      Reads data from the pipe.
      Returns:
        the stream to read from the pipe

    - #### getTo

          java.io.OutputStream getTo()

      Adds data to the pipe.
      Returns:
        the stream to write to the pipe

Copyright © 2025 eHealth. All rights reserved.