The x509 package is missing the public key counterparts to MarshalPKCS1PrivateKey and ParsePKCS1PrivateKey.