type crypto/tls.SignatureScheme
55 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#L172: func signatureSchemesForCertificate(version uint16, cert *Certificate) []SignatureScheme {
auth.go#L178: var sigAlgs []SignatureScheme
auth.go#L184: sigAlgs = []SignatureScheme{
auth.go#L194: sigAlgs = []SignatureScheme{ECDSAWithP256AndSHA256}
auth.go#L196: sigAlgs = []SignatureScheme{ECDSAWithP384AndSHA384}
auth.go#L198: sigAlgs = []SignatureScheme{ECDSAWithP521AndSHA512}
auth.go#L204: sigAlgs = make([]SignatureScheme, 0, len(rsaSignatureSchemes))
auth.go#L211: sigAlgs = []SignatureScheme{Ed25519}
auth.go#L217: var filteredSigAlgs []SignatureScheme
auth.go#L231: func selectSignatureScheme(vers uint16, c *Certificate, peerAlgs []SignatureScheme) (SignatureScheme, error) {
auth.go#L239: peerAlgs = []SignatureScheme{PKCS1WithSHA1, ECDSAWithSHA1}
common.go#L179: var supportedSignatureAlgorithms = []SignatureScheme{
common.go#L370: type SignatureScheme uint16
common.go#L374: PKCS1WithSHA256 SignatureScheme = 0x0401
common.go#L375: PKCS1WithSHA384 SignatureScheme = 0x0501
common.go#L376: PKCS1WithSHA512 SignatureScheme = 0x0601
common.go#L379: PSSWithSHA256 SignatureScheme = 0x0804
common.go#L380: PSSWithSHA384 SignatureScheme = 0x0805
common.go#L381: PSSWithSHA512 SignatureScheme = 0x0806
common.go#L384: ECDSAWithP256AndSHA256 SignatureScheme = 0x0403
common.go#L385: ECDSAWithP384AndSHA384 SignatureScheme = 0x0503
common.go#L386: ECDSAWithP521AndSHA512 SignatureScheme = 0x0603
common.go#L389: Ed25519 SignatureScheme = 0x0807
common.go#L392: PKCS1WithSHA1 SignatureScheme = 0x0201
common.go#L393: ECDSAWithSHA1 SignatureScheme = 0x0203
common.go#L421: SignatureSchemes []SignatureScheme
common.go#L469: SignatureSchemes []SignatureScheme
common.go#L1359: SupportedSignatureAlgorithms []SignatureScheme
common.go#L1473: func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
common_string.go#L41: func (i SignatureScheme) String() string {
handshake_client.go#L929: cri.SignatureSchemes = []SignatureScheme{
handshake_client.go#L934: cri.SignatureSchemes = []SignatureScheme{
handshake_client.go#L938: cri.SignatureSchemes = []SignatureScheme{
handshake_client.go#L947: cri.SignatureSchemes = make([]SignatureScheme, 0, len(certReq.supportedSignatureAlgorithms))
handshake_messages.go#L82: supportedSignatureAlgorithms []SignatureScheme
handshake_messages.go#L83: supportedSignatureAlgorithmsCert []SignatureScheme
handshake_messages.go#L468: m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg))
handshake_messages.go#L482: m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg))
handshake_messages.go#L1056: supportedSignatureAlgorithms []SignatureScheme
handshake_messages.go#L1057: supportedSignatureAlgorithmsCert []SignatureScheme
handshake_messages.go#L1162: m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg))
handshake_messages.go#L1175: m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg))
handshake_messages.go#L1573: supportedSignatureAlgorithms []SignatureScheme
handshake_messages.go#L1670: m.supportedSignatureAlgorithms = make([]SignatureScheme, numSigAlgos)
handshake_messages.go#L1672: m.supportedSignatureAlgorithms[i] = SignatureScheme(data[0])<<8 | SignatureScheme(data[1])
handshake_messages.go#L1711: signatureAlgorithm SignatureScheme
handshake_server_tls13.go#L34: sigAlg SignatureScheme
key_agreement.go#L204: var signatureAlgorithm SignatureScheme
key_agreement.go#L315: signatureAlgorithm := SignatureScheme(sig[0])<<8 | SignatureScheme(sig[1])