Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for SupportedSignatureAlgorithms (0.64 sec)

  1. src/crypto/tls/boring_test.go

    		}
    	}
    	for _, id := range hello.supportedCurves {
    		if !isBoringCurve(id) {
    			t.Errorf("client offered disallowed curve %d", id)
    		}
    	}
    	for _, sigHash := range hello.supportedSignatureAlgorithms {
    		if !isBoringSignatureScheme(sigHash) {
    			t.Errorf("client offered disallowed signature-and-hash %v", sigHash)
    		}
    	}
    }
    
    func TestBoringCertAlgs(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. src/crypto/tls/tls_test.go

    		PrivateKey:  testRSAPrivateKey,
    	}
    	pkcs1Cert := &Certificate{
    		Certificate:                  [][]byte{testRSACertificate},
    		PrivateKey:                   testRSAPrivateKey,
    		SupportedSignatureAlgorithms: []SignatureScheme{PKCS1WithSHA1, PKCS1WithSHA256},
    	}
    	ecdsaCert := &Certificate{
    		// ECDSA P-256 certificate
    		Certificate: [][]byte{testP256Certificate},
    		PrivateKey:  testP256PrivateKey,
    	}
    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