Imports github.com/go-ldap/ldap/v3 github.com/tjfoc/gmsm/pkcs12 github.com/tjfoc/gmsm/sm2 github.com/tjfoc/gmsm/x509 Standard library imports bytes crypto crypto/ecdsa crypto/rand crypto/rsa crypto/x509 crypto/x509/pkix encoding/asn1 encoding/base64 encoding/hex encoding/pem errors fmt io/ioutil math/big strings time