Bouncy Castle Cryptography Library 1.47

org.bouncycastle.crypto.tls
Interface TlsClient

All Known Implementing Classes:
DefaultTlsClient, LegacyTlsClient, PSKTlsClient, SRPTlsClient

public interface TlsClient


Method Summary
 TlsAuthentication getAuthentication()
           
 TlsCipher getCipher()
           
 int[] getCipherSuites()
           
 java.util.Hashtable getClientExtensions()
           
 ProtocolVersion getClientVersion()
           
 TlsCompression getCompression()
           
 short[] getCompressionMethods()
           
 TlsKeyExchange getKeyExchange()
           
 void init(TlsClientContext context)
           
 void notifySecureRenegotiation(boolean secureNegotiation)
           
 void notifySelectedCipherSuite(int selectedCipherSuite)
           
 void notifySelectedCompressionMethod(short selectedCompressionMethod)
           
 void notifyServerVersion(ProtocolVersion selectedVersion)
           
 void notifySessionID(byte[] sessionID)
           
 void processServerExtensions(java.util.Hashtable serverExtensions)
           
 

Method Detail

init

void init(TlsClientContext context)

getClientVersion

ProtocolVersion getClientVersion()

getCipherSuites

int[] getCipherSuites()

getCompressionMethods

short[] getCompressionMethods()

getClientExtensions

java.util.Hashtable getClientExtensions()
                                        throws java.io.IOException
Throws:
java.io.IOException

notifyServerVersion

void notifyServerVersion(ProtocolVersion selectedVersion)
                         throws java.io.IOException
Throws:
java.io.IOException

notifySessionID

void notifySessionID(byte[] sessionID)

notifySelectedCipherSuite

void notifySelectedCipherSuite(int selectedCipherSuite)

notifySelectedCompressionMethod

void notifySelectedCompressionMethod(short selectedCompressionMethod)

notifySecureRenegotiation

void notifySecureRenegotiation(boolean secureNegotiation)
                               throws java.io.IOException
Throws:
java.io.IOException

processServerExtensions

void processServerExtensions(java.util.Hashtable serverExtensions)

getKeyExchange

TlsKeyExchange getKeyExchange()
                              throws java.io.IOException
Throws:
java.io.IOException

getAuthentication

TlsAuthentication getAuthentication()
                                    throws java.io.IOException
Throws:
java.io.IOException

getCompression

TlsCompression getCompression()
                              throws java.io.IOException
Throws:
java.io.IOException

getCipher

TlsCipher getCipher()
                    throws java.io.IOException
Throws:
java.io.IOException

Bouncy Castle Cryptography Library 1.47