public class PSKTlsServer extends AbstractTlsServer
| Modifier and Type | Field and Description |
|---|---|
protected TlsPSKIdentityManager |
pskIdentityManager |
cipherFactory, clientECPointFormats, clientExtensions, clientVersion, context, eccCipherSuitesOffered, encryptThenMACOffered, maxFragmentLengthOffered, namedCurves, offeredCipherSuites, offeredCompressionMethods, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, serverExtensions, serverVersion, supportedSignatureAlgorithms, truncatedHMacOffered| Constructor and Description |
|---|
PSKTlsServer(TlsCipherFactory cipherFactory,
TlsPSKIdentityManager pskIdentityManager) |
PSKTlsServer(TlsPSKIdentityManager pskIdentityManager) |
| Modifier and Type | Method and Description |
|---|---|
protected TlsKeyExchange |
createPSKKeyExchange(int keyExchange) |
protected int[] |
getCipherSuites() |
TlsCredentials |
getCredentials() |
protected DHParameters |
getDHParameters() |
TlsKeyExchange |
getKeyExchange() |
protected TlsEncryptionCredentials |
getRSAEncryptionCredentials() |
allowEncryptThenMAC, allowTruncatedHMac, checkServerExtensions, getCertificateRequest, getCertificateStatus, getCipher, getCompression, getCompressionMethods, getMaximumVersion, getMinimumVersion, getNewSessionTicket, getSelectedCipherSuite, getSelectedCompressionMethod, getServerExtensions, getServerSupplementalData, getServerVersion, init, notifyClientCertificate, notifyClientVersion, notifyFallback, notifyOfferedCipherSuites, notifyOfferedCompressionMethods, processClientExtensions, processClientSupplementalData, supportsClientECCCapabilitiesnotifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTimeprotected TlsPSKIdentityManager pskIdentityManager
public PSKTlsServer(TlsPSKIdentityManager pskIdentityManager)
public PSKTlsServer(TlsCipherFactory cipherFactory, TlsPSKIdentityManager pskIdentityManager)
protected TlsEncryptionCredentials getRSAEncryptionCredentials() throws java.io.IOException
java.io.IOExceptionprotected DHParameters getDHParameters()
protected int[] getCipherSuites()
getCipherSuites in class AbstractTlsServerpublic TlsCredentials getCredentials() throws java.io.IOException
java.io.IOExceptionpublic TlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOExceptionprotected TlsKeyExchange createPSKKeyExchange(int keyExchange)