-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
Type of Issue
[ ] Bug [ ] Enhancement [ ] Compliance [ X] Question [ ] Help wanted
Describe the Issue
in Opc.Ua.Gds.Server CertificateGroup.cs method VerifySigningRequestAsync
I thought that in version 1.04.365.23 dependancy to Bouncy Castle was removed. It looks like the method VerifySigningRequestAsync still use a Bouncy Castle method call.
To Reproduce
Source code on master branch
Expected behavior
Remove dependancy to Bouncy Castle?
Screenshots
Log output
Code snippets
public virtual Task VerifySigningRequestAsync(
ApplicationRecordDataType application,
byte[] certificateRequest)
{
try
{
var pkcs10CertificationRequest = new Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest(certificateRequest);
if (!pkcs10CertificationRequest.Verify())
{
throw new ServiceResultException(StatusCodes.BadInvalidArgument, "CSR signature invalid.");
}
Environment (please complete the following information):
Not imporant
Additional context
Copilot