Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for OCSPStaple (0.19 sec)

  1. src/crypto/tls/ticket.go

    		b.AddUint8(0)
    	}
    	if s.EarlyData {
    		b.AddUint8(1)
    	} else {
    		b.AddUint8(0)
    	}
    	marshalCertificate(&b, Certificate{
    		Certificate:                 certificatesToBytesSlice(s.peerCertificates),
    		OCSPStaple:                  s.ocspResponse,
    		SignedCertificateTimestamps: s.scts,
    	})
    	b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
    		for _, chain := range s.verifiedChains {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_server.go

    		}
    	}
    
    	hs.masterSecret = hs.sessionState.secret
    
    	return nil
    }
    
    func (hs *serverHandshakeState) doFullHandshake() error {
    	c := hs.c
    
    	if hs.clientHello.ocspStapling && len(hs.cert.OCSPStaple) > 0 {
    		hs.hello.ocspStapling = true
    	}
    
    	hs.hello.ticketSupported = hs.clientHello.ticketSupported && !c.config.SessionTicketsDisabled
    	hs.hello.cipherSuite = hs.suite.id
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_tls13.go

    		c.sendAlert(alertDecodeError)
    		return errors.New("tls: received empty certificates message")
    	}
    
    	c.scts = certMsg.certificate.SignedCertificateTimestamps
    	c.ocspResponse = certMsg.certificate.OCSPStaple
    
    	if err := c.verifyServerCertificate(certMsg.certificate.Certificate); err != nil {
    		return err
    	}
    
    	// certificateVerifyMsg is included in the transcript, but not until
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. pilot/pkg/xds/sds.go

    				},
    			},
    			PrivateKey: &core.DataSource{
    				Specifier: &core.DataSource_InlineBytes{
    					InlineBytes: certInfo.Key,
    				},
    			},
    		}
    		if certInfo.Staple != nil {
    			tlsCertificate.OcspStaple = &core.DataSource{
    				Specifier: &core.DataSource_InlineBytes{
    					InlineBytes: certInfo.Staple,
    				},
    			}
    		}
    		res = protoconv.MessageToAny(&envoytls.Secret{
    			Name: name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_messages_test.go

    	for i := 0; i < rand.Intn(2)+1; i++ {
    		m.certificate.Certificate = append(
    			m.certificate.Certificate, randomBytes(rand.Intn(500)+1, rand))
    	}
    	if rand.Intn(10) > 5 {
    		m.ocspStapling = true
    		m.certificate.OCSPStaple = randomBytes(rand.Intn(100)+1, rand)
    	}
    	if rand.Intn(10) > 5 {
    		m.scts = true
    		for i := 0; i < rand.Intn(2)+1; i++ {
    			m.certificate.SignedCertificateTimestamps = append(
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_server_tls13.go

    	certMsg := new(certificateMsgTLS13)
    
    	certMsg.certificate = *hs.cert
    	certMsg.scts = hs.clientHello.scts && len(hs.cert.SignedCertificateTimestamps) > 0
    	certMsg.ocspStapling = hs.clientHello.ocspStapling && len(hs.cert.OCSPStaple) > 0
    
    	if _, err := hs.c.writeHandshakeRecord(certMsg, hs.transcript); err != nil {
    		return err
    	}
    
    	certVerifyMsg := new(certificateVerifyMsg)
    	certVerifyMsg.hasSignatureAlgorithm = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top