Interface InputDecryptor<T>

Type Parameters:
T - the parameters type for the decryptor.
All Known Subinterfaces:
InputAEADDecryptor<T>
All Known Implementing Classes:
FipsInputAEADDecryptor, FipsInputDecryptor

public interface InputDecryptor<T>
Base interface for an input consuming Decryptor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a stream which will decrypt what it reads from the stream in and pass it through.
    Return the parameters for this decryptor.
  • Method Details

    • getParameters

      T getParameters()
      Return the parameters for this decryptor.
      Returns:
      the decryptor's parameters.
    • getDecryptingStream

      InputStream getDecryptingStream(InputStream in)
      Return a stream which will decrypt what it reads from the stream in and pass it through.
      Parameters:
      in - the source of encrypted data..
      Returns:
      a stream which produces decrypted data based on bytes read from in..