Closed caleblloyd closed 1 week ago
I'm wondering Bouncy dependency is going to be an issue for some people. Be nice if we can bring in a simple implementation for reading PEM. it doesn't need to be super efficient at all.
We could potentially require a different dependency for Bouncy Castle instead of bundling into Nats.Client.Core
? Then throw NotSuppportedException
with a message that you have to install another dependency to use the pem-related fields on NETStandard
Not my favorite approach but cuts down on the package size
After further discussion on Slack, @mtmk and I thought that it would be best to
Those changes are ready for review
Imports BouncyCastle when target is NETStandard for PEM ReadingNatsTlsOpts
methodsNatsTlsOpts
between NETStandard and NET6/8, except Client Cert/Key PEM functions are excluded from NETStandard