Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for peerAlgs (0.2 sec)

  1. src/crypto/tls/auth.go

    // versions that support signature algorithms, so TLS 1.2 and 1.3.
    func selectSignatureScheme(vers uint16, c *Certificate, peerAlgs []SignatureScheme) (SignatureScheme, error) {
    	supportedAlgs := signatureSchemesForCertificate(vers, c)
    	if len(supportedAlgs) == 0 {
    		return 0, unsupportedCertificateError(c)
    	}
    	if len(peerAlgs) == 0 && vers == VersionTLS12 {
    		// For TLS 1.2, if the client didn't send signature_algorithms then we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top