/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.objectmodel.EntityHeader
 *  com.l7tech.objectmodel.EntityType
 *  com.l7tech.objectmodel.FindException
 *  com.l7tech.objectmodel.Goid
 *  com.l7tech.security.cert.TrustedCert
 *  com.l7tech.util.Functions$UnaryThrows
 */
package com.l7tech.server.search.processors;

import com.l7tech.objectmodel.EntityHeader;
import com.l7tech.objectmodel.EntityType;
import com.l7tech.objectmodel.FindException;
import com.l7tech.objectmodel.Goid;
import com.l7tech.security.cert.TrustedCert;
import com.l7tech.server.search.processors.DependencyFinder;
import com.l7tech.server.search.processors.RevocationCheckPolicyDependencyProcessor;
import com.l7tech.util.Functions;

class ai
implements Functions.UnaryThrows<DependencyFinder.FindResults, Goid, FindException> {
    final RevocationCheckPolicyDependencyProcessor this$0;

    ai(RevocationCheckPolicyDependencyProcessor revocationCheckPolicyDependencyProcessor) {
        this.this$0 = revocationCheckPolicyDependencyProcessor;
    }

    public DependencyFinder.FindResults call(Goid goid) throws FindException {
        return DependencyFinder.FindResults.create((TrustedCert)this.this$0.trustedCertManager.findByPrimaryKey(goid), new EntityHeader(goid, EntityType.TRUSTED_CERT, null, null));
    }
}

