---
id: object/codeunit/1460
type: object
title: Codeunit 1460 "SignedXml"
summary: Codeunit 1460 "SignedXml" in System Application (System.Security.Encryption). 40 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC27-28, BC30.
tier: official
language: en
tags:
  - codeunit
  - system application
versions:
  introduced: null
  last_changed: "30"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: ef38d92375fd986a9e30fa7c862a244dafaa445ab9e9ff94a751c418362f35cc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Cryptography%20Management/src/Xml/SignedXml.Codeunit.al
    title: src/System Application/App/Cryptography Management/src/Xml/SignedXml.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10212
object_type: codeunit
object_id: 1460
name: SignedXml
namespace: System.Security.Encryption
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "27"
  - "28"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 40
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Codeunit 1460 "SignedXml"

> Codeunit 1460 "SignedXml" in System Application (System.Security.Encryption). 40 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC27-28, BC30.

System Application · System.Security.Encryption · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Cryptography%20Management/src/Xml/SignedXml.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Public |

## Procedures

- `InitializeSignedXml(SigningXmlDocument: XmlDocument)`: Initializes a new instance of the SignedXml class from the specified XML document.
- `InitializeSignedXml(SigningXmlElement: XmlElement)`: Initializes a new instance of the SignedXml class from the specified XmlElement object.
- `SetSigningKey(XmlString: Text)`: Sets the key used for signing a SignedXml object.
- `SetSigningKey(XmlString: Text; SignatureAlgorithm: Enum SignatureAlgorithm)`: Sets the key used for signing a SignedXml object.
- `SetSigningKey(XmlString: SecretText)`: Sets the key used for signing a SignedXml object.
- `SetSigningKey(XmlString: SecretText; SignatureAlgorithm: Enum SignatureAlgorithm)`: Sets the key used for signing a SignedXml object.
- `SetSigningKey(SignatureKey: Codeunit "Signature Key")`: Sets the key used for signing a SignedXml object.
- `InitializeReference(Uri: Text)`: Initializes a new instance of the Reference class with the specified Uri.
- `SetDigestMethod(DigestMethod: Text)`: Sets the digest method Uniform Resource Identifier (URI) of the current Reference.
- `AddXmlDsigC14NTransformToReference(IncludeComments: Boolean)`: Adds a XmlDsigC14NTransform object to the list of transforms to be performed on the data before passing it to the digest algorithm.
- `AddXmlDsigExcC14NTransformToReference(InclusiveNamespacesPrefixList: Text)`: Adds a XmlDsigExcC14NTransform object to the list of transforms to be performed on the data before passing it to the digest algorithm.
- `SetCanonicalizationMethod(CanonicalizationMethod: Text)`: Sets the canonicalization algorithm that is used before signing for the current SignedInfo object.
- `SetXmlDsigExcC14NTransformAsCanonicalizationMethod(InclusiveNamespacesPrefixList: Text)`: Sets the XmlDsigExcC14NTransform as canonicalization algorithm that is used before signing for the current SignedInfo object.
- `SetSignatureMethod(SignatureMethod: Text)`: Sets the name of the algorithm used for signature generation and validation for the current SignedInfo object.
- `InitializeKeyInfo()`: Initializes a new instance of the KeyInfo class.
- `AddClause(KeyInfoNodeXmlElement: XmlElement)`: Adds a xml element of KeyInfoNode to the collection of KeyInfoClause.
- `AddKeyInfoClauseFromX509Certificate(X509CertBase64Value: Text; CertPassword: SecretText)`: Adds key information from an X509 certificate to the collection of KeyInfoClause.
- `LoadXml(SignatureElement: XmlElement)`: Loads a SignedXml state from an XML element.
- `InitializeDataObject()`: Initializes a new instance of the DataObject class.
- `AddObject(DataObjectXmlElement: XmlElement)`: Adds a xml element of DataObject object to the list of objects to be signed.
- `AddXmlDsigExcC14NTransformToReference()`: Adds a AddXmlDsigExcC14NTransformToReference object to the list of transforms to be performed on the data before passing it to the digest algorithm.
- `AddXmlDsigEnvelopedSignatureTransform()`: Adds a AddXmlDsigEnvelopedSignatureTransform object to the list of transforms to be performed on the data before passing it to the digest algorithm.
- `AddReferenceToSignedXML()`: Adds a Reference object to the Signed XML and clears Reference object.
- `ComputeSignature()`: Computes an Xml digital signature from Xml document.
- `CheckSignature(): Boolean`: Determines whether the signature verifies using the public key in the signature.
- `CheckSignature(XmlString: SecretText): Boolean`: Determines whether the Signature property verifies for the specified key.
- `CheckSignature(X509CertBase64Value: Text; X509CertPassword: SecretText; VerifySignatureOnly: Boolean): Boolean`: Determines whether the signature verifies for the specified X509Certificate2 and, optionally, whether the certificate is valid.
- `GetXml(): XmlElement`: Returns the Xml representation of a signature.
- `GetXmlDsigDSAUrl(): Text[250]`: Represents the Uniform Resource Identifier (URI) for the standard DSA algorithm for XML digital signatures.
- `GetXmlDsigC14NTransformUrl(): Text[250]`: Represents the Uniform Resource Identifier (URI) for canonical XML form.
- `GetXmlDsigExcC14NTransformUrl(): Text[250]`: Represents the Uniform Resource Identifier (URI) for exclusive XML canonicalization.
- `GetXmlDsigHMACSHA1Url(): Text[250]`: Represents the Uniform Resource Identifier (URI) for the standard HMACSHA1 algorithm for XML digital signatures.
- `GetXmlDsigRSASHA1Url(): Text[250]`: Represents the Uniform Resource Identifier (URI) for the standard RSA signature method for XML digital signatures.
- `GetXmlDsigRSASHA256Url(): Text[250]`: Represents the Uniform Resource Identifier (URI) for the RSA SHA-256 signature method variation for XML digital signatures.
- `GetXmlDsigRSASHA384Url(): Text[250]`: Represents the Uniform Resource Identifier (URI) for the RSA SHA-384 signature method variation for XML digital signatures.
- `GetXmlDsigRSASHA512Url(): Text[250]`: Represents the Uniform Resource Identifier (URI) for the RSA SHA-512 signature method variation for XML digital signatures.
- `GetXmlDsigSHA1Url(): Text[250]`: Represents the Uniform Resource Identifier (URI) for the standard SHA1 digest method for XML digital signatures.
- `GetXmlDsigSHA256Url(): Text[250]`: Represents the Uniform Resource Identifier (URI) for the standard SHA256 digest method for XML digital signatures.
- `GetXmlDsigSHA384Url(): Text[250]`: Represents the Uniform Resource Identifier (URI) for the standard SHA384 digest method for XML digital signatures.
- `GetXmlDsigSHA512Url(): Text[250]`: Represents the Uniform Resource Identifier (URI) for the standard SHA512 digest method for XML digital signatures.

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 1461 "SignedXml Impl."](../codeunit/1461.md) (32 calls: `AddClause → AddClause`, `AddKeyInfoClauseFromX509Certificate → AddKeyInfoClauseFromX509Certificate`, `AddObject → AddObject`, …)

## Recent changes

- 2026-10-07 [#10212 Add SetReferenceType method to SignedXml and SignedXmlImpl (#10139)](../../changes/bcapps/10212.md) (main, BC30, feature)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC27-28, BC30

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "SignedXml")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
