You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation:
NIOSSLCertificate has an 'init' which loads a single cert from PEM or
DER encoded file. This, obviously, only loads the first PEM which is
very rarely what users actually want to do. This is a common source of
error when loading cert chains and is easy to miss in review.
Modifications:
- Deprecate the init and point users to the `fromPEMBytes` method for
PEM which returns an array of certs, and to a new `fromDERBytes` which
returns a single cert.
Result:
Harder to misuse API
0 commit comments