public abstract class DefaultTlsServer extends AbstractTlsServer
certificateStatusRequest, cipherSuites, clientExtensions, clientProtocolNames, clientSentECPointFormats, context, encryptThenMACOffered, maxFragmentLengthOffered, offeredCipherSuites, protocolVersions, selectedCipherSuite, selectedProtocolName, serverExtensions, statusRequestV2, truncatedHMacOffered, trustedCAKeys| Constructor and Description |
|---|
DefaultTlsServer(TlsCrypto crypto) |
| Modifier and Type | Method and Description |
|---|---|
TlsCredentials |
getCredentials()
Return server credentials to use.
|
protected TlsCredentialedSigner |
getDSASignerCredentials() |
protected TlsCredentialedSigner |
getECDSASignerCredentials() |
protected TlsCredentialedDecryptor |
getRSAEncryptionCredentials() |
protected TlsCredentialedSigner |
getRSASignerCredentials() |
protected int[] |
getSupportedCipherSuites() |
allowCertificateStatus, allowEncryptThenMAC, allowMultiCertStatus, allowTruncatedHMac, allowTrustedCAIndication, checkServerExtensions, getCertificateRequest, getCertificateStatus, getCipherSuites, getDHConfig, getECDHConfig, getExternalPSK, getMaximumNegotiableCurveBits, getMaximumNegotiableFiniteFieldBits, getNewSessionID, getNewSessionTicket, getProtocolNames, getProtocolVersions, getPSKIdentityManager, getSelectedCipherSuite, getServerExtensions, getServerExtensionsForConnection, getServerSupplementalData, getServerVersion, getSessionToResume, getSRPLoginParameters, getSupportedGroups, init, isSelectableCipherSuite, notifyClientCertificate, notifyClientVersion, notifyFallback, notifyHandshakeBeginning, notifyOfferedCipherSuites, notifySession, preferLocalCipherSuites, processClientExtensions, processClientSupplementalData, selectCipherSuite, selectDH, selectDHDefault, selectECDH, selectECDHDefault, selectProtocolName, selectProtocolName, shouldSelectProtocolNameEarlyallowLegacyResumption, cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getMaxCertificateChainLength, getMaxHandshakeMessageSize, getPskKeyExchangeModes, getRenegotiationPolicy, getSupportedVersions, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresCloseNotify, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedMasterSecret, shouldUseExtendedPadding, shouldUseGMTUnixTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowLegacyResumption, cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getMaxCertificateChainLength, getMaxHandshakeMessageSize, getPskKeyExchangeModes, getRenegotiationPolicy, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresCloseNotify, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedMasterSecret, shouldUseExtendedPadding, shouldUseGMTUnixTimepublic DefaultTlsServer(TlsCrypto crypto)
protected TlsCredentialedSigner getDSASignerCredentials() throws java.io.IOException
java.io.IOExceptionprotected TlsCredentialedSigner getECDSASignerCredentials() throws java.io.IOException
java.io.IOExceptionprotected TlsCredentialedDecryptor getRSAEncryptionCredentials() throws java.io.IOException
java.io.IOExceptionprotected TlsCredentialedSigner getRSASignerCredentials() throws java.io.IOException
java.io.IOExceptionprotected int[] getSupportedCipherSuites()
getSupportedCipherSuites in class AbstractTlsPeerpublic TlsCredentials getCredentials() throws java.io.IOException
TlsServerTlsCredentialedAgreement, TlsCredentialedDecryptor, or
TlsCredentialedSigner, depending on the key exchange that was negotiated.java.io.IOException