type crypto/tls.SignatureScheme

65 uses

	crypto/tls (current package)
		auth.go#L99: func typeAndHashFromSignatureScheme(signatureAlgorithm SignatureScheme) (sigType uint8, hash crypto.Hash, err error) {
		auth.go#L150: 	scheme          SignatureScheme
		auth.go#L166: func signatureSchemesForPublicKey(version uint16, pub crypto.PublicKey) []SignatureScheme {
		auth.go#L172: 			return []SignatureScheme{
		auth.go#L181: 			return []SignatureScheme{ECDSAWithP256AndSHA256}
		auth.go#L183: 			return []SignatureScheme{ECDSAWithP384AndSHA384}
		auth.go#L185: 			return []SignatureScheme{ECDSAWithP521AndSHA512}
		auth.go#L191: 		sigAlgs := make([]SignatureScheme, 0, len(rsaSignatureSchemes))
		auth.go#L199: 		return []SignatureScheme{Ed25519}
		auth.go#L208: func selectSignatureScheme(vers uint16, c *Certificate, peerAlgs []SignatureScheme) (SignatureScheme, error) {
		auth.go#L215: 		supportedAlgs = slices.DeleteFunc(supportedAlgs, func(sigAlg SignatureScheme) bool {
		auth.go#L221: 	supportedAlgs = slices.DeleteFunc(supportedAlgs, func(sigAlg SignatureScheme) bool {
		auth.go#L235: 		peerAlgs = []SignatureScheme{PKCS1WithSHA1, ECDSAWithSHA1}
		common.go#L315: 	testingOnlyPeerSignatureAlgorithm SignatureScheme
		common.go#L393: type SignatureScheme uint16
		common.go#L397: 	PKCS1WithSHA256 SignatureScheme = 0x0401
		common.go#L398: 	PKCS1WithSHA384 SignatureScheme = 0x0501
		common.go#L399: 	PKCS1WithSHA512 SignatureScheme = 0x0601
		common.go#L402: 	PSSWithSHA256 SignatureScheme = 0x0804
		common.go#L403: 	PSSWithSHA384 SignatureScheme = 0x0805
		common.go#L404: 	PSSWithSHA512 SignatureScheme = 0x0806
		common.go#L407: 	ECDSAWithP256AndSHA256 SignatureScheme = 0x0403
		common.go#L408: 	ECDSAWithP384AndSHA384 SignatureScheme = 0x0503
		common.go#L409: 	ECDSAWithP521AndSHA512 SignatureScheme = 0x0603
		common.go#L412: 	Ed25519 SignatureScheme = 0x0807
		common.go#L415: 	PKCS1WithSHA1 SignatureScheme = 0x0201
		common.go#L416: 	ECDSAWithSHA1 SignatureScheme = 0x0203
		common.go#L447: 	SignatureSchemes []SignatureScheme
		common.go#L499: 	SignatureSchemes []SignatureScheme
		common.go#L1568: 	SupportedSignatureAlgorithms []SignatureScheme
		common.go#L1691: var testingOnlySupportedSignatureAlgorithms []SignatureScheme
		common.go#L1696: func supportedSignatureAlgorithms(minVers uint16) []SignatureScheme {
		common.go#L1701: 	return slices.DeleteFunc(sigAlgs, func(s SignatureScheme) bool {
		common.go#L1708: func isDisabledSignatureAlgorithm(version uint16, s SignatureScheme, isCert bool) bool {
		common.go#L1742: func supportedSignatureAlgorithmsCert() []SignatureScheme {
		common.go#L1744: 	return slices.DeleteFunc(sigAlgs, func(s SignatureScheme) bool {
		common.go#L1749: func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
		common_string.go#L41: func (i SignatureScheme) String() string {
		conn.go#L54: 	peerSigAlg       SignatureScheme
		defaults.go#L31: func defaultSupportedSignatureAlgorithms() []SignatureScheme {
		defaults.go#L32: 	return []SignatureScheme{
		defaults_fips140.go#L39: 	allowedSignatureAlgorithmsFIPS = []SignatureScheme{
		handshake_client.go#L1238: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1243: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1247: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1256: 	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#L172: 	signatureAlgorithm SignatureScheme
		key_agreement.go#L336: 		ka.signatureAlgorithm = SignatureScheme(sig[0])<<8 | SignatureScheme(sig[1])