I posted to golang-nuts without any replies so before I push to gerrit I thought I'd make a bug here first.
There is a x509.ParsePKCS8PrivateKey but there is no x509.MarshalPKCS8PrivateKey, which doesn't seem to match up with the other Parse/Marshal combinations in the x509 package. I've written a Marshal method but I'm curious why it was originally omitted and if I'm missing something.
I posted to golang-nuts without any replies so before I push to gerrit I thought I'd make a bug here first.
There is a
x509.ParsePKCS8PrivateKeybut there is nox509.MarshalPKCS8PrivateKey, which doesn't seem to match up with the other Parse/Marshal combinations in thex509package. I've written a Marshal method but I'm curious why it was originally omitted and if I'm missing something.