Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RSA.Codeunit.al #2255

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
RSAImpl.InitializeRSA(KeySize);
end;

/// <summary>
/// Initializes a new instance of RSA with the specified key size and a pem private Key.
/// </summary>
/// <param name="KeySize">The size of the key in bits.</param>
/// <param name="PrivateKey">The private key as text.</param>
procedure InitializeRSA(KeySize: Integer; PrivateKey: Text)
begin
RSAImpl.InitializeRSA(KeySize, PrivateKey);

Check failure on line 36 in src/System Application/App/Cryptography Management/src/RSA.Codeunit.al

View workflow job for this annotation

GitHub Actions / Build System Application and Tools (Translated) / System Application and Tools (Translated)

AL0126 No overload for method 'InitializeRSA' takes 2 arguments. Candidates: 'InitializeRSA(Integer)' defined in Codeunit 'RSA Impl.' by the extension System Application by Microsoft (26.0.2147483647.0)

Check failure on line 36 in src/System Application/App/Cryptography Management/src/RSA.Codeunit.al

View workflow job for this annotation

GitHub Actions / Build System Application and Tools (Clean) / System Application and Tools (Clean)

AL0126 No overload for method 'InitializeRSA' takes 2 arguments. Candidates: 'InitializeRSA(Integer)' defined in Codeunit 'RSA Impl.' by the extension System Application by Microsoft (26.0.2147483647.0)

Check failure on line 36 in src/System Application/App/Cryptography Management/src/RSA.Codeunit.al

View workflow job for this annotation

GitHub Actions / Build System Application and Tools (Default) / System Application and Tools (Default)

AL0126 No overload for method 'InitializeRSA' takes 2 arguments. Candidates: 'InitializeRSA(Integer)' defined in Codeunit 'RSA Impl.' by the extension System Application by Microsoft (26.0.2147483647.0)
JesperSchulz marked this conversation as resolved.
Show resolved Hide resolved
end;

/// <summary>
/// Creates and returns an XML string containing the key of the current RSA object.
/// </summary>
Expand Down Expand Up @@ -86,4 +96,4 @@
begin
RSAImpl.Decrypt(XmlString, EncryptedTextInStream, OaepPadding, DecryptedTextOutStream);
end;
}
}
Loading