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#L383: type SignatureScheme uint16
		common.go#L387: 	PKCS1WithSHA256 SignatureScheme = 0x0401
		common.go#L388: 	PKCS1WithSHA384 SignatureScheme = 0x0501
		common.go#L389: 	PKCS1WithSHA512 SignatureScheme = 0x0601
		common.go#L392: 	PSSWithSHA256 SignatureScheme = 0x0804
		common.go#L393: 	PSSWithSHA384 SignatureScheme = 0x0805
		common.go#L394: 	PSSWithSHA512 SignatureScheme = 0x0806
		common.go#L397: 	ECDSAWithP256AndSHA256 SignatureScheme = 0x0403
		common.go#L398: 	ECDSAWithP384AndSHA384 SignatureScheme = 0x0503
		common.go#L399: 	ECDSAWithP521AndSHA512 SignatureScheme = 0x0603
		common.go#L402: 	Ed25519 SignatureScheme = 0x0807
		common.go#L405: 	PKCS1WithSHA1 SignatureScheme = 0x0201
		common.go#L406: 	ECDSAWithSHA1 SignatureScheme = 0x0203
		common.go#L434: 	SignatureSchemes []SignatureScheme
		common.go#L482: 	SignatureSchemes []SignatureScheme
		common.go#L1491: 	SupportedSignatureAlgorithms []SignatureScheme
		common.go#L1615: func supportedSignatureAlgorithms() []SignatureScheme {
		common.go#L1622: func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
		common_string.go#L41: func (i SignatureScheme) String() string {
		defaults.go#L30: var defaultSupportedSignatureAlgorithms = []SignatureScheme{
		defaults.go#L103: var defaultSupportedSignatureAlgorithmsFIPS = []SignatureScheme{
		handshake_client.go#L42: var testingOnlyForceClientHelloSignatureAlgorithms []SignatureScheme
		handshake_client.go#L1190: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1195: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1199: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1208: 	cri.SignatureSchemes = make([]SignatureScheme, 0, len(certReq.supportedSignatureAlgorithms))
		handshake_messages.go#L84: 	supportedSignatureAlgorithms     []SignatureScheme
		handshake_messages.go#L85: 	supportedSignatureAlgorithmsCert []SignatureScheme
		handshake_messages.go#L544: 					m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg))
		handshake_messages.go#L558: 					m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg))
		handshake_messages.go#L1225: 	supportedSignatureAlgorithms     []SignatureScheme
		handshake_messages.go#L1226: 	supportedSignatureAlgorithmsCert []SignatureScheme
		handshake_messages.go#L1326: 					m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg))
		handshake_messages.go#L1339: 					m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg))
		handshake_messages.go#L1697: 	supportedSignatureAlgorithms []SignatureScheme
		handshake_messages.go#L1787: 		m.supportedSignatureAlgorithms = make([]SignatureScheme, numSigAlgos)
		handshake_messages.go#L1789: 			m.supportedSignatureAlgorithms[i] = SignatureScheme(data[0])<<8 | SignatureScheme(data[1])
		handshake_messages.go#L1827: 	signatureAlgorithm    SignatureScheme
		handshake_server_tls13.go#L37: 	sigAlg          SignatureScheme
		key_agreement.go#L205: 	var signatureAlgorithm SignatureScheme
		key_agreement.go#L324: 		signatureAlgorithm := SignatureScheme(sig[0])<<8 | SignatureScheme(sig[1])