Searched refs:FILETYPE_PEM (Results 1 – 2 of 2) sorted by relevance
38 FILETYPE_PEM = None variable48 FILETYPE_PEM = crypto.FILETYPE_PEM variable85 def load_privatekey(key, filetype=FILETYPE_PEM):90 def load_cert(cert_str, filetype=FILETYPE_PEM):95 def _dump_privatekey(key, filetype=FILETYPE_PEM):100 def _dump_cert(cert, filetype=FILETYPE_PEM):
117 pubkey = crypto.load_certificate(crypto.FILETYPE_PEM, key_pem)119 pubkey = crypto.load_privatekey(crypto.FILETYPE_PEM, key_pem)165 pkey = crypto.load_privatekey(crypto.FILETYPE_PEM, parsed_pem_key)189 return crypto.dump_privatekey(crypto.FILETYPE_PEM,