Home
last modified time | relevance | path

Searched refs:pem_marker (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
Dpem.py22 def _markers(pem_marker): argument
27 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): argument
48 (pem_start, pem_end) = _markers(pem_marker)
95 def save_pem(contents, pem_marker): argument
107 (pem_start, pem_end) = _markers(pem_marker)