MCPcopy
hub / github.com/XTLS/REALITY / isSupportedSignatureAlgorithm

Function isSupportedSignatureAlgorithm

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

Source from the content-addressed store, hash-verified

1750}
1751
1752func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
1753 return slices.Contains(supportedSignatureAlgorithms, sigAlg)
1754}
1755
1756// CertificateVerificationError is returned when certificate verification fails during the handshake.
1757type CertificateVerificationError struct {

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…