public class PSKTlsServer extends AbstractTlsServer
Modifier and Type | Field and Description |
---|---|
protected TlsPSKIdentityManager |
pskIdentityManager
Deprecated.
|
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)
Deprecated.
|
PSKTlsServer(TlsPSKIdentityManager pskIdentityManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected TlsKeyExchange |
createPSKKeyExchange(int keyExchange)
Deprecated.
|
protected int[] |
getCipherSuites()
Deprecated.
|
TlsCredentials |
getCredentials()
Deprecated.
|
protected DHParameters |
getDHParameters()
Deprecated.
|
TlsKeyExchange |
getKeyExchange()
Deprecated.
|
protected TlsEncryptionCredentials |
getRSAEncryptionCredentials()
Deprecated.
|
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
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, 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)