Home
last modified time | relevance | path

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

/external/python/rsa/rsa/
Dpem.py24 def _markers(pem_marker): argument
29 if not is_bytes(pem_marker):
30 pem_marker = pem_marker.encode('ascii')
32 return (b'-----BEGIN ' + pem_marker + b'-----',
33 b'-----END ' + pem_marker + b'-----')
36 def load_pem(contents, pem_marker): argument
55 (pem_start, pem_end) = _markers(pem_marker)
102 def save_pem(contents, pem_marker): argument
114 (pem_start, pem_end) = _markers(pem_marker)
/external/scapy/scapy/layers/tls/
Dcert.py122 def __call__(cls, obj_path, obj_max_size, pem_marker=None): argument
158 if pem_marker is not None:
159 pem = der2pem(_raw, pem_marker)