Samlo.Metadata.KeyDescriptor (samlo v0.1.0)

The KeyDescriptor structure

Link to this section Summary

Link to this section Types

Specs

Specs

t() :: %Samlo.Metadata.KeyDescriptor{
  cert: Samlo.Metadata.Certificate.t(),
  use: use_attr()
}

Specs

use_attr() :: :sign | :encrypt

Link to this section Functions

Link to this function

create(data, use_attr \\ :sign)

Link to this function

decode_use_attr(use_attr)

Specs

decode_use_attr(use_attr :: binary()) :: nil | use_attr()
Link to this function

encode_use_attr(use_attr)

Specs

encode_use_attr(attr :: use_attr()) :: String.t()