implements TlsCloseable
0x00x00A8
Members 54
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x02 | CS_START | short | Static+2 flags | 0 |
| — | 0x02 | CS_CLIENT_HELLO | short | Static+2 flags | 1 |
| — | 0x02 | CS_SERVER_HELLO_RETRY_REQUEST | short | Static+2 flags | 2 |
| — | 0x02 | CS_CLIENT_HELLO_RETRY | short | Static+2 flags | 3 |
| — | 0x02 | CS_SERVER_HELLO | short | Static+2 flags | 4 |
| — | 0x02 | CS_SERVER_ENCRYPTED_EXTENSIONS | short | Static+2 flags | 5 |
| — | 0x02 | CS_SERVER_SUPPLEMENTAL_DATA | short | Static+2 flags | 6 |
| — | 0x02 | CS_SERVER_CERTIFICATE | short | Static+2 flags | 7 |
| — | 0x02 | CS_SERVER_CERTIFICATE_STATUS | short | Static+2 flags | 8 |
| — | 0x02 | CS_SERVER_CERTIFICATE_VERIFY | short | Static+2 flags | 9 |
| — | 0x02 | CS_SERVER_KEY_EXCHANGE | short | Static+2 flags | 10 |
| — | 0x02 | CS_SERVER_CERTIFICATE_REQUEST | short | Static+2 flags | 11 |
| — | 0x02 | CS_SERVER_HELLO_DONE | short | Static+2 flags | 12 |
| — | 0x02 | CS_CLIENT_END_OF_EARLY_DATA | short | Static+2 flags | 13 |
| — | 0x02 | CS_CLIENT_SUPPLEMENTAL_DATA | short | Static+2 flags | 14 |
| — | 0x02 | CS_CLIENT_CERTIFICATE | short | Static+2 flags | 15 |
| — | 0x02 | CS_CLIENT_KEY_EXCHANGE | short | Static+2 flags | 16 |
| — | 0x02 | CS_CLIENT_CERTIFICATE_VERIFY | short | Static+2 flags | 17 |
| — | 0x02 | CS_CLIENT_FINISHED | short | Static+2 flags | 18 |
| — | 0x02 | CS_SERVER_SESSION_TICKET | short | Static+2 flags | 19 |
| — | 0x02 | CS_SERVER_FINISHED | short | Static+2 flags | 20 |
| — | 0x02 | CS_END | short | Static+2 flags | 21 |
| — | 0x02 | ADS_MODE_1_Nsub1 | short | Static+2 flags | 0 |
| — | 0x02 | ADS_MODE_0_N | short | Static+2 flags | 1 |
| — | 0x02 | ADS_MODE_0_N_FIRSTONLY | short | Static+2 flags | 2 |
| 0x08 | m_applicationDataQueue | ByteQueue | Private+1 flags | — | |
| 0x08 | m_alertQueue | ByteQueue | Private+1 flags | — | |
| 0x08 | m_handshakeQueue | ByteQueue | Private+1 flags | — | |
| 0x08 | m_recordStream | RecordStream | 2 flags | — | |
| 0x04 | m_maxHandshakeMessageSize | int | Private | — | |
| 0x0034 | 0x04 | padding / unreflected | |||
| 0x08 | m_handshakeHash | TlsHandshakeHash | 1 flags | — | |
| 0x08 | m_tlsStream | TlsStream | Private | — | |
| 0x01 | m_closed | bool | Private | — | |
| 0x01 | m_failedWithError | bool | Private | — | |
| 0x01 | m_appDataReady | bool | Private | — | |
| 0x01 | m_appDataSplitEnabled | bool | Private | — | |
| 0x01 | m_keyUpdateEnabled | bool | Private | — | |
| 0x01 | m_keyUpdatePendingSend | bool | Private | — | |
| 0x01 | m_resumableHandshake | bool | Private | — | |
| 0x004F | 0x01 | padding / unreflected | |||
| 0x04 | m_appDataSplitMode | int | Private | — | |
| 0x0054 | 0x04 | padding / unreflected | |||
| 0x08 | m_tlsSession | TlsSession | 1 flags | — | |
| 0x08 | m_sessionParameters | SessionParameters | 1 flags | — | |
| 0x08 | m_sessionMasterSecret | TlsSecret | 1 flags | — | |
| 0x08 | m_retryCookie | byte[] | 1 flags | — | |
| 0x04 | m_retryGroup | int | 1 flags | — | |
| 0x007C | 0x04 | padding / unreflected | |||
| 0x08 | m_clientExtensions | IDictionary<System.Int32 | 1 flags | — | |
| 0x08 | m_serverExtensions | IDictionary<System.Int32 | 1 flags | — | |
| 0x02 | m_connectionState | short | 1 flags | — | |
| 0x01 | m_selectedPsk13 | bool | 1 flags | — | |
| 0x01 | m_receivedChangeCipherSpec | bool | 1 flags | — | |
| 0x01 | m_expectSessionTicket | bool | 1 flags | — | |
| 0x01 | m_blocking | bool | 2 flags | — | |
| 0x0096 | 0x02 | padding / unreflected | |||
| 0x08 | m_inputBuffers | ByteQueueInputStream | 2 flags | — | |
| 0x08 | m_outputBuffer | ByteQueueOutputStream | 2 flags | — | |
Functions 99
| Signature | Flags | Native | Params |
|---|---|---|---|
| bool IsLegacyConnectionState() | 1 flags | — | 0x01 |
| bool IsTlsV13ConnectionState() | 1 flags | — | 0x01 |
| void .ctor() | 2 flags | 0x00 | |
| void .ctor(Stream stream) | Public+1 flags | 0x08 | |
| void .ctor(Stream input, Stream output) | Public+1 flags | 0x08 | |
| void ResumeHandshake() | Public+2 flags | 0x00 | |
| void CloseConnection() | 3 flags | 0x00 | |
| TlsContext get_Context() | 5 flags | 0x08 | |
| AbstractTlsContext get_ContextAdmin() | 5 flags | 0x08 | |
| TlsPeer get_Peer() | 5 flags | 0x08 | |
| void HandleAlertMessage(short alertLevel, short alertDescription) | 3 flags | 0x02 | |
| void HandleAlertWarningMessage(short alertDescription) | 3 flags | 0x02 | |
| void HandleChangeCipherSpecMessage() | 3 flags | 0x00 | |
| void HandleClose(bool user_canceled) | 3 flags | 0x01 | |
| void HandleException(short alertDescription, const string& message, Exception e) | 3 flags | 0x08 | |
| void HandleFailure() | 3 flags | 0x00 | |
| void HandleHandshakeMessage(short type, HandshakeMessageInput buf) | 4 flags | — | 0x08 |
| void ApplyMaxFragmentLengthExtension(short maxFragmentLength) | 3 flags | 0x02 | |
| void CheckReceivedChangeCipherSpec(bool expected) | 3 flags | 0x01 | |
| void BlockForHandshake() | 3 flags | 0x00 | |
| void handleRenegotiation() | 3 flags | 0x00 | |
| void BeginHandshake(bool renegotiation) | 3 flags | 0x01 | |
| void CleanupHandshake() | 3 flags | 0x00 | |
| void CompleteHandshake() | 3 flags | 0x00 | |
| void ProcessRecord(short protocol, const byte[]& buf, int off, int len) | 1 flags | 0x08 | |
| void ProcessHandshakeQueue(ByteQueue queue) | Private | 0x08 | |
| void ProcessApplicationDataQueue() | Private | 0x00 | |
| void ProcessAlertQueue() | Private | 0x00 | |
| void ProcessChangeCipherSpec(const byte[]& buf, int off, int len) | Private | 0x08 | |
| int get_ApplicationDataAvailable() | Public+3 flags | 0x04 | |
| int ReadApplicationData(const byte[]& buffer, int offset, int count) | Public+2 flags | 0x08 | |
| int TestApplicationData() | Public | 0x04 | |
| int ReadApplicationData(const Span<System.Byte>& buffer) | Public+2 flags | 0x10 | |
| RecordPreview SafePreviewRecordHeader(const byte[]& recordHeader) | 3 flags | 0x08 | |
| void SafeReadRecord() | 3 flags | 0x00 | |
| bool SafeReadFullRecord(const byte[]& input, int inputOff, int inputLen) | 3 flags | 0x08 | |
| void SafeWriteRecord(short type, const byte[]& buf, int offset, int len) | 3 flags | 0x08 | |
| void SafeWriteRecord(short type, const ReadOnlySpan<System.Byte>& buffer) | 3 flags | 0x10 | |
| void WriteApplicationData(const byte[]& buffer, int offset, int count) | Public+2 flags | 0x08 | |
| void WriteApplicationData(const ReadOnlySpan<System.Byte>& buffer) | Public+2 flags | 0x10 | |
| int get_AppDataSplitMode() | Public+3 flags | 0x04 | |
| void set_AppDataSplitMode(int value) | Public+3 flags | 0x04 | |
| bool get_IsResumableHandshake() | Public+3 flags | 0x01 | |
| void set_IsResumableHandshake(bool value) | Public+3 flags | 0x01 | |
| void WriteHandshakeMessage(const byte[]& buf, int off, int len) | 1 flags | 0x08 | |
| Stream get_Stream() | Public+3 flags | 0x08 | |
| void CloseInput() | Public+2 flags | 0x00 | |
| RecordPreview PreviewInputRecord(const byte[]& recordHeader) | Public+2 flags | 0x08 | |
| int PreviewOutputRecord() | Public+2 flags | 0x04 | |
| RecordPreview PreviewOutputRecord(int applicationDataSize) | Public+2 flags | 0x08 | |
| void OfferInput(const byte[]& input) | Public+2 flags | 0x08 | |
| void OfferInput(const byte[]& input, int inputOff, int inputLen) | Public+2 flags | 0x08 | |
| int get_ApplicationDataLimit() | Public+3 flags | 0x04 | |
| int GetAvailableInputBytes() | Public+2 flags | 0x04 | |
| int ReadInput(const byte[]& buf, int off, int len) | Public+2 flags | 0x08 | |
| int GetAvailableOutputBytes() | Public+2 flags | 0x04 | |
| int ReadOutput(const byte[]& buffer, int offset, int length) | Public+2 flags | 0x08 | |
| bool EstablishSession(TlsSession sessionToResume) | 3 flags | 0x08 | |
| void InvalidateSession() | 3 flags | 0x00 | |
| void ProcessFinishedMessage(MemoryStream buf) | 3 flags | 0x08 | |
| void Process13FinishedMessage(MemoryStream buf) | 3 flags | 0x08 | |
| void RaiseAlertFatal(short alertDescription, const string& message, Exception cause) | 3 flags | 0x08 | |
| void RaiseAlertWarning(short alertDescription, const string& message) | 3 flags | 0x08 | |
| void Receive13KeyUpdate(MemoryStream buf) | 3 flags | 0x08 | |
| void SendCertificateMessage(Certificate certificate, Stream endPointHash) | 3 flags | 0x08 | |
| void Send13CertificateMessage(Certificate certificate) | 3 flags | 0x08 | |
| void Send13CertificateVerifyMessage(DigitallySigned certificateVerify) | 3 flags | 0x08 | |
| void SendChangeCipherSpec() | 3 flags | 0x00 | |
| void SendChangeCipherSpecMessage() | 3 flags | 0x00 | |
| void SendFinishedMessage() | 3 flags | 0x00 | |
| void Send13FinishedMessage() | 3 flags | 0x00 | |
| void Send13KeyUpdate(bool updateRequested) | 3 flags | 0x01 | |
| void SendSupplementalDataMessage(IList<Best.HTTP.SecureProtocol.Org.BouncyCastle.Tls.SupplementalDataEntry> supplementalData) | 3 flags | 0x08 | |
| void Close() | Public+2 flags | 0x00 | |
| void Flush() | Public+2 flags | 0x00 | |
| bool get_IsApplicationDataReady() | 2 flags | 0x01 | |
| bool get_IsClosed() | Public+3 flags | 0x01 | |
| bool get_IsConnected() | Public+3 flags | 0x01 | |
| bool get_IsHandshaking() | Public+3 flags | 0x01 | |
| short ProcessMaxFragmentLengthExtension(IDictionary<System.Int32 clientExtensions, IDictionary<System.Int32 serverExtensions, short alertDescription) | 3 flags | 0x08 | |
| void RefuseRenegotiation() | 3 flags | 0x00 | |
| void AssertEmpty(MemoryStream buf) | Static+1 flags | 0x08 | |
| byte[] CreateRandomBlock(bool useGmtUnixTime, TlsContext context) | Static+1 flags | 0x08 | |
| byte[] CreateRenegotiationInfo(const byte[]& renegotiated_connection) | Static+1 flags | 0x08 | |
| void EstablishMasterSecret(TlsContext context, TlsKeyExchange keyExchange) | Static+1 flags | 0x08 | |
| IDictionary<System.Int32 ReadExtensions(MemoryStream input) | Static+1 flags | 0x08 | |
| IDictionary<System.Int32 ReadExtensionsData(const byte[]& extBytes) | Static+1 flags | 0x08 | |
| IDictionary<System.Int32 ReadExtensionsData13(int handshakeType, const byte[]& extBytes) | Static+1 flags | 0x08 | |
| IDictionary<System.Int32 ReadExtensionsDataClientHello(const byte[]& extBytes) | Static+1 flags | 0x08 | |
| IList<Best.HTTP.SecureProtocol.Org.BouncyCastle.Tls.SupplementalDataEntry> ReadSupplementalDataMessage(MemoryStream input) | Static+1 flags | 0x08 | |
| void WriteExtensions(Stream output, IDictionary<System.Int32 extensions) | Static+1 flags | 0x08 | |
| void WriteExtensions(Stream output, IDictionary<System.Int32 extensions, int bindersSize) | Static+1 flags | 0x08 | |
| byte[] WriteExtensionsData(IDictionary<System.Int32 extensions) | Static+1 flags | 0x08 | |
| byte[] WriteExtensionsData(IDictionary<System.Int32 extensions, int bindersSize) | Static+1 flags | 0x08 | |
| void WriteExtensionsData(IDictionary<System.Int32 extensions, MemoryStream buf) | Static+1 flags | 0x08 | |
| void WriteExtensionsData(IDictionary<System.Int32 extensions, MemoryStream buf, int bindersSize) | Static+1 flags | 0x08 | |
| void WritePreSharedKeyExtension(MemoryStream buf, IDictionary<System.Int32 extensions, int bindersSize) | Static+1 flags | 0x08 | |
| void WriteSelectedExtensions(Stream output, IDictionary<System.Int32 extensions, bool selectEmpty) | Static+1 flags | 0x08 | |
| void WriteSupplementalData(Stream output, IList<Best.HTTP.SecureProtocol.Org.BouncyCastle.Tls.SupplementalDataEntry> supplementalData) | Static+1 flags | 0x08 |