SecureBlackbox 16: How I do modify the QualifyingProperties element (the main element in XAdES) like an Id and/or node prefix?

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

The procedure is as follows:
  1. Set XAdES interface properties like the following: PolicyId, ProductionPlace, SignerRole, Included, SigningCertificates, XAdESForm, and XAdESVersion.
  2. Call the Generate method, which will construct the QualifyingProperties structure.
  3. Modify XAdES properties that are not available using the XAdES interface.

Changing an ID for the UnsignedSignatureProperties Element

XAdESSigner.QualifyingProperties.UnsignedProperties.UnsignedSignatureProperties.ID = "id123";

Changing the XAdES Node Prefix

XAdESSigner.QualifyingProperties.XAdESPrefix = "etsi";

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