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

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

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

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

   public void call(KeystoreFile var1) {
      try {
         if (this.this$1.val$transactionCallback != null) {
            this.this$1.val$transactionCallback.run();
         }
      } catch (Exception var4) {
         throw a(var4);
      }

      try {
         this.this$1.this$0.q = this.this$1.this$0.a(var1.getDatabytes());
         this.this$1.this$0.s = System.currentTimeMillis();
         this.val$out[0] = this.this$1.val$mutator.call();
         var1.setDatabytes(this.this$1.this$0.b());
      } catch (Exception var3) {
         throw new RuntimeException(var3);
      }
   }

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