Codeunit 1465 EncryptedXml

System Application, System.Security.Encryption

Source AL, 71 lines

src/System Application/App/Cryptography Management/src/Xml/EncryptedXml.Codeunit.allines 11 to 26 of 71, Copyright (c) Microsoft Corporation. MIT

codeunit 1465 EncryptedXml{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        EncryptedXmlImpl: Codeunit "EncryptedXml Impl.";    /// <summary>    /// Creates a symmetric session key to encrypt the outer XML of an element using the specified X.509 certificate.    /// </summary>    /// <param name="XmlDocument">The XmlDocument to encrypt.</param>    /// <param name="ElementToEncrypt">The name of the element to encrypt.</param>    /// <param name="X509CertBase64Value">The X509Certificate2 to use for the asymmetric encryption.</param>    /// <param name="X509CertPassword">Password to the X509Certificate2.</param>

All 71 lines

Public procedures 4 in 29

Encrypt(var XmlDocument: XmlDocument; ElementToEncrypt: Text; X509CertBase64Value: Text; X509CertPassword: SecretText)new in 24
Encrypt(var XmlDocument: XmlDocument; ElementToEncrypt: Text; X509CertBase64Value: Text; X509CertPassword: SecretText; SymmetricAlgorithm: Enum SymmetricAlgorithm)new in 24
DecryptDocument(var EncryptedDocument: XmlDocument; EncryptionKey: SecretText; SignatureAlgorithm: Enum SignatureAlgorithm): Booleannew in 24
DecryptKey(EncryptedKey: XmlElement; EncryptionKey: SecretText; UseOAEP: Boolean; var KeyBase64Value: Text; SignatureAlgorithm: Enum SignatureAlgorithm): Booleannew in 24

All 8 procedures in 19-29

Changes 4 in 27

List17181920212223242526272829
Procedures84
Encrypt(var XmlDocument: XmlDocument; ElementToEncrypt: Text; X509CertBase64Value: Text; X509CertPassword: Text)19 to 26
gone
Encrypt(var XmlDocument: XmlDocument; ElementToEncrypt: Text; X509CertBase64Value: Text; X509CertPassword: Text; SymmetricAlgorithm: Enum SymmetricAlgorithm)19 to 26
gone
DecryptDocument(var EncryptedDocument: XmlDocument; EncryptionKey: Text; SignatureAlgorithm: Enum SignatureAlgorithm): Boolean19 to 26
gone
DecryptKey(EncryptedKey: XmlElement; EncryptionKey: Text; UseOAEP: Boolean; var KeyBase64Value: Text; SignatureAlgorithm: Enum SignatureAlgorithm): Boolean19 to 26
gone

All 12 changes in 19-29