Table of Contents

Namespace Org.BouncyCastle.Tls

Namespaces

Org.BouncyCastle.Tls.Crypto

Classes

AbstractTlsClient

Base class for a TLS client.

AbstractTlsKeyExchange

Base class for supporting a TLS key exchange implementation.

AbstractTlsKeyExchangeFactory

Base class for supporting a TLS key exchange factory implementation.

AbstractTlsPeer

Base class for a TLS client or server.

AbstractTlsServer

Base class for a TLS server.

AlertDescription

RFC 5246 7.2.

AlertLevel

RFC 5246 7.2

BasicTlsPskExternal
BasicTlsPskIdentity

A basic PSK Identity holder.

BasicTlsSrpIdentity

A basic SRP Identity holder.

ByteQueue

A queue for bytes. This file could be more optimized.

ByteQueueInputStream
ByteQueueOutputStream

OutputStream based on a ByteQueue implementation.

CachedInformationType
CertChainType

Implementation of the RFC 3546 3.3. CertChainType.

Certificate

Parsing and encoding of a Certificate struct from RFC 4346.

Certificate.ParseOptions
CertificateCompressionAlgorithm
CertificateEntry
CertificateRequest

Parsing and encoding of a CertificateRequest struct from RFC 4346.

CertificateStatus
CertificateStatusRequest

Implementation of the RFC 3546 3.6. CertificateStatusRequest.

CertificateStatusRequestItemV2

Implementation of the RFC 6961 2.2. CertificateStatusRequestItemV2.

CertificateStatusType
CertificateType

RFC 6091

CertificateUrl

RFC 3546 3.3

CertificateVerify
ChangeCipherSpec
ChannelBinding

RFC 5056

CipherSuite

RFC 2246 A.5

CipherType

RFC 2246

ClientAuthenticationType
ClientCertificateType
ClientHello
CombinedHash

A combined hash, which implements md5(m) || sha1(m).

CompressionMethod

RFC 2246 6.1

ConnectionEnd

RFC 2246

ContentType

RFC 2246 6.2.1

DefaultTlsClient
DefaultTlsCredentialedSigner

Container class for generating signatures that carries the signature type, parameters, public key certificate and public key's associated signer object.

DefaultTlsDHGroupVerifier
DefaultTlsHeartbeat
DefaultTlsKeyExchangeFactory
DefaultTlsServer
DefaultTlsSrpConfigVerifier
DigitallySigned
DtlsClientProtocol
DtlsClientProtocol.ClientHandshakeState
DtlsProtocol
DtlsRequest
DtlsServerProtocol
DtlsServerProtocol.ServerHandshakeState
DtlsTransport
DtlsVerifier

Implements cookie generation/verification for a DTLS server as described in RFC 4347, 4.2.1. Denial of Service Countermeasures.

ECCurveType

RFC 4492 5.4

ECPointFormat

RFC 4492 5.1.2

EncryptionAlgorithm

RFC 2246

ExporterLabel

RFC 5705

ExtensionType
HandshakeMessageInput
HandshakeType
HashAlgorithm

RFC 5246 7.4.1.4.1

HeartbeatExtension
HeartbeatMessage
HeartbeatMessageType

RFC 6520 3.

HeartbeatMode
IdentifierType

RFC 6066

KeyExchangeAlgorithm

RFC 2246

KeyShareEntry
KeyUpdateRequest

RFC 8446 4.6.3

MacAlgorithm

RFC 2246

MaxFragmentLength
NameType
NamedGroup

RFC 7919

NamedGroupRole
NewSessionTicket
OcspStatusRequest

RFC 3546 3.6

OfferedPsks
PrfAlgorithm

RFC 5246

ProtocolName

RFC 7301 Represents a protocol name for use with ALPN.

ProtocolVersion
PskIdentity
PskKeyExchangeMode
PskTlsClient
PskTlsServer
RecordFormat
RecordPreview
SecurityParameters
ServerHello
ServerName

