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

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";

Ready to get started?

Learn more about SecureBlackbox or download a free trial.

Download Now