Package org.bouncycastle.crypto
Interface OutputEncryptor<T extends Parameters>
-
- Type Parameters:
T
- the parameters type for the encryptor.
- All Superinterfaces:
OutputCipher<T>
- All Known Subinterfaces:
OutputAEADEncryptor<T>
- All Known Implementing Classes:
FipsOutputAEADEncryptor
,FipsOutputEncryptor
public interface OutputEncryptor<T extends Parameters> extends OutputCipher<T>
Base interface for an output producing Encryptor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CipherOutputStream
getEncryptingStream(java.io.OutputStream out)
Return a stream which will encrypt it's input writing the results to out.-
Methods inherited from interface org.bouncycastle.crypto.OutputCipher
getMaxOutputSize, getParameters, getUpdateOutputSize
-
-
-
-
Method Detail
-
getEncryptingStream
CipherOutputStream getEncryptingStream(java.io.OutputStream out)
Return a stream which will encrypt it's input writing the results to out.- Parameters:
out
- the output stream to collect the encrypted data in.- Returns:
- a stream for writing the original plain-text data.
-
-