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, processServerSupplementalDatanotifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTimeprotected TlsPSKIdentity pskIdentity
public PSKTlsClient(TlsPSKIdentity pskIdentity)
public PSKTlsClient(TlsCipherFactory cipherFactory, TlsPSKIdentity pskIdentity)
public int[] getCipherSuites()
public TlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOExceptionpublic TlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOExceptionprotected TlsKeyExchange createPSKKeyExchange(int keyExchange)