Codeunit 1445 RSACryptoServiceProvider

System Application, System.Security.Encryption

Source AL, 110 lines

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

codeunit 1445 RSACryptoServiceProvider{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        RSACryptoServiceProviderImpl: Codeunit "RSACryptoServiceProvider Impl.";    /// <summary>    /// Initializes a new instance of RSACryptoServiceProvider with the specified key size and returns the key as an XML string.    /// </summary>    /// <param name="KeySize">The size of the key in bits.</param>    procedure InitializeRSA(KeySize: Integer)    begin        RSACryptoServiceProviderImpl.InitializeRSA(KeySize);

All 110 lines

Public procedures 8 in 29

InitializeRSA(KeySize: Integer)new in 23
PublicKeyToXmlString(): Textnew in 24
ToSecretXmlString(IncludePrivateParameters: Boolean): SecretTextnew in 24
SignData(XmlString: SecretText; DataInStream: InStream; HashAlgorithm: Enum "Hash Algorithm"; SignatureOutStream: OutStream)new in 24
VerifyData(XmlString: SecretText; DataInStream: InStream; HashAlgorithm: Enum "Hash Algorithm"; SignatureInStream: InStream): Booleannew in 24
Encrypt(XmlString: SecretText; PlainTextInStream: InStream; OaepPadding: Boolean; EncryptedTextOutStream: OutStream)new in 24

All 13 procedures in 17-29

Changes 5 in 27

List17181920212223242526272829
Procedures21125
ToXmlString(IncludePrivateParameters: Boolean): Textgone after 26
gone
SignData(XmlString: Text; DataInStream: InStream; HashAlgorithm: Enum "Hash Algorithm"; SignatureOutStream: OutStream)gone after 26
gone
VerifyData(XmlString: Text; DataInStream: InStream; HashAlgorithm: Enum "Hash Algorithm"; SignatureInStream: InStream): Booleangone after 26
gone
Encrypt(XmlString: Text; PlainTextInStream: InStream; OaepPadding: Boolean; EncryptedTextOutStream: OutStream)19 to 26
gone
Decrypt(XmlString: Text; EncryptedTextInStream: InStream; OaepPadding: Boolean; DecryptedTextOutStream: OutStream)19 to 26
gone

All 20 changes in 17-29