Compress_Encrypt_Send Method

This method takes the inner authentication method or the EAP expanded type packets as input and processes it as follows:

  1. Compress the input data as specified in section, then encrypt the compressed data by passing it to the TLS layer using the EncryptMessage method.

  2. Prepare a PEAP packet by saving the encrypted data returned by the EncryptMessage method as the Data field of the PEAP packet and return the prepared PEAP packet as the Received PEAP Request (section or Received PEAP Response (section higher-layer triggered event.