using System;
using System.IO;
namespace Org.BouncyCastle.Crypto.Tls
{
///
/// A generic interface for key exchange implementations in TLS 1.0.
///
public interface TlsKeyExchange
{
///
void SkipServerCertificate();
///
void ProcessServerCertificate(Certificate serverCertificate);
///
void SkipServerKeyExchange();
///
void ProcessServerKeyExchange(Stream input);
///
void ValidateCertificateRequest(CertificateRequest certificateRequest);
///
void SkipClientCredentials();
///
void ProcessClientCredentials(TlsCredentials clientCredentials);
///
void GenerateClientKeyExchange(Stream output);
///
byte[] GeneratePremasterSecret();
}
}