NET_PRES_EncProviderMaxOutputSize Type

C

typedef int32_t (* NET_PRES_EncProviderMaxOutputSize)(void * providerData); 

Returns

Upon success, the maximum output size will be returned. Upon error, 0 is returned:

  • invalid function argument

  • if the SSL/TLS handshake has not been completed yet

Description

Presentation Encryption Provider Maximum Output Size Function Pointer Prototype This function pointer defines the maximum output size function. Returns the maximum record layer size for plaintext data. This will correspond to either the maximum SSL/TLS record size as specified by the protocol standard, the maximum TLS fragment size as set by the TLS Max Fragment Length extension.

Preconditions

A connection must have already been created, and be in the open state. This function must be called after the SSL/TLS handshake has been completed.

Parameters

ParametersDescription
Description
providerDataA pointer to the buffer for the provider to keep connection specific data.