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() |
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCertificateStatusRequest, getCipherSuites, getClientExtensions, getClientSupplementalData, getDHGroupVerifier, getNamedGroupRoles, getProtocolNames, getSessionToResume, getSNIServerNames, getSRPConfigVerifier, getSRPIdentity, getSupportedGroups, getSupportedSignatureAlgorithms, init, isFallback, notifyHandshakeBeginning, notifyNewSessionTicket, notifySelectedCipherSuite, notifyServerVersion, notifySessionID, processServerExtensions, processServerSupplementalDatagetCrypto, getKeyExchangeFactory, getRenegotiationPolicy, getSupportedVersions, notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedPadding, shouldUseGMTUnixTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCrypto, getKeyExchangeFactory, getRenegotiationPolicy, getSupportedVersions, notifyAlertRaised, notifyAlertReceived, 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 TlsPSKIdentity getPSKIdentity()
getPSKIdentity in interface TlsClientgetPSKIdentity in class AbstractTlsClientpublic TlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOException