Searched refs:pem_cert_string (Results 1 – 2 of 2) sorted by relevance
995 def PEM_cert_to_DER_cert(pem_cert_string): argument999 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)]
1270 def PEM_cert_to_DER_cert(pem_cert_string): argument1274 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)]