Lines Matching refs:Certificate
67 Certificates: []Certificate{
69 Certificate: [][]byte{fromHex(certExampleCom)},
72 Certificate: [][]byte{fromHex(certWildcardExampleCom)},
75 Certificate: [][]byte{fromHex(certFooExampleCom)},
78 Certificate: [][]byte{fromHex(certDoubleWildcardExampleCom)},
85 pointerToIndex := func(c *Certificate) int {
94 certificateForName := func(name string) *Certificate {
99 t.Errorf("unable to get certificate for name '%s': %s", name, err)
107 t.Errorf("example.com returned certificate %d, not 0", n)
110 t.Errorf("bar.example.com returned certificate %d, not 1", n)
113 t.Errorf("foo.example.com returned certificate %d, not 2", n)
116 t.Errorf("foo.bar.example.com returned certificate %d, not 3", n)
119 t.Errorf("foo.bar.baz.example.com returned certificate %d, not 0", n)