Skip to content

GDS dependancy to Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest #1276

@eoursel

Description

@eoursel

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions