Home
last modified time | relevance | path

Searched refs:KMF_FORMAT_ASN1 (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/cmd/cmd-crypto/pktool/
H A Dimport.c817 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()
H A Ddownload.c237 format == KMF_FORMAT_ASN1 ? &cert : &cert_der); in pk_download()
H A Dgencsr.c390 KMF_ENCODE_FORMAT fmt = KMF_FORMAT_ASN1; in pk_gencsr()
603 if (format && fmt != KMF_FORMAT_ASN1 && fmt != KMF_FORMAT_PEM) { in pk_gencsr()
H A Dgenkeypair.c334 KMF_ENCODE_FORMAT fmt = KMF_FORMAT_ASN1; in pk_genkeypair()
H A Dgencert.c596 KMF_ENCODE_FORMAT fmt = KMF_FORMAT_ASN1; in pk_gencert()
H A Dcommon.c706 return (KMF_FORMAT_ASN1); in Str2Format()
/titanic_41/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c611 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()
4776 *pformat = KMF_FORMAT_ASN1; in OpenSSL_IsCRLFile()
5051 if (format == KMF_FORMAT_ASN1) { in OpenSSL_ImportCRL()
5078 if (format == KMF_FORMAT_ASN1) { in OpenSSL_ImportCRL()
5125 if (outformat == KMF_FORMAT_ASN1) { in OpenSSL_ImportCRL()
5218 if (format == KMF_FORMAT_ASN1) { in OpenSSL_ListCRL()
[all …]
/titanic_41/usr/src/lib/libkmf/include/
H A Dkmftypes.h84 KMF_FORMAT_ASN1 = 1, /* DER */ enumerator
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dcsrcrlop.c145 if (format != KMF_FORMAT_PEM && format != KMF_FORMAT_ASN1) in kmf_create_csr_file()
H A Dcertop.c1695 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()
H A Dgeneralop.c980 *fmt = KMF_FORMAT_ASN1; in kmf_get_data_format()
/titanic_41/usr/src/cmd/cmd-crypto/elfsign/
H A Delfsign.c764 format = KMF_FORMAT_ASN1; in create_csr()
/titanic_41/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c2529 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()
/titanic_41/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c1319 format == KMF_FORMAT_ASN1 ? &cert1 : &cert2); in KMFPK11_ImportCert()