Package org.bouncycastle.crypto.fips
Class FipsOutputDecryptor<T extends Parameters>
java.lang.Object
org.bouncycastle.crypto.fips.FipsOutputDecryptor<T>
- Type Parameters:
T- the parameters type associated with the final implementation of this decryptor.
- All Implemented Interfaces:
OutputCipher<T>,OutputDecryptor<T>
- Direct Known Subclasses:
FipsOutputAEADDecryptor
public abstract class FipsOutputDecryptor<T extends Parameters>
extends Object
implements OutputDecryptor<T>
Base class for the approved mode OutputDecryptor implementations.
-
Method Summary
Modifier and TypeMethodDescriptionabstract CipherOutputStreamReturn a stream which will decrypt it's input writing the results to out.abstract TReturn the parameters for this cipher.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bouncycastle.crypto.OutputCipher
getMaxOutputSize, getUpdateOutputSize
-
Method Details
-
getParameters
Description copied from interface:OutputCipherReturn the parameters for this cipher.- Specified by:
getParametersin interfaceOutputCipher<T extends Parameters>- Returns:
- the cipher's parameters.
-
getDecryptingStream
Description copied from interface:OutputDecryptorReturn a stream which will decrypt it's input writing the results to out.- Specified by:
getDecryptingStreamin interfaceOutputDecryptor<T extends Parameters>- Parameters:
out- the output stream to collect the decrypted data in.- Returns:
- a stream for writing the encrypted data.
-