IXpsSigningOptions interface

Provides access to the individual signing options that are used by new signatures.

When to implement

Never. Custom implementation of this interface is not supported.

Members

The IXpsSigningOptions interface inherits from the IUnknown interface. IXpsSigningOptions also has these types of members:

  • Methods

Methods

The IXpsSigningOptions interface has these methods.

Method Description
GetCertificateSet

Gets an IOpcCertificateSet interface, which can be used to add additional certificates to the signature.

GetCustomObjects

Gets a pointer to an IOpcSignatureCustomObjectSet interface that contains a set of signature custom objects.

GetCustomReferences

Gets a pointer to an IOpcSignatureReferenceSet interface, which contains a set of signature custom references.

GetDigestMethod

Gets the current digest method.

GetFlags

Gets the XPS_SIGN_FLAGS value that specifies the signing flags to be used for this signature.

GetPolicy

Gets the XPS_SIGN_POLICY value that specifies the signing policy.

GetSignatureId

Gets the value of the Id attribute of the Signature element.

GetSignatureMethod

Gets the signature method.

GetSignaturePartName

Gets the part name of the document's signature part.

GetSigningTimeFormat

Gets the format of the signing time string.

SetDigestMethod

Sets the URI of the digest method.

SetFlags

Sets the XPS_SIGN_FLAGS value that specifies the signing flags to use for this signature.

SetPolicy

Sets the XPS_SIGN_POLICY value that represents the signing policy.

SetSignatureId

Sets the value of the Id attribute of the Signature element.

SetSignatureMethod

Sets the signature method.

SetSignaturePartName

Sets the part name of the document's signature part.

SetSigningTimeFormat

Sets the format of the signing time string.

 

Remarks

To create a new instance of this interface, call IXpsSignatureManager::CreateSigningOptions.

When a new instance of this interface is returned by IXpsSignatureManager::CreateSigningOptions, the SignatureMethod and DigestMethod properties are not initialized. These properties must be initialized before the new interface can be used as a parameter of the Sign method.

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

Interfaces

XML Paper Specification