public class SRPTlsClient extends AbstractTlsClient
| Modifier and Type | Field and Description |
|---|---|
protected TlsSRPGroupVerifier |
groupVerifier |
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) |
SRPTlsClient(TlsCipherFactory cipherFactory,
TlsSRPGroupVerifier groupVerifier,
byte[] identity,
byte[] password) |
| Modifier and Type | Method and Description |
|---|---|
protected TlsKeyExchange |
createSRPKeyExchange(int keyExchange) |
TlsAuthentication |
getAuthentication() |
int[] |
getCipherSuites() |
Hashtable |
getClientExtensions() |
TlsKeyExchange |
getKeyExchange() |
void |
processServerExtensions(Hashtable serverExtensions) |
protected boolean |
requireSRPServerExtension() |
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCipher, getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSessionToResume, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerSupplementalDatanotifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTimeprotected 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 Hashtable getClientExtensions() throws IOException
getClientExtensions in interface TlsClientgetClientExtensions in class AbstractTlsClientIOExceptionpublic void processServerExtensions(Hashtable serverExtensions) throws IOException
processServerExtensions in interface TlsClientprocessServerExtensions in class AbstractTlsClientIOExceptionpublic TlsKeyExchange getKeyExchange() throws IOException
IOExceptionpublic TlsAuthentication getAuthentication() throws IOException
IOExceptionprotected TlsKeyExchange createSRPKeyExchange(int keyExchange)
Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.