Home
last modified time | relevance | path

Searched refs:pem_file (Results 1 – 2 of 2) sorted by relevance

/system/extras/verity/
Dgenerate_verity_key.c114 static int convert_x509(const char *pem_file, const char *key_file) in convert_x509() argument
122 if (!pem_file || !key_file) { in convert_x509()
126 f = fopen(pem_file, "r"); in convert_x509()
128 printf("Failed to open '%s'\n", pem_file); in convert_x509()
134 printf("Failed to read PEM certificate from file '%s'\n", pem_file); in convert_x509()
140 printf("Failed to extract public key from certificate '%s'\n", pem_file); in convert_x509()
146 printf("Failed to get the RSA public key from '%s'\n", pem_file); in convert_x509()
/system/ca-certificates/google/
Dextract_from_pem.py66 assert os.path.isdir(args.output_dir) and os.path.isfile(args.pem_file)
73 with open(args.pem_file) as pem_file:
75 pem_certs = re.findall(pattern, pem_file.read())