package com.l7tech.server.security.keystore.software;

import com.l7tech.server.security.keystore.KeystoreFile;
import com.l7tech.util.Functions.UnaryVoid;

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

   c(b var1, Object[] var2) {
      this.this$1 = var1;
      this.val$out = var2;
   }

   public void call(KeystoreFile var1) {
      try {
         try {
            this.this$1.this$0.n = this.this$1.this$0.a(var1.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 var3) {
            throw a(var3);
         }

         var1.setDatabytes(this.this$1.this$0.a(this.this$1.this$0.n));
      } catch (Exception var4) {
         throw new RuntimeException(var4);
      }
   }

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