Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OCSPStaple (0.11 sec)

  1. src/crypto/tls/handshake_messages.go

    					return
    				}
    				if certificate.OCSPStaple != nil {
    					b.AddUint16(extensionStatusRequest)
    					b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
    						b.AddUint8(statusTypeOCSP)
    						b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
    							b.AddBytes(certificate.OCSPStaple)
    						})
    					})
    				}
    				if certificate.SignedCertificateTimestamps != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client_test.go

    	// SignedCertificateTimestamps populated as usual
    	if !bytes.Equal(ccs.OCSPResponse, serverConfig.Certificates[0].OCSPStaple) {
    		t.Errorf("client ConnectionState contained unexpected OCSPResponse: wanted %v, got %v",
    			serverConfig.Certificates[0].OCSPStaple, ccs.OCSPResponse)
    	}
    	if !reflect.DeepEqual(ccs.SignedCertificateTimestamps, serverConfig.Certificates[0].SignedCertificateTimestamps) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  3. src/crypto/tls/common.go

    	// signature algorithms the PrivateKey can be used for.
    	SupportedSignatureAlgorithms []SignatureScheme
    	// OCSPStaple contains an optional OCSP response which will be served
    	// to clients that request it.
    	OCSPStaple []byte
    	// SignedCertificateTimestamps contains an optional list of Signed
    	// Certificate Timestamps which will be served to clients that request it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  4. src/crypto/tls/tls_test.go

    			}
    			config.Certificates[0].Certificate = [][]byte{testRSACertificate}
    			config.Certificates[0].PrivateKey = testRSAPrivateKey
    			config.Certificates[0].SignedCertificateTimestamps = scts
    			config.Certificates[0].OCSPStaple = ocsp
    
    			ss, cs, err := testHandshake(t, config, config)
    			if err != nil {
    				t.Fatalf("Handshake failed: %v", err)
    			}
    
    			if ss.Version != v || cs.Version != v {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
Back to top