/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.objectmodel.Goid
 *  com.l7tech.security.cert.TrustedCert
 *  com.l7tech.util.Functions$Unary
 */
package com.l7tech.server.security.cert;

import com.l7tech.objectmodel.Goid;
import com.l7tech.security.cert.TrustedCert;
import com.l7tech.server.security.cert.RevocationCheckerFactory;
import com.l7tech.util.Functions;
import java.security.cert.X509Certificate;

class o
implements Functions.Unary<X509Certificate, Goid> {
    final RevocationCheckerFactory this$0;

    o(RevocationCheckerFactory revocationCheckerFactory) {
        this.this$0 = revocationCheckerFactory;
    }

    public X509Certificate call(Goid goid) {
        TrustedCert trustedCert = this.this$0.b.getTrustedCertByOid(goid);
        return trustedCert == null ? null : trustedCert.getCertificate();
    }
}

