type crypto/tls.SignatureScheme

58 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#L174: func signatureSchemesForCertificate(version uint16, cert *Certificate) []SignatureScheme {
		auth.go#L180: 	var sigAlgs []SignatureScheme
		auth.go#L186: 			sigAlgs = []SignatureScheme{
		auth.go#L196: 			sigAlgs = []SignatureScheme{ECDSAWithP256AndSHA256}
		auth.go#L198: 			sigAlgs = []SignatureScheme{ECDSAWithP384AndSHA384}
		auth.go#L200: 			sigAlgs = []SignatureScheme{ECDSAWithP521AndSHA512}
		auth.go#L206: 		sigAlgs = make([]SignatureScheme, 0, len(rsaSignatureSchemes))
		auth.go#L213: 		sigAlgs = []SignatureScheme{Ed25519}
		auth.go#L219: 		var filteredSigAlgs []SignatureScheme
		auth.go#L233: func selectSignatureScheme(vers uint16, c *Certificate, peerAlgs []SignatureScheme) (SignatureScheme, error) {
		auth.go#L241: 		peerAlgs = []SignatureScheme{PKCS1WithSHA1, ECDSAWithSHA1}
		common.go#L388: type SignatureScheme uint16
		common.go#L392: 	PKCS1WithSHA256 SignatureScheme = 0x0401
		common.go#L393: 	PKCS1WithSHA384 SignatureScheme = 0x0501
		common.go#L394: 	PKCS1WithSHA512 SignatureScheme = 0x0601
		common.go#L397: 	PSSWithSHA256 SignatureScheme = 0x0804
		common.go#L398: 	PSSWithSHA384 SignatureScheme = 0x0805
		common.go#L399: 	PSSWithSHA512 SignatureScheme = 0x0806
		common.go#L402: 	ECDSAWithP256AndSHA256 SignatureScheme = 0x0403
		common.go#L403: 	ECDSAWithP384AndSHA384 SignatureScheme = 0x0503
		common.go#L404: 	ECDSAWithP521AndSHA512 SignatureScheme = 0x0603
		common.go#L407: 	Ed25519 SignatureScheme = 0x0807
		common.go#L410: 	PKCS1WithSHA1 SignatureScheme = 0x0201
		common.go#L411: 	ECDSAWithSHA1 SignatureScheme = 0x0203
		common.go#L442: 	SignatureSchemes []SignatureScheme
		common.go#L494: 	SignatureSchemes []SignatureScheme
		common.go#L1537: 	SupportedSignatureAlgorithms []SignatureScheme
		common.go#L1661: func supportedSignatureAlgorithms() []SignatureScheme {
		common.go#L1668: func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
		common_string.go#L41: func (i SignatureScheme) String() string {
		defaults.go#L31: var defaultSupportedSignatureAlgorithms = []SignatureScheme{
		defaults.go#L110: var defaultSupportedSignatureAlgorithmsFIPS = []SignatureScheme{
		handshake_client.go#L45: var testingOnlyForceClientHelloSignatureAlgorithms []SignatureScheme
		handshake_client.go#L1213: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1218: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1222: 			cri.SignatureSchemes = []SignatureScheme{
		handshake_client.go#L1231: 	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#L1232: 	supportedSignatureAlgorithms     []SignatureScheme
		handshake_messages.go#L1233: 	supportedSignatureAlgorithmsCert []SignatureScheme
		handshake_messages.go#L1333: 					m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg))
		handshake_messages.go#L1346: 					m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg))
		handshake_messages.go#L1704: 	supportedSignatureAlgorithms []SignatureScheme
		handshake_messages.go#L1794: 		m.supportedSignatureAlgorithms = make([]SignatureScheme, numSigAlgos)
		handshake_messages.go#L1796: 			m.supportedSignatureAlgorithms[i] = SignatureScheme(data[0])<<8 | SignatureScheme(data[1])
		handshake_messages.go#L1834: 	signatureAlgorithm    SignatureScheme
		handshake_server_tls13.go#L54: 	sigAlg          SignatureScheme
		key_agreement.go#L205: 	var signatureAlgorithm SignatureScheme
		key_agreement.go#L324: 		signatureAlgorithm := SignatureScheme(sig[0])<<8 | SignatureScheme(sig[1])