public class SRPTlsClient extends AbstractTlsClient
Modifier and Type | Field and Description |
---|---|
protected TlsSRPIdentity |
srpIdentity |
cipherSuites, context, supportedGroups, supportedSignatureAlgorithms
Constructor and Description |
---|
SRPTlsClient(TlsCrypto crypto,
byte[] identity,
byte[] password) |
SRPTlsClient(TlsCrypto crypto,
TlsSRPIdentity srpIdentity) |
Modifier and Type | Method and Description |
---|---|
TlsAuthentication |
getAuthentication() |
java.util.Hashtable |
getClientExtensions() |
ProtocolVersion |
getClientVersion() |
TlsSRPIdentity |
getSRPIdentity() |
protected int[] |
getSupportedCipherSuites() |
void |
processServerExtensions(java.util.Hashtable serverExtensions) |
protected boolean |
requireSRPServerExtension() |
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCertificateStatusRequest, getCipherSuites, getClientSupplementalData, getDHGroupVerifier, getEarlyKeyShareGroups, getNamedGroupRoles, getProtocolNames, getPSKIdentity, getSessionToResume, getSNIServerNames, getSRPConfigVerifier, getSupportedGroups, getSupportedSignatureAlgorithms, init, isFallback, notifyHandshakeBeginning, notifyNewSessionTicket, notifySelectedCipherSuite, notifyServerVersion, notifySessionID, processServerSupplementalData
cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, getSupportedVersions, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedPadding, shouldUseGMTUnixTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, getSupportedVersions, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedPadding, shouldUseGMTUnixTime
protected TlsSRPIdentity srpIdentity
public SRPTlsClient(TlsCrypto crypto, byte[] identity, byte[] password)
public SRPTlsClient(TlsCrypto crypto, TlsSRPIdentity srpIdentity)
protected int[] getSupportedCipherSuites()
getSupportedCipherSuites
in class AbstractTlsClient
protected boolean requireSRPServerExtension()
public ProtocolVersion getClientVersion()
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 TlsSRPIdentity getSRPIdentity()
getSRPIdentity
in interface TlsClient
getSRPIdentity
in class AbstractTlsClient
public TlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOException