MCPcopy Create free account
hub / github.com/XTLS/Go / isSupportedSignatureAlgorithm

Function isSupportedSignatureAlgorithm

common.go:1469–1476  ·  view source on GitHub ↗
(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme)

Source from the content-addressed store, hash-verified

1467}
1468
1469func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
1470 for _, s := range supportedSignatureAlgorithms {
1471 if s == sigAlg {
1472 return true
1473 }
1474 }
1475 return false
1476}

Callers 6

selectSignatureSchemeFunction · 0.85
readServerCertificateMethod · 0.85
readClientCertificateMethod · 0.85
doFullHandshakeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…