IOpcSignatureRelationshipReference::GetTransformMethod method (msopc.h)

Gets the canonicalization method to use on the relationship markup of the selected relationships when they are signed.

Syntax

HRESULT GetTransformMethod(
  [out, retval] OPC_CANONICALIZATION_METHOD *transformMethod
);

Parameters

[out, retval] transformMethod

The canonicalization method to use on the relationship markup of the selected  relationships when they are signed.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
The transformMethod parameter is NULL.

Remarks

All or a subset of the relationships in a referenced Relationships part can be signed.

If a subset of is selected and the signature is generated by calling the IOpcDigitalSignatureManager::Sign method, the transform methods that are applied to relationship markup are the relationships transform followed by the OPC_CANONICALIZATION_C14N  canonicalization method.

Thread Safety

Packaging objects are not thread-safe.

For more information, see the Getting Started with the Packaging API.

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 msopc.h

See also

Core Packaging Interfaces

Getting Started with the Packaging API

IOpcDigitalSignatureManager

IOpcSignatureRelationshipReference

OPC_CANONICALIZATION_METHOD

Overviews

Packaging API Programming Guide

Packaging API Reference

Packaging API Samples

Packaging Digital Signature Interfaces

Packaging Interfaces

Reference