Documentation
¶
Overview ¶
Package ocisign signs HTTP requests for the OCI API with the draft-cavage "Signature" scheme, using only the standard library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Headers ¶
Headers returns the signed header list for a method. Body methods add the three body headers, in the order OCI documents.
func SigningString ¶
SigningString builds the text the signature covers for req. The body headers must already be set on req for POST, PUT and PATCH.
Types ¶
type Signer ¶
Signer holds one API key. AllowInsecure exists so tests can use a plain httptest server.
Click to show internal directories.
Click to hide internal directories.