What version of Go are you using (go version)?
$ 1.13.4
ParseCertificate parses many common extensions and puts them in the Certificate struct. I'd like for ParseCertificateRequest to do the same. Specifically, I currently manually parse the following fields from CertificateRequest.Extensions, and would like for them to be added to CertificateRequest, with the corresponding changes to ParseCertificateRequest and CreateCertificateRequest, exactly as they're implemented for Certificate:
- KeyUsage
- ExtKeyUsage
- UnknownExtKeyUsage
- IsCA
- MaxPathLen
- BasicConstraintsValid
- MaxPathLenZero
- SubjectKeyId
- PolicyIdentifier
What version of Go are you using (
go version)?ParseCertificateparses many common extensions and puts them in theCertificatestruct. I'd like forParseCertificateRequestto do the same. Specifically, I currently manually parse the following fields fromCertificateRequest.Extensions, and would like for them to be added toCertificateRequest, with the corresponding changes toParseCertificateRequestandCreateCertificateRequest, exactly as they're implemented forCertificate: