SDK reference · Verifiers
SignatureBytes
SignatureBytes in go.provenanceauth.com/verify (Go), Verifiers. SignatureBytes reads the bytes of one labelled member of a Signature header (sig1=:<base64>:).
Signature
provenanceverify.SignatureBytes(header, label string) ([]byte, error)Parameters
headerRequiredlabelstringRequired
Returns
([]byte, error)
HTTP operation
Runs locally, with no request to the API.