CertTimestampAuthenticodeLicense

Creates an Authenticode time-stamp signature for a signed file.

HRESULT CertTimestampAuthenticodeLicense (
   CRYPT_DATA_BLOB *pSignedLicenseBlob
   LPCWSTR pwszTimestampURI
   CRYPT_DATA_BLOB *pTimestampSignatureBlob
);

Parameters

Parameter Description

pSignedLicenseBlob

[in] A pointer to a CRYPT_DATA_BLOB structure that contains the license.

pwszTimestampURI

[in] The Uniform Resource Identifier (URI) of the time-stamp authority.

pTimestampSignatureBlob

[in, out] A pointer to a CRYPT_DATA_BLOB structure that contains the time stamp.

Requirements

Library: Mscorwks.dll

Return Value

Returns S_OK on success; otherwise, returns a COM error code on failure.

Remarks

Information about the CRYPT_DATA_BLOB structure is available in the Windows Platform SDK documentation.

See Also

Other Resources

Global Static Functions (Unmanaged API Reference)