IPWorks Encrypt 2020 JavaScript Edition

Questions / Feedback?

CanonicalizationMethod Property

The canonicalization method applied to the signature.

Syntax


 getCanonicalizationMethod(): XmlsigCanonicalizationMethods;

 setCanonicalizationMethod(canonicalizationMethod: XmlsigCanonicalizationMethods): void;

enum XmlsigCanonicalizationMethods { cmC14N, cmC14NComments, cmC14N11, cmC14N11Comments, cmExcC14N, cmExcC14NComments }

Default Value

0

Remarks

This property specifies the canonicalization method that is applied to the signature. This may be set before calling Sign. This will be set automatically after calling VerifySignature. Possible values are:

0 (cmC14N - default) Canonical XML version 1.0
1 (cmC14NComments) Canonical XML version 1.0 with comments
2 (cmC14N11) Canonical XML version 1.1
3 (cmC14N11) Canonical XML version 1.1 with comments
4 (cmExcC14N) Exclusive XML canonicalization version 1.0
5 (cmExcC14NComments) Exclusive XML canonicalization version 1.0 with comments

This property is not available at design time.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 JavaScript Edition - Version 20.0 [Build 8262]