Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dssl.py983 PEM_HEADER = "-----BEGIN CERTIFICATE-----" variable
991 return (PEM_HEADER + '\n' +
999 if not pem_cert_string.startswith(PEM_HEADER):
1001 % PEM_HEADER)
1005 d = pem_cert_string.strip()[len(PEM_HEADER):-len(PEM_FOOTER)]
/external/python/cpython3/Lib/
Dssl.py1257 PEM_HEADER = "-----BEGIN CERTIFICATE-----" variable
1265 ss = [PEM_HEADER]
1274 if not pem_cert_string.startswith(PEM_HEADER):
1276 % PEM_HEADER)
1280 d = pem_cert_string.strip()[len(PEM_HEADER):-len(PEM_FOOTER)]
/external/python/cpython2/Lib/test/
Dtest_ssl.py287 if not p2.startswith(ssl.PEM_HEADER + '\n'):
/external/python/cpython3/Lib/test/
Dtest_ssl.py460 if not p2.startswith(ssl.PEM_HEADER + '\n'):