IXpsSigningOptions interface (xpsdigitalsignature.h)
Provides access to the individual signing options that are used by new signatures.
Inheritance
The IXpsSigningOptions interface inherits from the IUnknown interface. IXpsSigningOptions also has these types of members:
Methods
The IXpsSigningOptions interface has these methods.
IXpsSigningOptions::GetCertificateSet Gets an IOpcCertificateSet interface, which can be used to add additional certificates to the signature. |
IXpsSigningOptions::GetCustomObjects Gets a pointer to an IOpcSignatureCustomObjectSet interface that contains a set of signature custom objects. |
IXpsSigningOptions::GetCustomReferences Gets a pointer to an IOpcSignatureReferenceSet interface, which contains a set of signature custom references. |
IXpsSigningOptions::GetDigestMethod Gets the current digest method. |
IXpsSigningOptions::GetFlags Gets the XPS_SIGN_FLAGS value that specifies the signing flags to be used for this signature. |
IXpsSigningOptions::GetPolicy Gets the XPS_SIGN_POLICY value that specifies the signing policy. |
IXpsSigningOptions::GetSignatureId Gets the value of the Id attribute of the Signature element. (IXpsSigningOptions.GetSignatureId) |
IXpsSigningOptions::GetSignatureMethod Gets the signature method. |
IXpsSigningOptions::GetSignaturePartName Gets the part name of the document's signature part. |
IXpsSigningOptions::GetSigningTimeFormat Gets the format of the signing time string. |
IXpsSigningOptions::SetDigestMethod Sets the URI of the digest method. |
IXpsSigningOptions::SetFlags Sets the XPS_SIGN_FLAGS value that specifies the signing flags to use for this signature. |
IXpsSigningOptions::SetPolicy Sets the XPS_SIGN_POLICY value that represents the signing policy. |
IXpsSigningOptions::SetSignatureId Sets the value of the Id attribute of the Signature element. (IXpsSigningOptions.SetSignatureId) |
IXpsSigningOptions::SetSignatureMethod Sets the signature method. |
IXpsSigningOptions::SetSignaturePartName Sets the part name of the document's signature part. |
IXpsSigningOptions::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
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | xpsdigitalsignature.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for