MCPcopy Index your code
hub / github.com/zappa/Zappa / _b64

Function _b64

zappa/letsencrypt.py:387–391  ·  view source on GitHub ↗

Helper function base64 encode for jose spec

(b)

Source from the content-addressed store, hash-verified

385
386
387def _b64(b):
388 """
389 Helper function base64 encode for jose spec
390 """
391 return base64.urlsafe_b64encode(b).decode("utf8").replace("=", "")
392
393
394def _send_signed_request(url, payload):

Callers 4

get_boulder_headerFunction · 0.85
get_certFunction · 0.85
sign_certificateFunction · 0.85
_send_signed_requestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected