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#L180: var supportedSignatureAlgorithms = []SignatureScheme{
common.go#L371: type SignatureScheme uint16
common.go#L375: PKCS1WithSHA256 SignatureScheme = 0x0401
common.go#L376: PKCS1WithSHA384 SignatureScheme = 0x0501
common.go#L377: PKCS1WithSHA512 SignatureScheme = 0x0601
common.go#L380: PSSWithSHA256 SignatureScheme = 0x0804
common.go#L381: PSSWithSHA384 SignatureScheme = 0x0805
common.go#L382: PSSWithSHA512 SignatureScheme = 0x0806
common.go#L385: ECDSAWithP256AndSHA256 SignatureScheme = 0x0403
common.go#L386: ECDSAWithP384AndSHA384 SignatureScheme = 0x0503
common.go#L387: ECDSAWithP521AndSHA512 SignatureScheme = 0x0603
common.go#L390: Ed25519 SignatureScheme = 0x0807
common.go#L393: PKCS1WithSHA1 SignatureScheme = 0x0201
common.go#L394: ECDSAWithSHA1 SignatureScheme = 0x0203
common.go#L422: SignatureSchemes []SignatureScheme
common.go#L460: SignatureSchemes []SignatureScheme
common.go#L1312: SupportedSignatureAlgorithms []SignatureScheme
common.go#L1507: func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
common_string.go#L41: func (i SignatureScheme) String() string {
handshake_client.go#L907: cri.SignatureSchemes = []SignatureScheme{
handshake_client.go#L912: cri.SignatureSchemes = []SignatureScheme{
handshake_client.go#L916: cri.SignatureSchemes = []SignatureScheme{
handshake_client.go#L925: cri.SignatureSchemes = make([]SignatureScheme, 0, len(certReq.supportedSignatureAlgorithms))
handshake_messages.go#L82: supportedSignatureAlgorithms []SignatureScheme
handshake_messages.go#L83: supportedSignatureAlgorithmsCert []SignatureScheme
handshake_messages.go#L469: m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg))
handshake_messages.go#L483: m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg))
handshake_messages.go#L1057: supportedSignatureAlgorithms []SignatureScheme
handshake_messages.go#L1058: supportedSignatureAlgorithmsCert []SignatureScheme
handshake_messages.go#L1163: m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg))
handshake_messages.go#L1176: m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg))
handshake_messages.go#L1574: supportedSignatureAlgorithms []SignatureScheme
handshake_messages.go#L1671: m.supportedSignatureAlgorithms = make([]SignatureScheme, numSigAlgos)
handshake_messages.go#L1673: m.supportedSignatureAlgorithms[i] = SignatureScheme(data[0])<<8 | SignatureScheme(data[1])
handshake_messages.go#L1712: signatureAlgorithm SignatureScheme
handshake_server_tls13.go#L32: sigAlg SignatureScheme
key_agreement.go#L181: var signatureAlgorithm SignatureScheme
key_agreement.go#L292: signatureAlgorithm := SignatureScheme(sig[0])<<8 | SignatureScheme(sig[1])
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |