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

First, set XAdES interface properties like: PolicyId, ProductionPlace, SignerRole, Included, SigningCertificates, XAdESForm and XAdESVersion. Then call Generate method which will construct QualifyingProperties structure. After that you can modify XAdES properties which not available using XAdES interface.

Changing an ID for the “UnsignedSignatureProperties” element:

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

To change XAdES nodes prefix add:

XAdESSigner.QualifyingProperties.XAdESPrefix = "etsi";

Ready to get started?

Learn more about SecureBlackbox or download a free trial.

Download Now