public class PSKTlsServer extends AbstractTlsServer
Modifier and Type | Field and Description |
---|---|
protected TlsPSKIdentityManager |
pskIdentityManager |
certificateStatusRequest, cipherSuites, clientExtensions, clientProtocolNames, clientSentECPointFormats, context, encryptThenMACOffered, maxFragmentLengthOffered, offeredCipherSuites, protocolVersions, selectedCipherSuite, selectedProtocolName, serverExtensions, statusRequestV2, truncatedHMacOffered, trustedCAKeys
Constructor and Description |
---|
PSKTlsServer(TlsCrypto crypto,
TlsPSKIdentityManager pskIdentityManager) |
Modifier and Type | Method and Description |
---|---|
TlsCredentials |
getCredentials()
Return server credentials to use.
|
ProtocolVersion |
getMaximumVersion() |
TlsPSKIdentityManager |
getPSKIdentityManager() |
protected TlsCredentialedDecryptor |
getRSAEncryptionCredentials() |
protected int[] |
getSupportedCipherSuites() |
allowCertificateStatus, allowEncryptThenMAC, allowMultiCertStatus, allowTruncatedHMac, allowTrustedCAIndication, checkServerExtensions, getCertificateRequest, getCertificateStatus, getCipherSuites, getDHConfig, getECDHConfig, getMaximumNegotiableCurveBits, getMaximumNegotiableFiniteFieldBits, getNewSessionTicket, getProtocolNames, getProtocolVersions, getSelectedCipherSuite, getServerExtensions, getServerSupplementalData, getServerVersion, getSessionToResume, getSRPLoginParameters, getSupportedGroups, init, isSelectableCipherSuite, notifyClientCertificate, notifyClientVersion, notifyFallback, notifyHandshakeBeginning, notifyOfferedCipherSuites, preferLocalCipherSuites, processClientExtensions, processClientSupplementalData, selectCipherSuite, selectDH, selectDHDefault, selectECDH, selectECDHDefault, selectProtocolName, selectProtocolName, shouldSelectProtocolNameEarly
allowLegacyResumption, cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, getSupportedVersions, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedMasterSecret, shouldUseExtendedPadding, shouldUseGMTUnixTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowLegacyResumption, cancel, getCrypto, getHandshakeTimeoutMillis, getHeartbeat, getHeartbeatPolicy, getKeyExchangeFactory, getRenegotiationPolicy, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedMasterSecret, shouldUseExtendedPadding, shouldUseGMTUnixTime
protected TlsPSKIdentityManager pskIdentityManager
public PSKTlsServer(TlsCrypto crypto, TlsPSKIdentityManager pskIdentityManager)
protected TlsCredentialedDecryptor getRSAEncryptionCredentials() throws java.io.IOException
java.io.IOException
protected int[] getSupportedCipherSuites()
getSupportedCipherSuites
in class AbstractTlsPeer
public ProtocolVersion getMaximumVersion()
public TlsCredentials getCredentials() throws java.io.IOException
TlsServer
TlsCredentialedAgreement
, TlsCredentialedDecryptor
, or
TlsCredentialedSigner
, depending on the key exchange that was negotiated.java.io.IOException
public TlsPSKIdentityManager getPSKIdentityManager()
getPSKIdentityManager
in interface TlsServer
getPSKIdentityManager
in class AbstractTlsServer