Lines Matching refs:plugin

49  *   This function converts the specified plugin public key to SPKI form,
72 KMF_PLUGIN *plugin;
84 plugin = FindPlugin(handle, KMFKey->kstype);
85 if (plugin != NULL && plugin->funclist->EncodePubkeyData != NULL) {
86 ret = plugin->funclist->EncodePubkeyData(handle,
642 KMF_ATTRIBUTE *attrlist, KMF_PLUGIN **plugin)
655 if (handle == NULL || plugin == NULL)
672 *plugin = FindPlugin(handle, kstype);
677 *plugin = FindPlugin(handle, KMF_KEYSTORE_OPENSSL);
689 KMF_PLUGIN *plugin;
691 ret = setup_crl_call(handle, numattr, attrlist, &plugin);
695 if (plugin == NULL)
697 else if (plugin->funclist->ImportCRL != NULL)
698 return (plugin->funclist->ImportCRL(handle, numattr, attrlist));
707 KMF_PLUGIN *plugin;
709 ret = setup_crl_call(handle, numattr, attrlist, &plugin);
713 if (plugin == NULL)
715 else if (plugin->funclist->DeleteCRL != NULL)
716 return (plugin->funclist->DeleteCRL(handle, numattr, attrlist));
724 KMF_PLUGIN *plugin;
727 ret = setup_crl_call(handle, numattr, attrlist, &plugin);
731 if (plugin == NULL)
733 else if (plugin->funclist->ListCRL != NULL)
734 return (plugin->funclist->ListCRL(handle, numattr, attrlist));
741 KMF_PLUGIN *plugin;
772 plugin = FindPlugin(handle, kstype);
786 if (plugin == NULL)
788 else if (plugin->funclist->FindCRL != NULL) {
789 return (plugin->funclist->FindCRL(handle, numattr,
799 KMF_PLUGIN *plugin;
801 ret = setup_crl_call(handle, numattr, attrlist, &plugin);
805 if (plugin == NULL)
807 else if (plugin->funclist->FindCertInCRL != NULL)
808 return (plugin->funclist->FindCertInCRL(handle, numattr,
817 KMF_PLUGIN *plugin;
823 plugin = FindPlugin(handle, KMF_KEYSTORE_OPENSSL);
824 if (plugin == NULL || plugin->dldesc == NULL) {
828 verifyCRLFile = (KMF_RETURN(*)())dlsym(plugin->dldesc,
841 KMF_PLUGIN *plugin;
852 plugin = FindPlugin(handle, KMF_KEYSTORE_OPENSSL);
853 if (plugin == NULL || plugin->dldesc == NULL) {
857 checkCRLDate = (KMF_RETURN(*)())dlsym(plugin->dldesc,
870 KMF_PLUGIN *plugin;
884 * plugin library, so we find the function address and call it.
886 plugin = FindPlugin(handle, KMF_KEYSTORE_OPENSSL);
887 if (plugin == NULL || plugin->dldesc == NULL) {
891 IsCRLFileFn = (KMF_RETURN(*)())dlsym(plugin->dldesc,