src/crypto/x509/pkcs8.go | 2 +- diff --git a/src/crypto/x509/pkcs8.go b/src/crypto/x509/pkcs8.go index d37fc9e1b3fedf13caca4cb06b8a94a515ca9610..ec4ab10c5733f54d6608e87148a2455072d560d3 100644 --- a/src/crypto/x509/pkcs8.go +++ b/src/crypto/x509/pkcs8.go @@ -79,7 +79,7 @@ return nil, fmt.Errorf("x509: PKCS#8 wrapping contained private key with unknown algorithm: %v", privKey.Algo.Algorithm) } } -// MarshalPKCS8PrivateKey converts an RSA private key to PKCS#8, ASN.1 DER form. +// MarshalPKCS8PrivateKey converts a private key to PKCS#8, ASN.1 DER form. // // The following key types are currently supported: *rsa.PrivateKey, *ecdsa.PrivateKey // and ed25519.PrivateKey. Unsupported key types result in an error.