Acmex v0.1.1 Acmex.Resource.Challenge View Source

This structure represents a challenge to prove control of an identifier.

Link to this section Summary

Link to this section Types

Link to this type

dns_response()

View Source
dns_response() :: %{
  key_authorization: String.t(),
  record_name: String.t(),
  record_type: String.t()
}
Link to this type

http_response()

View Source
http_response() :: %{
  content_type: String.t(),
  filename: String.t(),
  key_authorization: String.t()
}
Link to this type

t()

View Source
t() :: %Acmex.Resource.Challenge{
  status: String.t(),
  token: String.t(),
  type: String.t(),
  url: String.t()
}

Link to this section Functions

Link to this function

get_key_authorization(challenge, jwk)

View Source
Link to this function

get_response(challenge, jwk)

View Source
get_response(t(), map()) :: {:ok, dns_response()} | {:ok, http_response()}
Link to this function

new(challenge)

View Source
new(map()) :: t()