Imports github.com/tjfoc/gmsm/sm2 github.com/pkg/errors Standard library imports crypto/ecdsa encoding/asn1 encoding/pem crypto/elliptic crypto/rand crypto/x509 fmt