Skip to content

Remove unused using directives of Crmf#125

Open
zwcloud wants to merge 1 commit intonovotnyllc:netstandardfrom
zwcloud:patch-1
Open

Remove unused using directives of Crmf#125
zwcloud wants to merge 1 commit intonovotnyllc:netstandardfrom
zwcloud:patch-1

Conversation

@zwcloud
Copy link

@zwcloud zwcloud commented Mar 4, 2026

This makes CertRequest.cs no longer depends on /crypto/src/crmf/ directory and makes it easy to reduce the size of bc to reduce the built size of final product.

In my case, I only need to parse a CmsSignedData bytes, so many parts of bc should be removed. I found that in this file using Org.BouncyCastle.Crmf; introduced the dependency to /crypto/src/crmf, and we can remove this using safely because it is not used, which is displayed in gray in the IDE:

image

This makes `CertRequest.cs` no longer depends on [/crypto/src/crmf/](https://github.com/novotnyllc/bc-csharp/tree/netstandard/crypto/src/crmf) directory and makes it easy to reduce the size of bc to reduce the built size of final product.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant