# `Ankusa.Verifier.Asymmetric.Scheme`
[🔗](https://github.com/jamescarr/ankusa/blob/ankusa-v0.7.0/packages/ankusa/lib/ankusa/verifier/asymmetric.ex#L56)

Declarative description of one provider's public-key signature scheme: the
wire fields of `Ankusa.Verifier.Hmac.Scheme` (`signature_header`, `parse`,
`sig_prefix`, `sig_key`, `version`, `signed`, `timestamp`; see
`Ankusa.Verifier.Template`) with `algorithm` and `encoding` in place of
`hash`, `encoding` and `secret_decode`.

# `algorithm`

```elixir
@type algorithm() :: :ed25519 | :rsa_sha256
```

# `t`

```elixir
@type t() :: %Ankusa.Verifier.Asymmetric.Scheme{
  algorithm: algorithm(),
  encoding: :hex | :base64,
  parse: :whole | :csv_pairs | :space_versions,
  sig_key: String.t() | nil,
  sig_prefix: String.t() | nil,
  signature_header: String.t(),
  signed: String.t(),
  timestamp: nil | {:header, String.t()} | {:sig, String.t()},
  version: String.t() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
