Searched refs:key_pem (Results 1 – 5 of 5) sorted by relevance
/external/python/oauth2client/oauth2client/ |
D | _pycrypto_crypt.py | 53 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.py | 54 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.py | 95 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/wpa_supplicant_8/hs20/client/ |
D | est.c | 384 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/ |
D | test_crypto.py | 2145 def gen_pkcs12(self, cert_pem=None, key_pem=None, ca_pem=None, argument 2155 if key_pem: 2156 ret = p12.set_privatekey(load_privatekey(FILETYPE_PEM, key_pem)) 2199 key_pem = dump_privatekey(FILETYPE_PEM, p12.get_privatekey()) 2202 (cert_pem, key_pem, p12.get_ca_certificates()))
|