public interface

TlsKeyExchange

org.bouncycastle.crypto.tls.TlsKeyExchange

Class Overview

A generic interface for key exchange implementations in TLS 1.0.

Summary

Public Methods
abstract void generateClientKeyExchange(OutputStream os)
abstract byte[] generatePremasterSecret()
abstract void processClientCredentials(TlsCredentials clientCredentials)
abstract void processServerCertificate(Certificate serverCertificate)
abstract void processServerKeyExchange(InputStream is)
abstract void skipClientCredentials()
abstract void skipServerCertificate()
abstract void skipServerKeyExchange()
abstract void validateCertificateRequest(CertificateRequest certificateRequest)

Public Methods

public abstract void generateClientKeyExchange (OutputStream os)

Throws
IOException

public abstract byte[] generatePremasterSecret ()

Throws
IOException

public abstract void processClientCredentials (TlsCredentials clientCredentials)

Throws
IOException

public abstract void processServerCertificate (Certificate serverCertificate)

Throws
IOException

public abstract void processServerKeyExchange (InputStream is)

Throws
IOException

public abstract void skipClientCredentials ()

Throws
IOException

public abstract void skipServerCertificate ()

Throws
IOException

public abstract void skipServerKeyExchange ()

Throws
IOException

public abstract void validateCertificateRequest (CertificateRequest certificateRequest)

Throws
IOException