public class PSKTlsServer extends AbstractTlsServer
Modifier and Type | Field | Description |
---|---|---|
protected TlsPSKIdentityManager |
pskIdentityManager |
cipherFactory, clientECPointFormats, clientExtensions, clientVersion, context, eccCipherSuitesOffered, encryptThenMACOffered, maxFragmentLengthOffered, namedCurves, offeredCipherSuites, offeredCompressionMethods, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, serverExtensions, serverVersion, supportedSignatureAlgorithms, truncatedHMacOffered
Constructor | Description |
---|---|
PSKTlsServer(TlsCipherFactory cipherFactory,
TlsPSKIdentityManager pskIdentityManager) |
|
PSKTlsServer(TlsPSKIdentityManager pskIdentityManager) |
Modifier and Type | Method | Description |
---|---|---|
protected TlsKeyExchange |
createPSKKeyExchange(int keyExchange) |
|
protected int[] |
getCipherSuites() |
|
TlsCredentials |
getCredentials() |
|
protected DHParameters |
getDHParameters() |
|
TlsKeyExchange |
getKeyExchange() |
|
protected TlsEncryptionCredentials |
getRSAEncryptionCredentials() |
notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTime
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
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)