Lines Matching refs:emailAddresses
524 EmailAddresses []string
833 func parseSANExtension(value []byte) (dnsNames, emailAddresses []string, ipAddresses []net.IP, err error) {
872 emailAddresses = append(emailAddresses, string(v.Bytes))
972 out.DNSNames, out.EmailAddresses, out.IPAddresses, err = parseSANExtension(e.Value)
977 if len(out.DNSNames) == 0 && len(out.EmailAddresses) == 0 && len(out.IPAddresses) == 0 {
1247 func marshalSANs(dnsNames, emailAddresses []string, ipAddresses []net.IP) (derBytes []byte, err error) {
1252 for _, email := range emailAddresses {
1372 if (len(template.DNSNames) > 0 || len(template.EmailAddresses) > 0 || len(template.IPAddresses) > 0) &&
1375 ret[n].Value, err = marshalSANs(template.DNSNames, template.EmailAddresses, template.IPAddresses)
1728 EmailAddresses []string
1786 // SignatureAlgorithm, Extensions, DNSNames, EmailAddresses, and IPAddresses.
1815 if (len(template.DNSNames) > 0 || len(template.EmailAddresses) > 0 || len(template.IPAddresses) > 0) &&
1817 sanBytes, err := marshalSANs(template.DNSNames, template.EmailAddresses, template.IPAddresses)
2014 out.DNSNames, out.EmailAddresses, out.IPAddresses, err = parseSANExtension(value)