/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.util.Functions$UnaryVoid
 */
package com.l7tech.server.security.keystore.software;

import com.l7tech.server.security.keystore.KeystoreFile;
import com.l7tech.server.security.keystore.software.b;
import com.l7tech.util.Functions;

class c
implements Functions.UnaryVoid<KeystoreFile> {
    final Object[] val$out;
    final b this$1;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    c(b b10, Object[] objectArray) {
        this.this$1 = b10;
        this.val$out = objectArray;
    }

    public void call(KeystoreFile keystoreFile) {
        try {
            try {
                this.this$1.this$0.n = this.this$1.this$0.a(keystoreFile.getDatabytes());
                this.this$1.this$0.p = System.currentTimeMillis();
                this.val$out[0] = this.this$1.val$mutator.call();
                if (this.this$1.val$transactionCallback != null) {
                    this.this$1.val$transactionCallback.run();
                }
            }
            catch (Exception exception) {
                throw c.a(exception);
            }
            keystoreFile.setDatabytes(this.this$1.this$0.a(this.this$1.this$0.n));
        }
        catch (Exception exception) {
            throw new RuntimeException(exception);
        }
    }

    private static Exception a(Exception exception) {
        return exception;
    }
}

