SOCKET_SECURITY_QUERY_TEMPLATE structure [Filtering]

The SOCKET_SECURITY_QUERY_TEMPLATE structure contains the security template used by the WSAQuerySocketSecurity function.

typedef struct _SOCKET_SECURITY_QUERY_TEMPLATE {
  SOCKET_SECURITY_PROTOCOL SecurityProtocol;
  SOCKADDR_STORAGE PeerAddress;
  ULONG PeerTokenAccessMask;
} SOCKET_SECURITY_QUERY_TEMPLATE;

Members

  • SecurityProtocol
    A SOCKET_SECURITY_PROTOCOL value that identifies the protocol used to secure the traffic.
  • PeerAddress
    Address of the peer for which security information is being queried. For connection-oriented sockets, the connected socket uniquely identifies a peer. In this case, this parameter is ignored.
  • PeerTokenAccessMask
    Access mask used for opening the peer user application and machine token handles that are returned as part of the query information.

Requirements

Client Requires Windows Vista.
Server Requires Windows Server "Longhorn".
Header

Declared in Mstcpip.h.

See Also

Windows Filtering Platform API Structures