The x509 package is missing the public key counterparts to MarshalPKCS1PrivateKey and ParsePKCS1PrivateKey.
Activity
gopherbot commentedon Jul 15, 2017
CL https://golang.org/cl/48988 mentions this issue.