Condividi tramite


WS_CUSTOM_CERT_CREDENTIAL struttura (webservices.h)

Tipo per specificare una credenziale del certificato che deve essere fornita da un callback all'applicazione. Questo callback viene richiamato per ottenere il certificato durante WsOpenChannel sul lato client e durante WsOpenListener sul lato server. Viene sempre richiamato breve.

Sintassi

typedef struct _WS_CUSTOM_CERT_CREDENTIAL {
  WS_CERT_CREDENTIAL                        credential;
  WS_GET_CERT_CALLBACK                      getCertCallback;
  void                                      *getCertCallbackState;
  WS_CERT_ISSUER_LIST_NOTIFICATION_CALLBACK certIssuerListNotificationCallback;
  void                                      *certIssuerListNotificationCallbackState;
} WS_CUSTOM_CERT_CREDENTIAL;

Members

credential

Tipo di base da cui deriva questo tipo e tutti gli altri tipi di credenziali del certificato.

getCertCallback

Callback per ottenere il certificato.

getCertCallbackState

Stato da passare quando si richiama il callback.

certIssuerListNotificationCallback

certIssuerListNotificationCallbackState

Requisiti

Requisito Valore
Client minimo supportato Windows 7 [solo app desktop]
Server minimo supportato Windows Server 2008 R2 [solo app desktop]
Intestazione webservices.h