public class SRPTlsClient extends AbstractTlsClient
| Modifier and Type | Field and Description |
|---|---|
static int[] |
BASE_CIPHER_SUITES |
protected byte[] |
identity |
protected byte[] |
password |
protected TlsSRPConfigVerifier |
srpConfigVerifier |
protected int[] |
supportedCipherSuites |
clientECPointFormats, context, keyExchangeFactory, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, supportedGroups, supportedSignatureAlgorithms| Constructor and Description |
|---|
SRPTlsClient(TlsCrypto crypto,
byte[] identity,
byte[] password) |
SRPTlsClient(TlsCrypto crypto,
TlsKeyExchangeFactory keyExchangeFactory,
TlsSRPConfigVerifier srpConfigVerifier,
byte[] identity,
byte[] password) |
| Modifier and Type | Method and Description |
|---|---|
protected TlsKeyExchange |
createSRPKeyExchange(int keyExchange) |
TlsAuthentication |
getAuthentication() |
int[] |
getCipherSuites() |
java.util.Hashtable |
getClientExtensions() |
TlsKeyExchange |
getKeyExchange() |
void |
processServerExtensions(java.util.Hashtable serverExtensions) |
protected boolean |
requireSRPServerExtension() |
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, createECConfigVerifier, getCertificateStatusRequest, getCipher, getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSessionToResume, getSNIServerNames, getSupportedSignatureAlgorithms, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerSupplementalDatagetCrypto, notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCrypto, notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTimepublic static final int[] BASE_CIPHER_SUITES
protected TlsSRPConfigVerifier srpConfigVerifier
protected byte[] identity
protected byte[] password
protected int[] supportedCipherSuites
public SRPTlsClient(TlsCrypto crypto, byte[] identity, byte[] password)
public SRPTlsClient(TlsCrypto crypto, TlsKeyExchangeFactory keyExchangeFactory, TlsSRPConfigVerifier srpConfigVerifier, byte[] identity, byte[] password)
protected boolean requireSRPServerExtension()
public int[] getCipherSuites()
public java.util.Hashtable getClientExtensions()
throws java.io.IOException
getClientExtensions in interface TlsClientgetClientExtensions in class AbstractTlsClientjava.io.IOExceptionpublic void processServerExtensions(java.util.Hashtable serverExtensions)
throws java.io.IOException
processServerExtensions in interface TlsClientprocessServerExtensions in class AbstractTlsClientjava.io.IOExceptionpublic TlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOExceptionpublic TlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOExceptionprotected TlsKeyExchange createSRPKeyExchange(int keyExchange) throws java.io.IOException
java.io.IOException