SecPkgCred_SupportedProtocols structure

The SecPkgCred_SupportedProtocols structure indicates the protocols permitted with a specified Schannel credential. This structure is used by the QueryCredentialsAttributes function.

Syntax

typedef struct _SecPkgCred_SupportedProtocols {
  DWORD grbitProtocol;
} SecPkgCred_SupportedProtocols, *PSecPkgCred_SupportedProtocols;

Members

  • grbitProtocol
    Flags representing the protocols supported with this credential. The following table lists the valid values.

    Value Meaning
    SP_PROT_TLS1_CLIENT

    Transport Layer Security 1.0 client-side.

    SP_PROT_TLS1_SERVER

    Transport Layer Security 1.0 server-side.

    SP_PROT_SSL3_CLIENT

    Secure Sockets Layer 3.0 client-side. Superseded by SP_PROT_TLS1_CLIENT.

    SP_PROT_SSL3_SERVER

    Secure Sockets Layer 3.0 server-side. Superseded by SP_PROT_TLS1_SERVER.

    SS_PROT_PCT1_CLIENT

    Private Communications Technology 1.0 client-side. Obsolete.

    SP_PROT_PCT1_SERVER

    Private Communications Technology 1.0 server-side. Obsolete.

    SP_PROT_SSL2_CLIENT

    Secure Sockets Layer 2.0 client-side. Superseded by SP_PROT_TLS1_CLIENT.

    SP_PROT_SSL2_SERVER

    Secure Sockets Layer 2.0 server-side. Superseded by SP_PROT_TLS1_SERVER.

     

Remarks

For information about setting the protocols, see AcquireCredentialsHandle

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Schannel.h (include Schnlsp.h)