Skip to content

Commit

Permalink
CA.NIS
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Oct 28, 2024
1 parent c547c8a commit 2e6f293
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions lib/oid/nis.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
defmodule CA.NIS do
@moduledoc "CA NIS OIDs."
def oid(:"id-nis-macAddress"), do: {1, 3, 6, 1, 1, 1, 1, 22}
end
6 changes: 3 additions & 3 deletions lib/services/est.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ defmodule CA.EST do
# Authority PKI X.509 EST RFC 7030 3.2.2

post "/.well-known/est/simpleenroll" do CA.EST.Post.post(conn, [], "Authority", [], "ENROLL") end
put "/.well-known/est/simplereenroll" do CA.EST.Put.put(conn, [], "Authority", [], "RE-ENROLL") end
post "/.well-known/est/simplereenroll" do CA.EST.Post.post(conn, [], "Authority", [], "RE-ENROLL") end
get "/.well-known/est/cacerts" do CA.EST.Get.get(conn, [], "Authority", [], "ROOT") end
get "/.well-known/est/csrattrs" do CA.EST.Get.get(conn, [], "Authority", [], "ABAC") end
put "/.well-known/est/fullcmc" do CA.EST.Put.put(conn, [], "Authority", [], "CMC") end
post "/.well-known/est/serverkeygen" do CA.EST.Post.put(conn, [], "Authority", [], "KEYGEN") end
post "/.well-known/est/fullcmc" do CA.EST.Post.post(conn, [], "Authority", [], "CMC") end
post "/.well-known/est/serverkeygen" do CA.EST.Post.post(conn, [], "Authority", [], "KEYGEN") end

# See Page 36 of RFC 7030

Expand Down

0 comments on commit 2e6f293

Please sign in to comment.