type crypto/tls.SignatureScheme

65 uses

	crypto/tls (current package)
		auth.go#L123: func typeAndHashFromSignatureScheme(signatureAlgorithm SignatureScheme) (sigType uint8, hash crypto.Hash, err error) {
		auth.go#L174: 	scheme          SignatureScheme
		auth.go#L190: func signatureSchemesForPublicKey(version uint16, pub crypto.PublicKey) []SignatureScheme {
		auth.go#L196: 			return []SignatureScheme{
		auth.go#L205: 			return []SignatureScheme{ECDSAWithP256AndSHA256}
		auth.go#L207: 			return []SignatureScheme{ECDSAWithP384AndSHA384}
		auth.go#L209: 			return []SignatureScheme{ECDSAWithP521AndSHA512}
		auth.go#L215: 		sigAlgs := make([]SignatureScheme, 0, len(rsaSignatureSchemes))
		auth.go#L223: 		return []SignatureScheme{Ed25519}
		auth.go#L232: func selectSignatureScheme(vers uint16, c *Certificate, peerAlgs []SignatureScheme) (SignatureScheme, error) {
		auth.go#L239: 		supportedAlgs = slices.DeleteFunc(supportedAlgs, func(sigAlg SignatureScheme) bool {
		auth.go#L245: 	supportedAlgs = slices.DeleteFunc(supportedAlgs, func(sigAlg SignatureScheme) bool {
		auth.go#L259: 		peerAlgs = []SignatureScheme{PKCS1WithSHA1, ECDSAWithSHA1}
		common.go#L329: 	testingOnlyPeerSignatureAlgorithm SignatureScheme
		common.go#L407: type SignatureScheme uint16
		common.go#L411: 	PKCS1WithSHA256 SignatureScheme = 0x0401
		common.go#L412: 	PKCS1WithSHA384 SignatureScheme = 0x0501
		common.go#L413: 	PKCS1WithSHA512 SignatureScheme = 0x0601
		common.go#L416: 	PSSWithSHA256 SignatureScheme = 0x0804
		common.go#L417: 	PSSWithSHA384 SignatureScheme = 0x0805
		common.go#L418: 	PSSWithSHA512 SignatureScheme = 0x0806
		common.go#L421: 	ECDSAWithP256AndSHA256 SignatureScheme = 0x0403
		common.go#L422: 	ECDSAWithP384AndSHA384 SignatureScheme = 0x0503
		common.go#L423: 	ECDSAWithP521AndSHA512 SignatureScheme = 0x0603
		common.go#L426: 	Ed25519 SignatureScheme = 0x0807
		common.go#L429: 	PKCS1WithSHA1 SignatureScheme = 0x0201
		common.go#L430: 	ECDSAWithSHA1 SignatureScheme = 0x0203
		common.go#L461: 	SignatureSchemes []SignatureScheme
		common.go#L517: 	SignatureSchemes []SignatureScheme
		common.go#L1624: 	SupportedSignatureAlgorithms []SignatureScheme
		common.go#L1747: var testingOnlySupportedSignatureAlgorithms []SignatureScheme
		common.go#L1752: func supportedSignatureAlgorithms(minVers uint16) []SignatureScheme {
		common.go#L1757: 	return slices.DeleteFunc(sigAlgs, func(s SignatureScheme) bool {
		common.go#L1764: func isDisabledSignatureAlgorithm(version uint16, s SignatureScheme, isCert bool) bool {
		common.go#L1798: func supportedSignatureAlgorithmsCert() []SignatureScheme {
		common.go#L1800: 	return slices.DeleteFunc(sigAlgs, func(s SignatureScheme) bool {
		common.go#L1805: func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
		common_string.go#L41: func (i SignatureScheme) String() string {
		conn.go#L54: 	peerSigAlg       SignatureScheme
		defaults.go#L41: func defaultSupportedSignatureAlgorithms() []SignatureScheme {
		defaults.go#L42: 	return []SignatureScheme{
		defaults_fips140.go#L41: 	allowedSignatureAlgorithmsFIPS = []SignatureScheme{
		handshake_client.go#L1225: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1230: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1234: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1243: 	cri.SignatureSchemes = make([]SignatureScheme, 0, len(certReq.supportedSignatureAlgorithms))
		handshake_messages.go#L84: 	supportedSignatureAlgorithms     []SignatureScheme
		handshake_messages.go#L85: 	supportedSignatureAlgorithmsCert []SignatureScheme
		handshake_messages.go#L547: 					m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg))
		handshake_messages.go#L561: 					m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg))
		handshake_messages.go#L1248: 	supportedSignatureAlgorithms     []SignatureScheme
		handshake_messages.go#L1249: 	supportedSignatureAlgorithmsCert []SignatureScheme
		handshake_messages.go#L1349: 					m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg))
		handshake_messages.go#L1362: 					m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg))
		handshake_messages.go#L1720: 	supportedSignatureAlgorithms []SignatureScheme
		handshake_messages.go#L1810: 		m.supportedSignatureAlgorithms = make([]SignatureScheme, numSigAlgos)
		handshake_messages.go#L1812: 			m.supportedSignatureAlgorithms[i] = SignatureScheme(data[0])<<8 | SignatureScheme(data[1])
		handshake_messages.go#L1850: 	signatureAlgorithm    SignatureScheme
		handshake_server_tls13.go#L55: 	sigAlg          SignatureScheme
		key_agreement.go#L154: 	signatureAlgorithm SignatureScheme
		key_agreement.go#L292: 		ka.signatureAlgorithm = SignatureScheme(sig[0])<<8 | SignatureScheme(sig[1])