1.3. Authentication & Processing¶
-
class
acmems.auth.SubjectAltName(*args, **kwargs)¶ Bases:
ndg.httpsclient.subj_alt_name.SubjectAltNameASN.1 implementation for subjectAltNames support
-
class
acmems.auth.Block(name, options, config)¶ Bases:
objectOne authentication block - combination of authentications and list of allowed domains
-
class
acmems.auth.Processor(auth, client_address, headers, rfile)¶ Bases:
objectHelper object to process a request, check authentication, reads and parse CSR
-
acceptable()¶ process the given request parameter for a CSR signing request and decide whether this request is allowed or not.
Parameters: - str (client_ip) – The source IP of the client (TCP level)
- headers (dict) – The request header
- get_body (callable) – function to read in body (CSR)
Return bool: whether request should be accepted
-