RFC 6066 3. Server Name Indication

ServerNameList
ServerOnlyTlsAuthentication
ServerSrpParams
SessionParameters
SessionParameters.Builder
SignatureAlgorithm
SignatureAndHashAlgorithm

RFC 5246 7.4.1.4.1

SignatureScheme
SimulatedTlsSrpIdentityManager

An implementation of TlsSrpIdentityManager that simulates the existence of "unknown" identities to obscure the fact that there is no verifier for them.

SrpTlsClient
SrpTlsServer
SrtpProtectionProfile
SupplementalDataEntry
SupplementalDataType

RFC 4680

TlsClientProtocol
TlsDHKeyExchange

(D)TLS DH key exchange.

TlsDHUtilities
TlsDHanonKeyExchange

(D)TLS DH_anon key exchange.

TlsDheKeyExchange
TlsECDHKeyExchange

(D)TLS ECDH key exchange (see RFC 4492).

TlsECDHanonKeyExchange

(D)TLS ECDH_anon key exchange (see RFC 4492).

TlsECDheKeyExchange

(D)TLS ECDHE key exchange (see RFC 4492).

TlsEccUtilities
TlsException
TlsExtensionsUtilities
TlsFatalAlert
TlsFatalAlertReceived
TlsNoCloseNotifyException

This exception will be thrown (only) when the connection is closed by the peer without sending a close_notify warning alert.

TlsObjectIdentifiers

Object Identifiers associated with TLS extensions.

TlsProtocol
TlsPskKeyExchange

(D)TLS PSK key exchange (RFC 4279).

TlsRsaKeyExchange

(D)TLS RSA key exchange.

TlsServerProtocol
TlsSrpKeyExchange

(D)TLS SRP key exchange (RFC 5054).

TlsSrpLoginParameters
TlsSrpUtilities
TlsSrtpUtilities

RFC 5764 DTLS Extension to Establish Keys for SRTP.

TlsTimeoutException
TlsUtilities
TrustedAuthority
UrlAndHash

RFC 6066 5.

UseSrtpData

RFC 5764 4.1.1

UserMappingType

RFC 4681

Interfaces

DatagramReceiver
DatagramSender
DatagramTransport

Base interface for an object sending and receiving DTLS data.

TlsAuthentication

Base interface to provide TLS authentication credentials.

TlsClient
TlsClientContext

Marker interface to distinguish a TLS client context.

TlsCloseable
TlsContext

Base interface for a TLS context implementation.

TlsCredentialedAgreement

Support interface for generating a secret based on the credentials sent by a TLS peer.

TlsCredentialedDecryptor

Base interface for a class that decrypts TLS secrets.

TlsCredentialedSigner

Support interface for generating a signature based on our private credentials.

TlsCredentials

Base interface for interfaces/classes carrying TLS credentials.

TlsDHGroupVerifier

Interface for verifying explicit Diffie-Hellman group parameters.

TlsHandshakeHash

Base interface for an object that can calculate a handshake hash.

TlsHeartbeat
TlsKeyExchange

A generic interface for key exchange implementations in (D)TLS.

TlsKeyExchangeFactory

Interface for a key exchange factory offering a variety of specific algorithms.

TlsPeer

Base interface for a (D)TLS endpoint.

TlsPsk
TlsPskExternal
TlsPskIdentity

Processor interface for a PSK identity.

TlsPskIdentityManager

Base interface for an object that can process a PSK identity.

TlsServer

Interface describing a TLS server endpoint.

TlsServerCertificate

Server certificate carrier interface.

TlsServerContext

Marker interface to distinguish a TLS server context.

TlsSession

Base interface for a carrier object for a TLS session.

TlsSrpConfigVerifier

Interface for verifying SRP config needs to conform to.

TlsSrpIdentity

Processor interface for an SRP identity.

TlsSrpIdentityManager

Base interface for an object that can return login parameters from an SRP identity.

Enums

DtlsRecordFlags

Delegates

DtlsRecordCallback