public class PSKTlsClient extends AbstractTlsClient
Modifier and Type | Field and Description |
---|---|
protected TlsPSKIdentity |
pskIdentity |
cipherFactory, clientECPointFormats, context, namedCurves, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, supportedSignatureAlgorithms
Constructor and Description |
---|
PSKTlsClient(TlsCipherFactory cipherFactory,
TlsPSKIdentity pskIdentity) |
PSKTlsClient(TlsPSKIdentity pskIdentity) |
Modifier and Type | Method and Description |
---|---|
protected TlsKeyExchange |
createPSKKeyExchange(int keyExchange) |
TlsAuthentication |
getAuthentication() |
int[] |
getCipherSuites() |
TlsKeyExchange |
getKeyExchange() |
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCipher, getClientExtensions, getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSessionToResume, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerExtensions, processServerSupplementalData
notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTime
protected TlsPSKIdentity pskIdentity
public PSKTlsClient(TlsPSKIdentity pskIdentity)
public PSKTlsClient(TlsCipherFactory cipherFactory, TlsPSKIdentity pskIdentity)
public int[] getCipherSuites()
public TlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOException
public TlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOException
protected TlsKeyExchange createPSKKeyExchange(int keyExchange)