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.py1443 PEM_HEADER = "-----BEGIN CERTIFICATE-----" variable
1451 ss = [PEM_HEADER]
1460 if not pem_cert_string.startswith(PEM_HEADER):
1462 % PEM_HEADER)
1466 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.py530 if not p2.startswith(ssl.PEM_HEADER + '\n'):