IOpcSignatureRelationshipReference::GetTransformMethod method

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

transformMethod [out, retval]

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 codeDescription
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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Msopc.h

IDL

OpcDigitalSignature.idl

See also

IOpcSignatureRelationshipReference
Overviews
Getting Started with the Packaging API
Packaging API Programming Guide
Reference
IOpcDigitalSignatureManager
OPC_CANONICALIZATION_METHOD
Core Packaging Interfaces
Packaging Digital Signature Interfaces
Packaging Interfaces
Packaging API Reference
Packaging API Samples

 

 

Community Additions

ADD
Show: