The GenericCertificateResolver would store certs
in a ParsedCertificateAndKey form, after parsing and checking, but this form had to be re-parsed into rustls::sign::CertifiedKey at every handshake, diminishing performance.
This commit comes back to the feature of 0.13.6: storing CertifiedKey directly in the certificate resolver.
rename trait CertificateResolver to ResolveCertificate
rename GenericCertificateResolver to CertificateResolver
create type StoredCertificate (wraps CertifiedKey)
remove trait GenericCertificateResolverHelper
additional parse functions in command::certificate module
The GenericCertificateResolver would store certs in a ParsedCertificateAndKey form, after parsing and checking, but this form had to be re-parsed into
rustls::sign::CertifiedKey
at every handshake, diminishing performance. This commit comes back to the feature of 0.13.6: storing CertifiedKey directly in the certificate resolver.