IXpsSignature interface (xpsdigitalsignature.h)
Represents a single digital signature.
Inheritance
The IXpsSignature interface inherits from the IUnknown interface. IXpsSignature also has these types of members:
Methods
The IXpsSignature interface has these methods.
IXpsSignature::GetCertificateEnumerator Gets a pointer to an IOpcCertificateEnumerator interface, which enumerates the package certificates that are attached to the signature. |
IXpsSignature::GetCustomObjectEnumerator Gets a pointer to an IOpcSignatureCustomObjectEnumerator interface, which enumerates the custom objects of the signature. |
IXpsSignature::GetCustomReferenceEnumerator Gets a pointer to an IOpcSignatureReferenceEnumerator interface, which enumerates the custom references of the signature. |
IXpsSignature::GetPolicy Gets the XPS_SIGN_POLICY value that represents the signing policy used when the signature is created. |
IXpsSignature::GetSignatureId Gets the value of the Id attribute of the Signature element. (IXpsSignature.GetSignatureId) |
IXpsSignature::GetSignaturePartName Gets the part name of the signature part. |
IXpsSignature::GetSignatureValue Gets the encrypted hash value of the signature. |
IXpsSignature::GetSignatureXml Gets the XML markup of the digital signature. |
IXpsSignature::GetSigningTime Gets the date and time of signature creation. |
IXpsSignature::GetSigningTimeFormat Gets the format of the signing time. |
IXpsSignature::SetSignatureXml Sets the XML markup of the digital signature. |
IXpsSignature::Verify Verifies the signature against a specified X.509 certificate. |
Remarks
This interface is linked to the signature manager from which it was instantiated and it cannot exist independently.
An IXpsSignature interface may represent a signature that is not XPS compliant. For example, it could represent a signature that includes only custom parts, which is not allowed by the XML Paper Specification.
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 |