#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.IO;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto
{
///
/// Base interface for cipher builders.
///
public interface ICipherBuilder
{
///
/// Return the algorithm and parameter details associated with any cipher built.
///
object AlgorithmDetails { get; }
///
/// Return the maximum output size that a given input will produce.
///
/// the length of the expected input.
/// The maximum possible output size that can produced for the expected input length.
int GetMaxOutputSize(int inputLen);
///
/// Build a cipher that operates on the passed in stream.
///
/// The stream to write/read any encrypted/decrypted data.
/// A cipher based around the given stream.
ICipher BuildCipher(Stream stream);
}
}
#pragma warning restore
#endif