NET_PRES_EncProviderConnect Type

C

typedef NET_PRES_EncSessionStatus (* NET_PRES_EncProviderConnect)(void * providerData); 

Returns

  • NET_PRES_ENC_SS_CLIENT_NEGOTIATING - Client is still negotiating the connection

  • NET_PRES_ENC_SS_SERVER_NEGOTIATING - Server is still negotiating the connection

  • NET_PRES_ENC_SS_OPEN - Negotiation is complete and data can be securely transmitted

  • NET_PRES_ENC_SS_FAILED - Negotiation failed

Description

Presentation Encryption Provider Connect Prototype This function is used by the presentation layer to pump the encryption negotiation. While negotiation is ongoing, the presentation layer's task function will continue to call the function until negotiation ends.

Preconditions

A connection must have already been created.

Parameters

ParametersDescription
Description
providerDataA pointer to the buffer that keeps the providerData returned from the Open call.