aboutsummaryrefslogtreecommitdiff
path: root/object/id/algorithm_signatureheadername.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 16:07:21 +0000
committerGravatar Runxi Yu2026-03-29 16:07:21 +0000
commit256d945a109f8d6bf6a13d0e9a93545b64680ba8 (patch)
tree6d59a1bf77bf6da206172a9a41208a0e1df0e042 /object/id/algorithm_signatureheadername.go
parent*: Audit labels (diff)
signatureNo signature
object/id: Add support for signature headers v0.1.148
Diffstat (limited to 'object/id/algorithm_signatureheadername.go')
-rw-r--r--object/id/algorithm_signatureheadername.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/object/id/algorithm_signatureheadername.go b/object/id/algorithm_signatureheadername.go
new file mode 100644
index 00000000..34fa41ce
--- /dev/null
+++ b/object/id/algorithm_signatureheadername.go
@@ -0,0 +1,6 @@
+package objectid
+
+// SignatureHeaderName returns the signature header name for this algorithm.
+func (algo Algorithm) SignatureHeaderName() string {
+ return algo.info().signatureHeaderName
+}