public class SRPTlsServer extends AbstractTlsServer
| Modifier and Type | Field and Description |
|---|---|
protected TlsSRPLoginParameters |
loginParameters |
protected byte[] |
srpIdentity |
protected TlsSRPIdentityManager |
srpIdentityManager |
cipherFactory, clientECPointFormats, clientExtensions, clientVersion, context, eccCipherSuitesOffered, encryptThenMACOffered, maxFragmentLengthOffered, namedCurves, offeredCipherSuites, offeredCompressionMethods, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, serverExtensions, serverVersion, supportedSignatureAlgorithms, truncatedHMacOffered| Constructor and Description |
|---|
SRPTlsServer(TlsCipherFactory cipherFactory,
TlsSRPIdentityManager srpIdentityManager) |
SRPTlsServer(TlsSRPIdentityManager srpIdentityManager) |
| Modifier and Type | Method and Description |
|---|---|
protected TlsKeyExchange |
createSRPKeyExchange(int keyExchange) |
protected int[] |
getCipherSuites() |
TlsCredentials |
getCredentials() |
protected TlsSignerCredentials |
getDSASignerCredentials() |
TlsKeyExchange |
getKeyExchange() |
protected TlsSignerCredentials |
getRSASignerCredentials() |
int |
getSelectedCipherSuite() |
void |
processClientExtensions(java.util.Hashtable clientExtensions) |
allowEncryptThenMAC, allowTruncatedHMac, checkServerExtensions, getCertificateRequest, getCertificateStatus, getCipher, getCompression, getCompressionMethods, getMaximumVersion, getMinimumVersion, getNewSessionTicket, getSelectedCompressionMethod, getServerExtensions, getServerSupplementalData, getServerVersion, init, notifyClientCertificate, notifyClientVersion, notifyFallback, notifyOfferedCipherSuites, notifyOfferedCompressionMethods, processClientSupplementalData, supportsClientECCCapabilitiesnotifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTimeprotected TlsSRPIdentityManager srpIdentityManager
protected byte[] srpIdentity
protected TlsSRPLoginParameters loginParameters
public SRPTlsServer(TlsSRPIdentityManager srpIdentityManager)
public SRPTlsServer(TlsCipherFactory cipherFactory, TlsSRPIdentityManager srpIdentityManager)
protected TlsSignerCredentials getDSASignerCredentials() throws java.io.IOException
java.io.IOExceptionprotected TlsSignerCredentials getRSASignerCredentials() throws java.io.IOException
java.io.IOExceptionprotected int[] getCipherSuites()
getCipherSuites in class AbstractTlsServerpublic void processClientExtensions(java.util.Hashtable clientExtensions)
throws java.io.IOException
processClientExtensions in interface TlsServerprocessClientExtensions in class AbstractTlsServerjava.io.IOExceptionpublic int getSelectedCipherSuite()
throws java.io.IOException
getSelectedCipherSuite in interface TlsServergetSelectedCipherSuite in class AbstractTlsServerjava.io.IOExceptionpublic TlsCredentials getCredentials() throws java.io.IOException
java.io.IOExceptionpublic TlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOExceptionprotected TlsKeyExchange createSRPKeyExchange(int keyExchange)