public abstract class SRPTlsClient extends AbstractTlsClient
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Integer |
EXT_SRP
Deprecated.
use TlsSRPUtils.EXT_SRP instead
|
protected byte[] |
identity |
protected byte[] |
password |
cipherFactory, clientECPointFormats, context, namedCurves, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, supportedSignatureAlgorithms| Constructor and Description |
|---|
SRPTlsClient(byte[] identity,
byte[] password) |
SRPTlsClient(TlsCipherFactory cipherFactory,
byte[] identity,
byte[] password) |
| Modifier and Type | Method and Description |
|---|---|
protected TlsKeyExchange |
createSRPKeyExchange(int keyExchange) |
TlsCipher |
getCipher() |
int[] |
getCipherSuites() |
java.util.Hashtable |
getClientExtensions() |
TlsKeyExchange |
getKeyExchange() |
void |
processServerExtensions(java.util.Hashtable serverExtensions) |
getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSessionToResume, init, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerSupplementalDatanotifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthenticationnotifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTimepublic static final java.lang.Integer EXT_SRP
protected byte[] identity
protected byte[] password
public SRPTlsClient(byte[] identity,
byte[] password)
public SRPTlsClient(TlsCipherFactory cipherFactory, byte[] identity, byte[] password)
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 TlsCipher getCipher() throws java.io.IOException
java.io.IOExceptionprotected TlsKeyExchange createSRPKeyExchange(int keyExchange)