public abstract class DefaultTlsServer extends AbstractTlsServer
cipherFactory, clientECPointFormats, clientExtensions, clientVersion, context, eccCipherSuitesOffered, encryptThenMACOffered, maxFragmentLengthOffered, namedCurves, offeredCipherSuites, offeredCompressionMethods, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, serverExtensions, serverVersion, supportedSignatureAlgorithms, truncatedHMacOffered
Constructor and Description |
---|
DefaultTlsServer() |
DefaultTlsServer(TlsCipherFactory cipherFactory) |
Modifier and Type | Method and Description |
---|---|
protected TlsKeyExchange |
createDHEKeyExchange(int keyExchange) |
protected TlsKeyExchange |
createDHKeyExchange(int keyExchange) |
protected TlsKeyExchange |
createECDHEKeyExchange(int keyExchange) |
protected TlsKeyExchange |
createECDHKeyExchange(int keyExchange) |
protected TlsKeyExchange |
createRSAKeyExchange() |
protected int[] |
getCipherSuites() |
TlsCredentials |
getCredentials() |
protected DHParameters |
getDHParameters() |
protected TlsSignerCredentials |
getDSASignerCredentials() |
protected TlsSignerCredentials |
getECDSASignerCredentials() |
TlsKeyExchange |
getKeyExchange() |
protected TlsEncryptionCredentials |
getRSAEncryptionCredentials() |
protected TlsSignerCredentials |
getRSASignerCredentials() |
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
public DefaultTlsServer()
public DefaultTlsServer(TlsCipherFactory cipherFactory)
protected TlsSignerCredentials getDSASignerCredentials() throws java.io.IOException
java.io.IOException
protected TlsSignerCredentials getECDSASignerCredentials() throws java.io.IOException
java.io.IOException
protected TlsEncryptionCredentials getRSAEncryptionCredentials() throws java.io.IOException
java.io.IOException
protected TlsSignerCredentials getRSASignerCredentials() 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 createDHKeyExchange(int keyExchange)
protected TlsKeyExchange createDHEKeyExchange(int keyExchange)
protected TlsKeyExchange createECDHKeyExchange(int keyExchange)
protected TlsKeyExchange createECDHEKeyExchange(int keyExchange)
protected TlsKeyExchange createRSAKeyExchange()