Capstone.Config.Security (Capstone v0.33.3)

Copy Markdown View Source

The security: section of target.exs. Every key is optional and defaults to false.

Summary

Functions

Builds a t/0 from the raw security: keyword list, prefixing every error path with path.

Types

t()

@type t() :: %Capstone.Config.Security{
  cloak: boolean(),
  envelope_encryption: boolean()
}

Functions

from_keyword(fields, path)

@spec from_keyword(
  keyword(),
  Capstone.Config.path()
) :: {:ok, t()} | {:error, [Capstone.Config.error()]}

Builds a t/0 from the raw security: keyword list, prefixing every error path with path.