SecureBlackbox 16: How I do modify the QualifyingProperties element (the main element in XAdES) like an Id and/or node prefix?
The procedure is as follows:
- Set XAdES interface properties like the following: PolicyId, ProductionPlace, SignerRole, Included, SigningCertificates, XAdESForm, and XAdESVersion.
- Call the Generate method, which will construct the QualifyingProperties structure.
- 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 support@nsoftware.com.