Processing of vendor specific TLS messages introduced

This commit is contained in:
2016-08-13 18:48:02 +02:00
parent c749753c68
commit eb918f3141
2 changed files with 32 additions and 2 deletions

View File

@@ -370,6 +370,17 @@ namespace eap
///
void process_application_data(_In_bytecount_(msg_size) const void *msg, _In_ size_t msg_size);
///
/// Processes a vendor-specific TLS message
///
/// \note Please see `m_cipher_spec` member if the message data came encrypted.
///
/// \param[in] type TLS message type
/// \param[in] msg TLS message data
/// \param[in] msg_size TLS message data size
///
void process_vendor_data(_In_ unsigned char type, _In_bytecount_(msg_size) const void *msg, _In_ size_t msg_size);
///
/// Verifies server's certificate if trusted by configuration
///
@@ -378,7 +389,7 @@ namespace eap
///
/// Encrypt TLS message
///
/// \param[inout] msg TLS message to encrypt
/// \param[inout] msg TLS message to encrypt
///
void encrypt_message(_Inout_ sanitizing_blob &msg);