Home
last modified time | relevance | path

Searched refs:key_pem (Results 1 – 10 of 10) sorted by relevance

/external/python/oauth2client/oauth2client/
D_pycrypto_crypt.py53 def from_string(key_pem, is_x509_cert): argument
65 key_pem = _helpers._to_bytes(key_pem)
66 pemLines = key_pem.replace(b' ', b'').split()
74 pubkey = RSA.importKey(key_pem)
D_openssl_crypt.py54 def from_string(key_pem, is_x509_cert): argument
68 key_pem = _helpers._to_bytes(key_pem)
70 pubkey = crypto.load_certificate(crypto.FILETYPE_PEM, key_pem)
72 pubkey = crypto.load_privatekey(crypto.FILETYPE_PEM, key_pem)
D_pure_python_crypt.py95 def from_string(cls, key_pem, is_x509_cert): argument
113 key_pem = _helpers._to_bytes(key_pem)
115 der = rsa.pem.load_pem(key_pem, 'CERTIFICATE')
124 pubkey = rsa.PublicKey.load_pkcs1(key_pem, 'PEM')
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-tls-mem/
Dminimal-http-server-tls-mem.c83 *key_pem = variable
433 info.server_ssl_private_key_mem = key_pem; in main()
434 info.server_ssl_private_key_mem_len = strlen(key_pem); in main()
/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_callbacks.h82 char *key_pem,
Difapi_policy_execute.h67 char *key_pem,
Difapi_policy_callbacks.c648 char *key_pem, in ifapi_sign_buffer() argument
666 r = fapi_ctx->callbacks.sign(fapi_ctx, "PolicySigned", key_pem, in ifapi_sign_buffer()
/external/wpa_supplicant_8/hs20/client/
Dest.c384 static int generate_csr(struct hs20_osu_client *ctx, char *key_pem, in generate_csr() argument
422 if (key_pem) { in generate_csr()
423 FILE *f = fopen(key_pem, "wb"); in generate_csr()
/external/python/pyopenssl/tests/
Dtest_crypto.py2425 self, cert_pem=None, key_pem=None, ca_pem=None, friendly_name=None argument
2435 if key_pem:
2436 ret = p12.set_privatekey(load_privatekey(FILETYPE_PEM, key_pem))
2500 key_pem = dump_privatekey(FILETYPE_PEM, p12.get_privatekey())
2503 key_pem,
/external/tpm2-tss/doc/
Ddoxygen.dox1898 char *key_pem,