IX509SignatureInformation::put_AlternateSignatureAlgorithm method (certenroll.h)

The AlternateSignatureAlgorithm property specifies and retrieves a Boolean value that specifies whether the GetSignatureAlgorithm method should retrieve a discrete or combined algorithm object identifier (OID) for a PKCS #10 certificate request.

This property is read/write.

Syntax

HRESULT put_AlternateSignatureAlgorithm(
  VARIANT_BOOL Value
);

Parameters

Value

Return value

None

Remarks

PKCS #7 and CMC certificate requests always use a discrete signature algorithm OID and a separate hashing algorithm OID. Only PKCS #10 certificate requests use combined algorithm OIDs. You can set the AlternateSignatureAlgorithm property to retrieve a discrete signature algorithm OID from the GetSignatureAlgorithm method for a PKCS #10 request. If you set this property, the hashing algorithm OID can be retrieved from the Parameters property, and the AlternateSignatureAlgorithmSet property is also set. For examples of discrete and combined OIDs, see IX509SignatureInformation

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h
DLL CertEnroll.dll

See also

IX509SignatureInformation