public class PSKTlsClient extends AbstractTlsClient
| Modifier and Type | Field and Description |
|---|---|
protected TlsPSKIdentity |
pskIdentity |
cipherSuites, context, supportedGroups, supportedSignatureAlgorithms| Constructor and Description |
|---|
PSKTlsClient(TlsCrypto crypto,
byte[] identity,
byte[] psk) |
PSKTlsClient(TlsCrypto crypto,
TlsPSKIdentity pskIdentity) |
| Modifier and Type | Method and Description |
|---|---|
TlsAuthentication |
getAuthentication() |
TlsPSKIdentity |
getPSKIdentity() |
protected int[] |
getSupportedCipherSuites() |
ProtocolVersion[] |
getSupportedVersions() |
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCertificateStatusRequest, getCipherSuites, getClientExtensions, getClientSupplementalData, getDHGroupVerifier, getEarlyKeyShareGroups, getNamedGroupRoles, getProtocolNames, getSessionToResume, getSNIServerNames, getSRPConfigVerifier, getSRPIdentity, getSupportedGroups, getSupportedSignatureAlgorithms, init, isFallback, notifyHandshakeBeginning, notifyNewSessionTicket, notifySelectedCipherSuite, notifyServerVersion, notifySessionID, processServerExtensions, processServerSupplementalDatacancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedPadding, shouldUseGMTUnixTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedPadding, shouldUseGMTUnixTimeprotected TlsPSKIdentity pskIdentity
public PSKTlsClient(TlsCrypto crypto, byte[] identity, byte[] psk)
public PSKTlsClient(TlsCrypto crypto, TlsPSKIdentity pskIdentity)
protected int[] getSupportedCipherSuites()
getSupportedCipherSuites in class AbstractTlsClientpublic ProtocolVersion[] getSupportedVersions()
getSupportedVersions in interface TlsPeergetSupportedVersions in class AbstractTlsPeerpublic TlsPSKIdentity getPSKIdentity()
getPSKIdentity in interface TlsClientgetPSKIdentity in class AbstractTlsClientpublic TlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOException