Skip to content

Latest commit

 

History

History
118 lines (90 loc) · 3.02 KB

ns-wincrypt-schannel_alg.md

File metadata and controls

118 lines (90 loc) · 3.02 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:wincrypt._SCHANNEL_ALG
SCHANNEL_ALG (wincrypt.h)
The SCHANNEL_ALG structure contains algorithm and key size information. It is used as the structure passed as pbData in CryptSetKeyParam when dwParam is set to KP_SCHANNEL_ALG.
*PSCHANNEL_ALG
PSCHANNEL_ALG
PSCHANNEL_ALG structure pointer [Security]
SCHANNEL_ALG
SCHANNEL_ALG structure [Security]
SCHANNEL_ENC_KEY
SCHANNEL_MAC_KEY
_crypto2_schannel_alg
security.schannel_alg
wincrypt/PSCHANNEL_ALG
wincrypt/SCHANNEL_ALG
security\schannel_alg.htm
security
55afebf4-8872-42a1-847f-ff0240c2be20
12/05/2018
*PSCHANNEL_ALG, PSCHANNEL_ALG, PSCHANNEL_ALG structure pointer [Security], SCHANNEL_ALG, SCHANNEL_ALG structure [Security], SCHANNEL_ENC_KEY, SCHANNEL_MAC_KEY, _crypto2_schannel_alg, security.schannel_alg, wincrypt/PSCHANNEL_ALG, wincrypt/SCHANNEL_ALG
wincrypt.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
SCHANNEL_ALG, *PSCHANNEL_ALG
19H1
_SCHANNEL_ALG
wincrypt/_SCHANNEL_ALG
PSCHANNEL_ALG
wincrypt/PSCHANNEL_ALG
SCHANNEL_ALG
wincrypt/SCHANNEL_ALG
c++
APIRef
kbSyntax
HeaderDef
Wincrypt.h
SCHANNEL_ALG

SCHANNEL_ALG structure

-description

The SCHANNEL_ALG structure contains algorithm and key size information. It is used as the structure passed as pbData in CryptSetKeyParam when dwParam is set to KP_SCHANNEL_ALG.

-struct-fields

-field dwUse

Indicates the use of derived keys. The following values can be used.

Value Meaning
SCHANNEL_MAC_KEY
Derive keys to create or verify SSL MAC signatures.
SCHANNEL_ENC_KEY
Derive keys to encrypt or decrypt data.

-field Algid

Algorithms used with the derived keys. Note that no algorithm will be specified unless earlier obtained from the CSP by enumeration.

SCHANNEL_MAC_KEYs can be either MD5 or SHA.

SCHANNEL_ENC_KEYs can be RC4, DES, 3DES, or RC2.

-field cBits

Size in bits of the derived keys.

-field dwFlags

This flag can be set to INTERNATIONAL_USAGE (0x00000001), indicating that derived keys must follow SSL export rules.

-field dwReserved

Reserved for future use. Should be set to zero.