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, processServerSupplementalData
cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedPadding, shouldUseGMTUnixTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedPadding, shouldUseGMTUnixTime
protected TlsPSKIdentity pskIdentity
public PSKTlsClient(TlsCrypto crypto, byte[] identity, byte[] psk)
public PSKTlsClient(TlsCrypto crypto, TlsPSKIdentity pskIdentity)
protected int[] getSupportedCipherSuites()
getSupportedCipherSuites
in class AbstractTlsClient
public ProtocolVersion[] getSupportedVersions()
getSupportedVersions
in interface TlsPeer
getSupportedVersions
in class AbstractTlsPeer
public TlsPSKIdentity getPSKIdentity()
getPSKIdentity
in interface TlsClient
getPSKIdentity
in class AbstractTlsClient
public TlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOException