Package org.bouncycastle.crypto.tls
Class SRPTlsServer
- java.lang.Object
-
- org.bouncycastle.crypto.tls.AbstractTlsPeer
-
- org.bouncycastle.crypto.tls.AbstractTlsServer
-
- org.bouncycastle.crypto.tls.SRPTlsServer
-
public class SRPTlsServer extends AbstractTlsServer
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected TlsSRPLoginParameters
loginParameters
Deprecated.protected byte[]
srpIdentity
Deprecated.protected TlsSRPIdentityManager
srpIdentityManager
Deprecated.-
Fields inherited from class org.bouncycastle.crypto.tls.AbstractTlsServer
cipherFactory, clientECPointFormats, clientExtensions, clientVersion, context, eccCipherSuitesOffered, encryptThenMACOffered, maxFragmentLengthOffered, namedCurves, offeredCipherSuites, offeredCompressionMethods, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, serverExtensions, serverVersion, supportedSignatureAlgorithms, truncatedHMacOffered
-
-
Constructor Summary
Constructors Constructor Description SRPTlsServer(TlsCipherFactory cipherFactory, TlsSRPIdentityManager srpIdentityManager)
Deprecated.SRPTlsServer(TlsSRPIdentityManager srpIdentityManager)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected TlsKeyExchange
createSRPKeyExchange(int keyExchange)
Deprecated.protected int[]
getCipherSuites()
Deprecated.TlsCredentials
getCredentials()
Deprecated.protected TlsSignerCredentials
getDSASignerCredentials()
Deprecated.TlsKeyExchange
getKeyExchange()
Deprecated.protected TlsSignerCredentials
getRSASignerCredentials()
Deprecated.int
getSelectedCipherSuite()
Deprecated.void
processClientExtensions(java.util.Hashtable clientExtensions)
Deprecated.-
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsServer
allowEncryptThenMAC, allowTruncatedHMac, checkServerExtensions, getCertificateRequest, getCertificateStatus, getCipher, getCompression, getCompressionMethods, getMaximumVersion, getMinimumVersion, getNewSessionTicket, getSelectedCompressionMethod, getServerExtensions, getServerSupplementalData, getServerVersion, init, notifyClientCertificate, notifyClientVersion, notifyFallback, notifyOfferedCipherSuites, notifyOfferedCompressionMethods, processClientSupplementalData, supportsClientECCCapabilities
-
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsPeer
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bouncycastle.crypto.tls.TlsPeer
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
-
-
-
-
Field Detail
-
srpIdentityManager
protected TlsSRPIdentityManager srpIdentityManager
Deprecated.
-
srpIdentity
protected byte[] srpIdentity
Deprecated.
-
loginParameters
protected TlsSRPLoginParameters loginParameters
Deprecated.
-
-
Constructor Detail
-
SRPTlsServer
public SRPTlsServer(TlsSRPIdentityManager srpIdentityManager)
Deprecated.
-
SRPTlsServer
public SRPTlsServer(TlsCipherFactory cipherFactory, TlsSRPIdentityManager srpIdentityManager)
Deprecated.
-
-
Method Detail
-
getDSASignerCredentials
protected TlsSignerCredentials getDSASignerCredentials() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
getRSASignerCredentials
protected TlsSignerCredentials getRSASignerCredentials() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
getCipherSuites
protected int[] getCipherSuites()
Deprecated.- Specified by:
getCipherSuites
in classAbstractTlsServer
-
processClientExtensions
public void processClientExtensions(java.util.Hashtable clientExtensions) throws java.io.IOException
Deprecated.- Specified by:
processClientExtensions
in interfaceTlsServer
- Overrides:
processClientExtensions
in classAbstractTlsServer
- Throws:
java.io.IOException
-
getSelectedCipherSuite
public int getSelectedCipherSuite() throws java.io.IOException
Deprecated.- Specified by:
getSelectedCipherSuite
in interfaceTlsServer
- Overrides:
getSelectedCipherSuite
in classAbstractTlsServer
- Throws:
java.io.IOException
-
getCredentials
public TlsCredentials getCredentials() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
getKeyExchange
public TlsKeyExchange getKeyExchange() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createSRPKeyExchange
protected TlsKeyExchange createSRPKeyExchange(int keyExchange)
Deprecated.
-
-