Searched refs:KMF_FORMAT_ASN1 (Results 1 – 14 of 14) sorted by relevance
817 KMF_ENCODE_FORMAT okfmt = KMF_FORMAT_ASN1; in pk_import()1022 if (oclass == 0 && (kfmt == KMF_FORMAT_ASN1 || in pk_import()1028 (kfmt != KMF_FORMAT_ASN1 && kfmt != KMF_FORMAT_PEM)) { in pk_import()1036 (kfmt != KMF_FORMAT_ASN1 && kfmt != KMF_FORMAT_PEM)) { in pk_import()
237 format == KMF_FORMAT_ASN1 ? &cert : &cert_der); in pk_download()
390 KMF_ENCODE_FORMAT fmt = KMF_FORMAT_ASN1; in pk_gencsr()603 if (format && fmt != KMF_FORMAT_ASN1 && fmt != KMF_FORMAT_PEM) { in pk_gencsr()
334 KMF_ENCODE_FORMAT fmt = KMF_FORMAT_ASN1; in pk_genkeypair()
596 KMF_ENCODE_FORMAT fmt = KMF_FORMAT_ASN1; in pk_gencert()
706 return (KMF_FORMAT_ASN1); in Str2Format()
611 else if (format == KMF_FORMAT_ASN1) in load_X509cert()682 if (format == KMF_FORMAT_ASN1) { in load_certs()976 if (format == KMF_FORMAT_ASN1) { in openssl_load_key()1246 } else if (format != KMF_FORMAT_ASN1 && format != KMF_FORMAT_PEM) { in OpenSSL_StoreCert()1423 case KMF_FORMAT_ASN1: in ssl_write_key()4774 *pformat = KMF_FORMAT_ASN1; in OpenSSL_IsCRLFile()5049 if (format == KMF_FORMAT_ASN1) { in OpenSSL_ImportCRL()5076 if (format == KMF_FORMAT_ASN1) { in OpenSSL_ImportCRL()5123 if (outformat == KMF_FORMAT_ASN1) { in OpenSSL_ImportCRL()5216 if (format == KMF_FORMAT_ASN1) { in OpenSSL_ListCRL()[all …]
84 KMF_FORMAT_ASN1 = 1, /* DER */ enumerator
145 if (format != KMF_FORMAT_PEM && format != KMF_FORMAT_ASN1) in kmf_create_csr_file()
1695 ret = kmf_create_cert_file(user_cert, KMF_FORMAT_ASN1, in cert_crl_check()2658 if (format != KMF_FORMAT_PEM && format != KMF_FORMAT_ASN1) in kmf_create_cert_file()2722 case KMF_FORMAT_ASN1: in kmf_is_cert_data()
980 *fmt = KMF_FORMAT_ASN1; in kmf_get_data_format()
764 format = KMF_FORMAT_ASN1; in create_csr()
2529 crlDER.data = format == KMF_FORMAT_ASN1 ? crl1.Data : crl2.Data; in NSS_ImportCRL()2530 crlDER.len = format == KMF_FORMAT_ASN1 ? crl1.Length : crl2.Length; in NSS_ImportCRL()
1319 format == KMF_FORMAT_ASN1 ? &cert1 : &cert2); in KMFPK11_ImportCert()