public class SRPTlsClient extends AbstractTlsClient
Modifier and Type | Field and Description |
---|---|
protected TlsSRPGroupVerifier |
groupVerifier
Deprecated.
|
protected byte[] |
identity
Deprecated.
|
protected byte[] |
password
Deprecated.
|
cipherFactory, clientECPointFormats, context, namedCurves, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, supportedSignatureAlgorithms
Constructor and Description |
---|
SRPTlsClient(byte[] identity,
byte[] password)
Deprecated.
|
SRPTlsClient(TlsCipherFactory cipherFactory,
byte[] identity,
byte[] password)
Deprecated.
|
SRPTlsClient(TlsCipherFactory cipherFactory,
TlsSRPGroupVerifier groupVerifier,
byte[] identity,
byte[] password)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected TlsKeyExchange |
createSRPKeyExchange(int keyExchange)
Deprecated.
|
TlsAuthentication |
getAuthentication()
Deprecated.
|
int[] |
getCipherSuites()
Deprecated.
|
java.util.Hashtable |
getClientExtensions()
Deprecated.
|
TlsKeyExchange |
getKeyExchange()
Deprecated.
|
void |
processServerExtensions(java.util.Hashtable serverExtensions)
Deprecated.
|
protected boolean |
requireSRPServerExtension()
Deprecated.
|
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCipher, getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSessionToResume, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerSupplementalData
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
protected TlsSRPGroupVerifier groupVerifier
protected byte[] identity
protected byte[] password
public SRPTlsClient(byte[] identity, byte[] password)
public SRPTlsClient(TlsCipherFactory cipherFactory, byte[] identity, byte[] password)
public SRPTlsClient(TlsCipherFactory cipherFactory, TlsSRPGroupVerifier groupVerifier, byte[] identity, byte[] password)
protected boolean requireSRPServerExtension()
public int[] getCipherSuites()
public java.util.Hashtable getClientExtensions() throws java.io.IOException
getClientExtensions
in interface TlsClient
getClientExtensions
in class AbstractTlsClient
java.io.IOException
public void processServerExtensions(java.util.Hashtable serverExtensions) throws java.io.IOException
processServerExtensions
in interface TlsClient
processServerExtensions
in class AbstractTlsClient
java.io.IOException
public TlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOException
public TlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOException
protected TlsKeyExchange createSRPKeyExchange(int keyExchange)