public class PSKTlsServer extends AbstractTlsServer
| Modifier and Type | Field and Description |
|---|---|
protected TlsPSKIdentityManager |
pskIdentityManager |
certificateStatusRequest, cipherSuites, clientExtensions, clientSentECPointFormats, context, encryptThenMACOffered, maxFragmentLengthOffered, offeredCipherSuites, selectedCipherSuite, selectedProtocolName, serverExtensions, serverVersion, truncatedHMacOffered| Constructor and Description |
|---|
PSKTlsServer(TlsCrypto crypto,
TlsPSKIdentityManager pskIdentityManager) |
| Modifier and Type | Method and Description |
|---|---|
TlsCredentials |
getCredentials()
Return server credentials to use.
|
TlsPSKIdentityManager |
getPSKIdentityManager() |
protected TlsCredentialedDecryptor |
getRSAEncryptionCredentials() |
protected int[] |
getSupportedCipherSuites() |
allowCertificateStatus, allowEncryptThenMAC, allowTruncatedHMac, checkServerExtensions, getCertificateRequest, getCertificateStatus, getCipherSuites, getDHConfig, getECDHConfig, getMaximumNegotiableCurveBits, getMaximumNegotiableFiniteFieldBits, getNewSessionTicket, getProtocolNames, getSelectedCipherSuite, getServerExtensions, getServerSupplementalData, getServerVersion, getSessionToResume, getSRPLoginParameters, init, isSelectableCipherSuite, notifyClientCertificate, notifyClientVersion, notifyFallback, notifyHandshakeBeginning, notifyOfferedCipherSuites, preferLocalCipherSuites, processClientExtensions, processClientSupplementalData, selectCipherSuite, selectDH, selectDHDefault, selectECDH, selectECDHDefault, selectProtocolNamegetCrypto, getKeyExchangeFactory, getRenegotiationPolicy, getSupportedVersions, notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedPadding, shouldUseGMTUnixTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCrypto, getKeyExchangeFactory, getRenegotiationPolicy, getSupportedVersions, notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldCheckSigAlgOfPeerCerts, shouldUseExtendedPadding, shouldUseGMTUnixTimeprotected TlsPSKIdentityManager pskIdentityManager
public PSKTlsServer(TlsCrypto crypto, TlsPSKIdentityManager pskIdentityManager)
protected TlsCredentialedDecryptor getRSAEncryptionCredentials() throws java.io.IOException
java.io.IOExceptionprotected int[] getSupportedCipherSuites()
getSupportedCipherSuites in class AbstractTlsServerpublic TlsCredentials getCredentials() throws java.io.IOException
TlsServerTlsCredentialedAgreement, TlsCredentialedDecryptor, or
TlsCredentialedSigner, depending on the key exchange that was negotiated.java.io.IOExceptionpublic TlsPSKIdentityManager getPSKIdentityManager()
getPSKIdentityManager in interface TlsServergetPSKIdentityManager in class AbstractTlsServer