SecureBlackbox 16: When using the ValidateReferences method in TElXMLVerifier, I get the following error: Reference requires a context error.

Note: This article applies only to SecureBlackbox Legacy. For future development please consider using the latest version.

The error is returned when there exists an XMLReference element with neither URIData, URINode, nor URIStream set. After loading the signature into the TElXMLVerifier class, you need to traverse all references and set the corresponding TElXMLReference.URIData/URINode/URIStream properties based on their URI property.

For the sample code please check the XMLBlackbox\Signer or AdvancedSigner samples.

We appreciate your feedback.  If you have any questions, comments, or suggestions about this article please contact our support team at