/*
 * Decompiled with CFR 0.152.
 */
package com.l7tech.server.security.keystore.ncipher;

import com.l7tech.server.security.keystore.ncipher.NcipherSsgKeyStore;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.util.concurrent.Callable;

class c
implements Callable<Boolean> {
    final String val$keyAlias;
    final NcipherSsgKeyStore this$0;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    c(NcipherSsgKeyStore ncipherSsgKeyStore, String string) {
        this.this$0 = ncipherSsgKeyStore;
        this.val$keyAlias = string;
    }

    @Override
    public Boolean call() throws KeyStoreException {
        KeyStore keyStore = this.this$0.keyStore();
        try {
            if (keyStore.containsAlias(this.val$keyAlias)) {
                keyStore.deleteEntry(this.val$keyAlias);
                this.this$0.w = true;
                return Boolean.TRUE;
            }
        }
        catch (KeyStoreException keyStoreException) {
            throw c.a(keyStoreException);
        }
        return Boolean.FALSE;
    }

    private static KeyStoreException a(KeyStoreException keyStoreException) {
        return keyStoreException;
    }
}

