SCHANNEL_CLIENT_SIGNATURE structure (schannel.h)
Specifies a client signature when a call to the InitializeSecurityContext (Schannel) function cannot access the private key for a client certificate (in this case, the function returns SEC_I_SIGNATURE_NEEDED).
Syntax
typedef struct _SCHANNEL_CLIENT_SIGNATURE {
DWORD cbLength;
ALG_ID aiHash;
DWORD cbHash;
BYTE HashValue[36];
BYTE CertThumbprint[20];
} SCHANNEL_CLIENT_SIGNATURE, *PSCHANNEL_CLIENT_SIGNATURE;
Members
cbLength
The size, in bytes, of this structure.
aiHash
The ID of the algorithm used to compute the hash of the certificate.
cbHash
The size, in bytes, of the HashValue array.
HashValue[36]
An array of byte values that specify the hash of the certificate.
CertThumbprint[20]
An array of byte values that specify the certificate thumbprint.
Remarks
Add a client signature to a client context by using this structure as the value of the pInput parameter in a call to the ApplyControlToken function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | schannel.h |