MCPcopy
hub / github.com/minio/minio-go / getSignature

Function getSignature

pkg/signer/request-signature-v4.go:77–79  ·  view source on GitHub ↗

getSignature final signature in hexadecimal form.

(signingKey []byte, stringToSign string)

Source from the content-addressed store, hash-verified

75
76// getSignature final signature in hexadecimal form.
77func getSignature(signingKey []byte, stringToSign string) string {
78 return hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign)))
79}
80
81// getScope generate a string of a specific date, an AWS region, and a
82// service.

Callers 7

PreSignV4Function · 0.85
PreSignV4OutpostsFunction · 0.85
PostPresignSignatureV4Function · 0.85
signV4Function · 0.85
buildChunkSignatureFunction · 0.85
setSeedSignatureMethod · 0.85

Calls 2

sumHMACFunction · 0.85
EncodeToStringMethod · 0.80

Tested by

no test coverage detected