MCPcopy Create free account
hub / github.com/apache/httpd / parse_pem_cert

Method parse_pem_cert

test/modules/md/md_cert_util.py:49–51  ·  view source on GitHub ↗
(cls, text)

Source from the content-addressed store, hash-verified

47
48 @classmethod
49 def parse_pem_cert(cls, text):
50 cert = OpenSSL.crypto.load_certificate(OpenSSL.crypto.FILETYPE_PEM, text.encode('utf-8'))
51 return MDCertUtil(None, cert=cert)
52
53 @classmethod
54 def get_plain(cls, url, timeout):

Callers 1

get_server_certMethod · 0.80

Calls 1

MDCertUtilClass · 0.85

Tested by

no test coverage detected