Package org.bouncycastle.crypto.tls
Class PSKTlsServer
- java.lang.Object
-
- org.bouncycastle.crypto.tls.AbstractTlsPeer
-
- org.bouncycastle.crypto.tls.AbstractTlsServer
-
- org.bouncycastle.crypto.tls.PSKTlsServer
-
public class PSKTlsServer extends AbstractTlsServer
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected TlsPSKIdentityManager
pskIdentityManager
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 PSKTlsServer(TlsCipherFactory cipherFactory, TlsPSKIdentityManager pskIdentityManager)
Deprecated.PSKTlsServer(TlsPSKIdentityManager pskIdentityManager)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected TlsKeyExchange
createPSKKeyExchange(int keyExchange)
Deprecated.protected int[]
getCipherSuites()
Deprecated.TlsCredentials
getCredentials()
Deprecated.protected DHParameters
getDHParameters()
Deprecated.TlsKeyExchange
getKeyExchange()
Deprecated.protected TlsEncryptionCredentials
getRSAEncryptionCredentials()
Deprecated.-
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsServer
allowEncryptThenMAC, allowTruncatedHMac, checkServerExtensions, getCertificateRequest, getCertificateStatus, getCipher, getCompression, getCompressionMethods, getMaximumVersion, getMinimumVersion, getNewSessionTicket, getSelectedCipherSuite, getSelectedCompressionMethod, getServerExtensions, getServerSupplementalData, getServerVersion, init, notifyClientCertificate, notifyClientVersion, notifyFallback, notifyOfferedCipherSuites, notifyOfferedCompressionMethods, processClientExtensions, 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
-
pskIdentityManager
protected TlsPSKIdentityManager pskIdentityManager
Deprecated.
-
-
Constructor Detail
-
PSKTlsServer
public PSKTlsServer(TlsPSKIdentityManager pskIdentityManager)
Deprecated.
-
PSKTlsServer
public PSKTlsServer(TlsCipherFactory cipherFactory, TlsPSKIdentityManager pskIdentityManager)
Deprecated.
-
-
Method Detail
-
getRSAEncryptionCredentials
protected TlsEncryptionCredentials getRSAEncryptionCredentials() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
getDHParameters
protected DHParameters getDHParameters()
Deprecated.
-
getCipherSuites
protected int[] getCipherSuites()
Deprecated.- Specified by:
getCipherSuites
in classAbstractTlsServer
-
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
-
createPSKKeyExchange
protected TlsKeyExchange createPSKKeyExchange(int keyExchange)
Deprecated.
-
-