SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

AddReference Method

Creates a new XML reference to the specified XML element.

Syntax

public fun addReference(targetXmlElement: String?, customId: String?, autoGenerateId: Boolean)

Remarks

Use this method to add a reference to a particular XML element.

The reference's URI is set basing on the ID of the XML element. If the XML element doesn't have an ID then a CustomId value will be used. If CustomId is empty and AutoGenerateId is set, the ID will be generated automatically. An exception will be thrown otherwise.

This method uses CanonicalizationMethod and HashAlgorithm properties to specify the canonicalization method and hash algorithm of the reference.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Kotlin Edition - Version 20.0 [Build 8063]