Package org.bouncycastle.crypto.fips
Class FipsInputDecryptor<T extends Parameters>
java.lang.Object
org.bouncycastle.crypto.fips.FipsInputDecryptor<T>
- Type Parameters:
T- the parameters type associated with the final implementation of this decryptor.
- All Implemented Interfaces:
InputDecryptor<T>
public abstract class FipsInputDecryptor<T extends Parameters>
extends Object
implements InputDecryptor<T>
Base class for the approved mode InputDecryptor implementations.
-
Method Summary
Modifier and TypeMethodDescriptionabstract InputStreamReturn a stream which will decrypt what it reads from the stream in and pass it through.abstract TReturn the parameters for this decryptor.
-
Method Details
-
getParameters
Description copied from interface:InputDecryptorReturn the parameters for this decryptor.- Specified by:
getParametersin interfaceInputDecryptor<T extends Parameters>- Returns:
- the decryptor's parameters.
-
getDecryptingStream
Description copied from interface:InputDecryptorReturn a stream which will decrypt what it reads from the stream in and pass it through.- Specified by:
getDecryptingStreamin interfaceInputDecryptor<T extends Parameters>- Parameters:
in- the source of encrypted data..- Returns:
- a stream which produces decrypted data based on bytes read from in..
-