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
Base interface for an output producing Encryptor.
-
Method Summary
Modifier and TypeMethodDescriptionReturn 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 Details
-
getEncryptingStream
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.
-