Lines Matching full:certificate
117 // Certificate types (for certificateRequestMsg)
119 CertTypeRSASign = 1 // A certificate containing an RSA key
120 CertTypeDSSSign = 2 // A certificate containing a DSA key
121 CertTypeRSAFixedDH = 3 // A certificate containing a static DH key
122 CertTypeDSSFixedDH = 4 // A certificate containing a static DH key
125 CertTypeECDSASign = 64 // A certificate containing an ECDSA-capable public key, signed with ECDSA.
126 CertTypeRSAFixedECDH = 65 // A certificate containing an ECDH-capable public key, signed with RSA.
127 CertTypeECDSAFixedECDH = 66 // A certificate containing an ECDH-capable public key, signed with ECDSA.
187 PeerCertificates []*x509.Certificate // certificate chain presented by remote peer
188 VerifiedChains [][]*x509.Certificate // verified chains built from PeerCertificates
215 serverCertificates []*x509.Certificate // Certificate chain presented by the server
260 // Certificates contains one or more certificate chains
262 // Server configurations must include at least one certificate.
263 Certificates []Certificate
265 // NameToCertificate maps from a certificate name to an element of
266 // Certificates. Note that a certificate name can be of the form
271 NameToCertificate map[string]*Certificate
273 // RootCAs defines the set of root certificate authorities
290 // ClientCAs defines the set of root certificate authorities
291 // that servers use if required to verify a client certificate
295 // ClientCertificateTypes defines the set of allowed client certificate
300 // server's certificate chain and host name.
301 // If InsecureSkipVerify is true, TLS accepts any certificate
302 // presented by the server and any host name in that certificate.
430 // Certificate message is sent and no signature is added to
659 // WrongCertificateMessageType, if true, causes Certificate message to
811 // getCertificateForName returns the best certificate for the given name,
814 func (c *Config) getCertificateForName(name string) *Certificate {
840 // If nothing matches, return the first certificate.
862 c.NameToCertificate = make(map[string]*Certificate)
865 x509Cert, err := x509.ParseCertificate(cert.Certificate[0])
878 // A Certificate is a chain of one or more certificates, leaf first.
879 type Certificate struct {
880 Certificate [][]byte
889 // Leaf is the parsed form of the leaf certificate, which may be
892 // leaf certificate will be parsed as needed.
893 Leaf *x509.Certificate