type crypto/tls.SignatureScheme

58 uses

	crypto/tls (current package)
		auth.go#L98: func typeAndHashFromSignatureScheme(signatureAlgorithm SignatureScheme) (sigType uint8, hash crypto.Hash, err error) {
		auth.go#L149: 	scheme          SignatureScheme
		auth.go#L173: func signatureSchemesForCertificate(version uint16, cert *Certificate) []SignatureScheme {
		auth.go#L179: 	var sigAlgs []SignatureScheme
		auth.go#L185: 			sigAlgs = []SignatureScheme{
		auth.go#L195: 			sigAlgs = []SignatureScheme{ECDSAWithP256AndSHA256}
		auth.go#L197: 			sigAlgs = []SignatureScheme{ECDSAWithP384AndSHA384}
		auth.go#L199: 			sigAlgs = []SignatureScheme{ECDSAWithP521AndSHA512}
		auth.go#L205: 		sigAlgs = make([]SignatureScheme, 0, len(rsaSignatureSchemes))
		auth.go#L212: 		sigAlgs = []SignatureScheme{Ed25519}
		auth.go#L218: 		var filteredSigAlgs []SignatureScheme
		auth.go#L232: func selectSignatureScheme(vers uint16, c *Certificate, peerAlgs []SignatureScheme) (SignatureScheme, error) {
		auth.go#L240: 		peerAlgs = []SignatureScheme{PKCS1WithSHA1, ECDSAWithSHA1}
		common.go#L200: var defaultSupportedSignatureAlgorithms = []SignatureScheme{
		common.go#L376: type SignatureScheme uint16
		common.go#L380: 	PKCS1WithSHA256 SignatureScheme = 0x0401
		common.go#L381: 	PKCS1WithSHA384 SignatureScheme = 0x0501
		common.go#L382: 	PKCS1WithSHA512 SignatureScheme = 0x0601
		common.go#L385: 	PSSWithSHA256 SignatureScheme = 0x0804
		common.go#L386: 	PSSWithSHA384 SignatureScheme = 0x0805
		common.go#L387: 	PSSWithSHA512 SignatureScheme = 0x0806
		common.go#L390: 	ECDSAWithP256AndSHA256 SignatureScheme = 0x0403
		common.go#L391: 	ECDSAWithP384AndSHA384 SignatureScheme = 0x0503
		common.go#L392: 	ECDSAWithP521AndSHA512 SignatureScheme = 0x0603
		common.go#L395: 	Ed25519 SignatureScheme = 0x0807
		common.go#L398: 	PKCS1WithSHA1 SignatureScheme = 0x0201
		common.go#L399: 	ECDSAWithSHA1 SignatureScheme = 0x0203
		common.go#L427: 	SignatureSchemes []SignatureScheme
		common.go#L475: 	SignatureSchemes []SignatureScheme
		common.go#L1411: 	SupportedSignatureAlgorithms []SignatureScheme
		common.go#L1525: func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
		common_string.go#L41: func (i SignatureScheme) String() string {
		handshake_client.go#L40: var testingOnlyForceClientHelloSignatureAlgorithms []SignatureScheme
		handshake_client.go#L1055: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1060: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1064: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1073: 	cri.SignatureSchemes = make([]SignatureScheme, 0, len(certReq.supportedSignatureAlgorithms))
		handshake_messages.go#L83: 	supportedSignatureAlgorithms     []SignatureScheme
		handshake_messages.go#L84: 	supportedSignatureAlgorithmsCert []SignatureScheme
		handshake_messages.go#L497: 					m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg))
		handshake_messages.go#L511: 					m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg))
		handshake_messages.go#L1131: 	supportedSignatureAlgorithms     []SignatureScheme
		handshake_messages.go#L1132: 	supportedSignatureAlgorithmsCert []SignatureScheme
		handshake_messages.go#L1238: 					m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg))
		handshake_messages.go#L1251: 					m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg))
		handshake_messages.go#L1652: 	supportedSignatureAlgorithms []SignatureScheme
		handshake_messages.go#L1749: 		m.supportedSignatureAlgorithms = make([]SignatureScheme, numSigAlgos)
		handshake_messages.go#L1751: 			m.supportedSignatureAlgorithms[i] = SignatureScheme(data[0])<<8 | SignatureScheme(data[1])
		handshake_messages.go#L1790: 	signatureAlgorithm    SignatureScheme
		handshake_server_tls13.go#L35: 	sigAlg          SignatureScheme
		key_agreement.go#L205: 	var signatureAlgorithm SignatureScheme
		key_agreement.go#L324: 		signatureAlgorithm := SignatureScheme(sig[0])<<8 | SignatureScheme(sig[1])
		notboring.go#L11: func supportedSignatureAlgorithms() []SignatureScheme {
		notboring.go#L20: var fipsSupportedSignatureAlgorithms []SignatureScheme