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, supportsClientECCCapabilities
notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTime
protected TlsPSKIdentityManager pskIdentityManager
public PSKTlsServer(TlsPSKIdentityManager pskIdentityManager)
public PSKTlsServer(TlsCipherFactory cipherFactory, TlsPSKIdentityManager pskIdentityManager)
protected TlsEncryptionCredentials getRSAEncryptionCredentials() throws java.io.IOException
java.io.IOException
protected DHParameters getDHParameters()
protected int[] getCipherSuites()
getCipherSuites
in class AbstractTlsServer
public TlsCredentials getCredentials() throws java.io.IOException
java.io.IOException
public TlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOException
protected TlsKeyExchange createPSKKeyExchange(int keyExchange)