type crypto/tls.Certificate
39 uses
crypto/tls (current package)
auth.go#L173: func signatureSchemesForCertificate(version uint16, cert *Certificate) []SignatureScheme {
auth.go#L232: func selectSignatureScheme(vers uint16, c *Certificate, peerAlgs []SignatureScheme) (SignatureScheme, error) {
auth.go#L257: func unsupportedCertificateError(cert *Certificate) error {
common.go#L546: Certificates []Certificate
common.go#L555: NameToCertificate map[string]*Certificate
common.go#L566: GetCertificate func(*ClientHelloInfo) (*Certificate, error)
common.go#L583: GetClientCertificate func(*CertificateRequestInfo) (*Certificate, error)
common.go#L1113: func (c *Config) getCertificate(clientHello *ClientHelloInfo) (*Certificate, error) {
common.go#L1167: func (chi *ClientHelloInfo) SupportsCertificate(c *Certificate) error {
common.go#L1320: func (cri *CertificateRequestInfo) SupportsCertificate(c *Certificate) error {
common.go#L1357: c.NameToCertificate = make(map[string]*Certificate)
common.go#L1402: type Certificate struct {
common.go#L1426: func (c *Certificate) leaf() (*x509.Certificate, error) {
handshake_client.go#L608: var chainToSend *Certificate
handshake_client.go#L1094: func (c *Conn) getClientCertificate(cri *CertificateRequestInfo) (*Certificate, error) {
handshake_client.go#L1107: return new(Certificate), nil
handshake_messages.go#L1357: certificate Certificate
handshake_messages.go#L1387: func marshalCertificate(b *cryptobyte.Builder, certificate Certificate) {
handshake_messages.go#L1442: func unmarshalCertificate(s *cryptobyte.String, certificate *Certificate) bool {
handshake_server.go#L37: cert *Certificate
handshake_server.go#L636: if err := c.processCertsFromClient(Certificate{
handshake_server.go#L858: func (c *Conn) processCertsFromClient(certificate Certificate) error {
handshake_server_tls13.go#L34: cert *Certificate
key_agreement.go#L27: generateServerKeyExchange(*Config, *Certificate, *clientHelloMsg, *serverHelloMsg) (*serverKeyExchangeMsg, error)
key_agreement.go#L28: processClientKeyExchange(*Config, *Certificate, *clientKeyExchangeMsg, uint16) ([]byte, error)
key_agreement.go#L45: func (ka rsaKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) {
key_agreement.go#L49: func (ka rsaKeyAgreement) processClientKeyExchange(config *Config, cert *Certificate, ckx *clientKeyExchangeMsg, version uint16) ([]byte, error) {
key_agreement.go#L169: func (ka *ecdheKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) {
key_agreement.go#L258: func (ka *ecdheKeyAgreement) processClientKeyExchange(config *Config, cert *Certificate, ckx *clientKeyExchangeMsg, version uint16) ([]byte, error) {
ticket.go#L137: marshalCertificate(&b, Certificate{
ticket.go#L185: var cert Certificate
tls.go#L230: func LoadX509KeyPair(certFile, keyFile string) (Certificate, error) {
tls.go#L233: return Certificate{}, err
tls.go#L237: return Certificate{}, err
tls.go#L245: func X509KeyPair(certPEMBlock, keyPEMBlock []byte) (Certificate, error) {
tls.go#L246: fail := func(err error) (Certificate, error) { return Certificate{}, err }
tls.go#L248: var cert Certificate
net/http
server.go#L3118: config.Certificates = make([]tls.Certificate, 1)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |