Package org.bouncycastle.crypto
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStreamgetDecryptingStream(java.io.InputStream in)Return a stream which will decrypt what it reads from the stream in and pass it through.TgetParameters()Return the parameters for this decryptor.
-
-
-
Method Detail
-
getParameters
T getParameters()
Return the parameters for this decryptor.- Returns:
- the decryptor's parameters.
-
getDecryptingStream
java.io.InputStream getDecryptingStream(java.io.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..
-
-