IXpsSigningOptions::SetSigningTimeFormat method
Sets the format of the signing time string.
Syntax
HRESULT SetSigningTimeFormat(
[in] OPC_SIGNATURE_TIME_FORMAT timeFormat
);
Parameters
- timeFormat [in]
The OPC_SIGNATURE_TIME_FORMAT value that specifies the format of the signing time string.
Return value
If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code.
Remarks
For more information about the format of the date-time string that is passed in timeFormat, see OPC_SIGNATURE_TIME_FORMAT.
If a signing time format has not been set, OPC_SIGNATURE_TIME_FORMAT_MILLISECONDS will be used as the default format.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
Xpsdigitalsignature.h |
IDL |
XpsDigitalSignature.idl |