Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dssl.py995 def PEM_cert_to_DER_cert(pem_cert_string): argument
999 if not pem_cert_string.startswith(PEM_HEADER):
1002 if not pem_cert_string.strip().endswith(PEM_FOOTER):
1005 d = pem_cert_string.strip()[len(PEM_HEADER):-len(PEM_FOOTER)]
/external/python/cpython3/Lib/
Dssl.py1270 def PEM_cert_to_DER_cert(pem_cert_string): argument
1274 if not pem_cert_string.startswith(PEM_HEADER):
1277 if not pem_cert_string.strip().endswith(PEM_FOOTER):
1280 d = pem_cert_string.strip()[len(PEM_HEADER):-len(PEM_FOOTER)]