Lines Matching refs:format
2399 KMF_ENCODE_FORMAT format;
2417 /* Check the cert file and auto-detect the file format of it. */
2418 ret = kmf_is_cert_file(handle, certfile, &format);
2428 * If the imported cert is in PEM format, convert it to
2429 * DER format in order to store it in NSS token.
2431 if (format == KMF_FORMAT_PEM) {
2449 if (format == KMF_FORMAT_PEM) {
2466 KMF_ENCODE_FORMAT format;
2490 * the encoded format of the file.
2492 ret = kmf_is_crl_file(handle, crlfilename, &format);
2518 /* If the input CRL is in PEM format, convert it to DER first. */
2519 if (format == KMF_FORMAT_PEM) {
2529 crlDER.data = format == KMF_FORMAT_ASN1 ? crl1.Data : crl2.Data;
2530 crlDER.len = format == KMF_FORMAT_ASN1 ? crl1.Length : crl2.Length;