Interface OutputEncryptor<T extends Parameters>

Type Parameters:
T - the parameters type for the encryptor.
All Superinterfaces:
OutputCipher<T>
All Known Subinterfaces:
OutputAEADEncryptor<T>
All Known Implementing Classes:
FipsOutputAEADEncryptor, FipsOutputEncryptor

public interface OutputEncryptor<T extends Parameters> extends OutputCipher<T>
Base interface for an output producing Encryptor.
  • Method Details

    • getEncryptingStream

      CipherOutputStream getEncryptingStream(OutputStream out)
      Return a stream which will encrypt it's input writing the results to out.
      Parameters:
      out - the output stream to collect the encrypted data in.
      Returns:
      a stream for writing the original plain-text data.