CERT_STRONG_SIGN_PARA structure (wincrypt.h)
Contains parameters used to check for strong signatures on certificates, certificate revocation lists (CRLs), online certificate status protocol (OCSP) responses, and PKCS #7 messages.
Syntax
typedef struct _CERT_STRONG_SIGN_PARA {
DWORD cbSize;
DWORD dwInfoChoice;
union {
void *pvInfo;
PCERT_STRONG_SIGN_SERIALIZED_INFO pSerializedInfo;
LPSTR pszOID;
} DUMMYUNIONNAME;
} CERT_STRONG_SIGN_PARA, *PCERT_STRONG_SIGN_PARA;
Members
cbSize
Size, in bytes, of this structure.
dwInfoChoice
Indicates which nested union member points to the strong signature information. This can be one of the following values:
Value | Description |
---|---|
CERT_STRONG_SIGN_SERIALIZED_INFO_CHOICE | Specifies the pSerializedInfo member. |
CERT_STRONG_SIGN_OID_INFO_CHOICE | Specifies the pszOID member. |
DUMMYUNIONNAME
Union that contains the parameters that can be used for checking whether a signature is strong. The parameters consist of signature algorithm / hash algorithm pairs and public key algorithm / bit length pairs.
DUMMYUNIONNAME.pvInfo
Reserved.
DUMMYUNIONNAME.pSerializedInfo
Pointer to a CERT_STRONG_SIGN_SERIALIZED_INFO structure that specifies the parameters.
DUMMYUNIONNAME.pszOID
Pointer to a string that contains an object identifier (OID) that represents predefined parameters that can be used for strong signature checking. This can be one of the following values:
Remarks
The parameters needed to check for a strong signature include the following:
- Name of the public (asymmetric) algorithm
- Size, in bits, of the public key
- Name of the signature algorithm
- Name of the hashing algorithm
The CERT_STRONG_SIGN_PARA structure is directly referenced by the following functions:
The CERT_STRONG_SIGN_PARA structure is also directly referenced by the CRYPT_VERIFY_MESSAGE_PARA structure and is therefore available for use by the following functions:- CryptDecodeMessage
- CryptDecryptAndVerifyMessageSignature
- CryptVerifyDetachedMessageSignature
- CryptVerifyMessageSignature
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | wincrypt.h |