aboutsummaryrefslogtreecommitdiff
path: root/object/id/algorithm_signatureheadername.go
diff options
context:
space:
mode:
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
+}