Imports github.com/tjfoc/gmsm/sm2 github.com/pkg/errors Standard library imports crypto/x509/pkix crypto/elliptic encoding/pem crypto/sha256 crypto crypto/rand math/big net time