public abstract class DefaultTlsServer extends AbstractTlsServer
certificateStatusRequest, cipherSuites, clientExtensions, clientProtocolNames, clientSentECPointFormats, context, encryptThenMACOffered, maxFragmentLengthOffered, offeredCipherSuites, selectedCipherSuite, selectedProtocolName, serverExtensions, serverVersion, truncatedHMacOffered
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, allowTruncatedHMac, checkServerExtensions, getCertificateRequest, getCertificateStatus, getCipherSuites, getDHConfig, getECDHConfig, getMaximumNegotiableCurveBits, getMaximumNegotiableFiniteFieldBits, getNewSessionTicket, getProtocolNames, getPSKIdentityManager, getSelectedCipherSuite, getServerExtensions, getServerSupplementalData, getServerVersion, getSessionToResume, getSRPLoginParameters, init, isSelectableCipherSuite, notifyClientCertificate, notifyClientVersion, notifyFallback, notifyHandshakeBeginning, notifyOfferedCipherSuites, preferLocalCipherSuites, processClientExtensions, processClientSupplementalData, selectCipherSuite, selectDH, selectDHDefault, selectECDH, selectECDHDefault, selectProtocolName, selectProtocolName, shouldSelectProtocolNameEarly
cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, getSupportedVersions, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedPadding, shouldUseGMTUnixTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, getSupportedVersions, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedPadding, shouldUseGMTUnixTime
public DefaultTlsServer(TlsCrypto crypto)
protected TlsCredentialedSigner getDSASignerCredentials() throws java.io.IOException
java.io.IOException
protected TlsCredentialedSigner getECDSASignerCredentials() throws java.io.IOException
java.io.IOException
protected TlsCredentialedDecryptor getRSAEncryptionCredentials() throws java.io.IOException
java.io.IOException
protected TlsCredentialedSigner getRSASignerCredentials() throws java.io.IOException
java.io.IOException
protected int[] getSupportedCipherSuites()
getSupportedCipherSuites
in class AbstractTlsServer
public TlsCredentials getCredentials() throws java.io.IOException
TlsServer
TlsCredentialedAgreement
, TlsCredentialedDecryptor
, or
TlsCredentialedSigner
, depending on the key exchange that was negotiated.java.io.IOException