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(Hashtable clientExtensions) |
allowEncryptThenMAC, allowTruncatedHMac, checkServerExtensions, getCertificateRequest, getCertificateStatus, getCipher, getCompression, getCompressionMethods, getMaximumVersion, getMinimumVersion, getNewSessionTicket, getSelectedCompressionMethod, getServerExtensions, getServerSupplementalData, getServerVersion, init, notifyClientCertificate, notifyClientVersion, notifyFallback, notifyOfferedCipherSuites, notifyOfferedCompressionMethods, processClientSupplementalData, supportsClientECCCapabilities
notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTime
protected TlsSRPIdentityManager srpIdentityManager
protected byte[] srpIdentity
protected TlsSRPLoginParameters loginParameters
public SRPTlsServer(TlsSRPIdentityManager srpIdentityManager)
public SRPTlsServer(TlsCipherFactory cipherFactory, TlsSRPIdentityManager srpIdentityManager)
protected TlsSignerCredentials getDSASignerCredentials() throws IOException
IOException
protected TlsSignerCredentials getRSASignerCredentials() throws IOException
IOException
protected int[] getCipherSuites()
getCipherSuites
in class AbstractTlsServer
public void processClientExtensions(Hashtable clientExtensions) throws IOException
processClientExtensions
in interface TlsServer
processClientExtensions
in class AbstractTlsServer
IOException
public int getSelectedCipherSuite() throws IOException
getSelectedCipherSuite
in interface TlsServer
getSelectedCipherSuite
in class AbstractTlsServer
IOException
public TlsCredentials getCredentials() throws IOException
IOException
public TlsKeyExchange getKeyExchange() throws IOException
IOException
protected TlsKeyExchange createSRPKeyExchange(int keyExchange)
Copyright © 2020 BouncyCastle.org. All rights reserved.