Class AbstractTlsServer

java.lang.Object
org.bouncycastle.tls.AbstractTlsPeer
org.bouncycastle.tls.AbstractTlsServer
All Implemented Interfaces:
TlsPeer, TlsServer
Direct Known Subclasses:
DefaultTlsServer, PSKTlsServer, SRPTlsServer

public abstract class AbstractTlsServer extends AbstractTlsPeer implements TlsServer
Base class for a TLS server.
  • Field Details

    • context

      protected TlsServerContext context
    • protocolVersions

      protected ProtocolVersion[] protocolVersions
    • cipherSuites

      protected int[] cipherSuites
    • offeredCipherSuites

      protected int[] offeredCipherSuites
    • clientExtensions

      protected Hashtable clientExtensions
    • encryptThenMACOffered

      protected boolean encryptThenMACOffered
    • maxFragmentLengthOffered

      protected short maxFragmentLengthOffered
    • truncatedHMacOffered

      protected boolean truncatedHMacOffered
    • clientSentECPointFormats

      protected boolean clientSentECPointFormats
    • certificateStatusRequest

      protected CertificateStatusRequest certificateStatusRequest
    • statusRequestV2

      protected Vector statusRequestV2
    • trustedCAKeys

      protected Vector trustedCAKeys
    • selectedCipherSuite

      protected int selectedCipherSuite
    • clientProtocolNames

      protected Vector clientProtocolNames
    • selectedProtocolName

      protected ProtocolName selectedProtocolName
    • serverExtensions

      protected final Hashtable serverExtensions
  • Constructor Details

    • AbstractTlsServer

      public AbstractTlsServer(TlsCrypto crypto)
  • Method Details