Partager via


IXpsSigningOptions::SetSigningTimeFormat method

Sets the format of the signing time string.

Syntax

HRESULT SetSigningTimeFormat(
  [in] OPC_SIGNATURE_TIME_FORMAT timeFormat
);

Parameters

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

See also

IXpsSigningOptions

IOpcSigningOptions

OPC_SIGNATURE_TIME_FORMAT

XML Paper Specification