org.bouncycastle.crypto.tls
Class PSKTlsServer
java.lang.Object
org.bouncycastle.crypto.tls.AbstractTlsPeer
org.bouncycastle.crypto.tls.AbstractTlsServer
org.bouncycastle.crypto.tls.PSKTlsServer
- All Implemented Interfaces:
- TlsPeer, TlsServer
Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
- public class PSKTlsServer
- extends AbstractTlsServer
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 |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pskIdentityManager
protected TlsPSKIdentityManager pskIdentityManager
- Deprecated.
PSKTlsServer
public PSKTlsServer(TlsPSKIdentityManager pskIdentityManager)
- Deprecated.
PSKTlsServer
public PSKTlsServer(TlsCipherFactory cipherFactory,
TlsPSKIdentityManager pskIdentityManager)
- Deprecated.
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 class AbstractTlsServer
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.