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
Modifier and TypeMethodDescriptionReturn 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
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..
-