Lockspire.MTLS.Extractor behaviour
(lockspire v1.1.2)
Copy Markdown
Behaviour for extracting Mutual TLS (mTLS) client certificates.
Summary
Callbacks
Extracts the raw DER-encoded certificate from the connection.
Callbacks
@callback extract( Plug.Conn.t(), keyword() ) :: {:ok, binary()} | {:error, atom()}
Extracts the raw DER-encoded certificate from the connection.