Skip to content

Latest commit

 

History

History
93 lines (73 loc) · 4.2 KB

ns-sspi-secpkgcontext_keyinfoa.md

File metadata and controls

93 lines (73 loc) · 4.2 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:sspi._SecPkgContext_KeyInfoA
SecPkgContext_KeyInfoA (sspi.h)
The SecPkgContext_KeyInfo structure contains information about the session keys used in a security context. (ANSI)
*PSecPkgContext_KeyInfoA
PSecPkgContext_KeyInfo
PSecPkgContext_KeyInfo structure pointer [Security]
SecPkgContext_KeyInfo
SecPkgContext_KeyInfo structure [Security]
SecPkgContext_KeyInfoA
SecPkgContext_KeyInfoW
_ssp_secpkgcontext_keyinfo
security.secpkgcontext_keyinfo
sspi/PSecPkgContext_KeyInfo
sspi/SecPkgContext_KeyInfo
sspi/SecPkgContext_KeyInfoA
sspi/SecPkgContext_KeyInfoW
security\secpkgcontext_keyinfo.htm
security
ec146329-6789-460c-ae62-629a1765a4c1
12/05/2018
*PSecPkgContext_KeyInfoA, PSecPkgContext_KeyInfo, PSecPkgContext_KeyInfo structure pointer [Security], SecPkgContext_KeyInfo, SecPkgContext_KeyInfo structure [Security], SecPkgContext_KeyInfoA, SecPkgContext_KeyInfoW, _ssp_secpkgcontext_keyinfo, security.secpkgcontext_keyinfo, sspi/PSecPkgContext_KeyInfo, sspi/SecPkgContext_KeyInfo, sspi/SecPkgContext_KeyInfoA, sspi/SecPkgContext_KeyInfoW
sspi.h
Security.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
SecPkgContext_KeyInfoW (Unicode) and SecPkgContext_KeyInfoA (ANSI)
Windows
SecPkgContext_KeyInfoA, *PSecPkgContext_KeyInfoA
19H1
_SecPkgContext_KeyInfoA
sspi/_SecPkgContext_KeyInfoA
PSecPkgContext_KeyInfoA
sspi/PSecPkgContext_KeyInfoA
SecPkgContext_KeyInfoA
sspi/SecPkgContext_KeyInfoA
c++
APIRef
kbSyntax
HeaderDef
Sspi.h
SecPkgContext_KeyInfo
SecPkgContext_KeyInfoA
SecPkgContext_KeyInfoW

SecPkgContext_KeyInfoA structure

-description

The SecPkgContext_KeyInfo structure contains information about the session keys used in a security context. The QueryContextAttributes (General) function uses this structure.

Applications using the Schannel security support provider (SSP) should not use the SecPkgContext_KeyInfo structure. Instead, use the SecPkgContext_ConnectionInfo structure.

-struct-fields

-field sSignatureAlgorithmName

Pointer to a null-terminated string that contains the name, if available, of the algorithm used for generating signatures, for example "MD5" or "SHA-2".

-field sEncryptAlgorithmName

Pointer to a null-terminated string that contains the name, if available, of the algorithm used for encrypting messages. Reserved for future use.

-field KeySize

Specifies the effective key length, in bits, for the session key. This is typically 40, 56, or 128 bits.

-field SignatureAlgorithm

Specifies the algorithm identifier (ALG_ID) used for generating signatures, if available.

-field EncryptAlgorithm

Specifies the algorithm identifier (ALG_ID) used for encrypting messages. Reserved for future use.

-see-also

QueryContextAttributes (General)

-remarks

Note

The sspi.h header defines SecPkgContext_KeyInfo as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.