Interface ICipherBuilder
- Namespace
- Org.BouncyCastle.Crypto
- Assembly
- BouncyCastle.Cryptography.dll
Base interface for cipher builders.
public interface ICipherBuilder
Properties
AlgorithmDetails
Return the algorithm and parameter details associated with any cipher built.
object AlgorithmDetails { get; }
Property Value
Methods
BuildCipher(Stream)
Build a cipher that operates on the passed in stream.
ICipher BuildCipher(Stream stream)
Parameters
streamStreamThe stream to write/read any encrypted/decrypted data.
Returns
- ICipher
A cipher based around the given stream.
GetMaxOutputSize(int)
Return the maximum output size that a given input will produce.
int GetMaxOutputSize(int inputLen)
Parameters
inputLenintthe length of the expected input.
Returns
- int
The maximum possible output size that can produced for the expected input length.