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