public class SRPTlsClient extends AbstractTlsClient
| Modifier and Type | Field and Description |
|---|---|
protected TlsSRPIdentity |
srpIdentity |
cipherSuites, context, protocolVersions, supportedGroups, supportedSignatureAlgorithms, supportedSignatureAlgorithmsCert| 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, getProtocolVersions, getPSKIdentity, getSessionToResume, getSNIServerNames, getSRPConfigVerifier, getSupportedGroups, getSupportedSignatureAlgorithms, getSupportedSignatureAlgorithmsCert, init, isFallback, notifyHandshakeBeginning, notifyNewSessionTicket, notifySelectedCipherSuite, notifyServerVersion, notifySessionID, processServerSupplementalDataallowLegacyResumption, cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, getSupportedVersions, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedMasterSecret, shouldUseExtendedPadding, shouldUseGMTUnixTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowLegacyResumption, cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedMasterSecret, shouldUseExtendedPadding, shouldUseGMTUnixTimeprotected TlsSRPIdentity srpIdentity
public SRPTlsClient(TlsCrypto crypto, byte[] identity, byte[] password)
public SRPTlsClient(TlsCrypto crypto, TlsSRPIdentity srpIdentity)
protected int[] getSupportedCipherSuites()
getSupportedCipherSuites in class AbstractTlsPeerprotected boolean requireSRPServerExtension()
public ProtocolVersion getClientVersion()
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 TlsSRPIdentity getSRPIdentity()
getSRPIdentity in interface TlsClientgetSRPIdentity in class AbstractTlsClientpublic TlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOException