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)]
1456 def PEM_cert_to_DER_cert(pem_cert_string): argument1460 if not pem_cert_string.startswith(PEM_HEADER):1463 if not pem_cert_string.strip().endswith(PEM_FOOTER):1466 d = pem_cert_string.strip()[len(PEM_HEADER):-len(PEM_FOOTER)]