public abstract class DefaultTlsServer extends AbstractTlsServer
cipherFactory, clientECPointFormats, clientExtensions, clientVersion, context, eccCipherSuitesOffered, namedCurves, offeredCipherSuites, offeredCompressionMethods, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, serverExtensions, serverVersion, supportedSignatureAlgorithms
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() |
TlsCipher |
getCipher() |
protected int[] |
getCipherSuites() |
TlsCredentials |
getCredentials() |
protected DHParameters |
getDHParameters() |
TlsKeyExchange |
getKeyExchange() |
protected TlsEncryptionCredentials |
getRSAEncryptionCredentials() |
protected TlsSignerCredentials |
getRSASignerCredentials() |
getCertificateRequest, getCompression, getCompressionMethods, getMaximumVersion, getMinimumVersion, getNewSessionTicket, getSelectedCipherSuite, getSelectedCompressionMethod, getServerExtensions, getServerSupplementalData, getServerVersion, init, notifyClientCertificate, notifyClientVersion, notifyHandshakeComplete, notifyOfferedCipherSuites, notifyOfferedCompressionMethods, notifySecureRenegotiation, processClientExtensions, processClientSupplementalData, supportsClientECCCapabilities
notifyAlertRaised, notifyAlertReceived
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
notifyAlertRaised, notifyAlertReceived
public DefaultTlsServer()
public DefaultTlsServer(TlsCipherFactory cipherFactory)
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
public TlsCipher getCipher() 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()