Searched refs:pem_marker (Results 1 – 1 of 1) sorted by relevance
22 def _markers(pem_marker): argument27 if is_bytes(pem_marker):28 pem_marker = pem_marker.decode('utf-8')30 return (b('-----BEGIN %s-----' % pem_marker),31 b('-----END %s-----' % pem_marker))33 def load_pem(contents, pem_marker): argument48 (pem_start, pem_end) = _markers(pem_marker)95 def save_pem(contents, pem_marker): argument107 (pem_start, pem_end) = _markers(pem_marker)