1 2 3 4 5 6 7 8 9
// +build go1.10 package options import "crypto/x509" func x509CertSubject(cert *x509.Certificate) string { return cert.Subject.String() }