HTTPSign v0.1.0 HTTPSign.Signature
Link to this section Summary
Functions
Create a new %Signature{}
struct
Link to this section Types
Link to this section Functions
Link to this function
new(key_id, algo, signature, headers \\ ["date"])
Create a new %Signature{}
struct.
Example
iex> HTTPSign.Signature.new("rsa-key-1", "rsa-sha256", "abc123")
%HTTPSign.Signature{
algorithm: "rsa-sha256",
headers: ["date"],
key_id: "rsa-key-1",
signature: "abc123"
}