package com.l7tech.server.security.keystore;

import com.l7tech.gateway.common.security.keystore.SsgKeyEntry;
import com.l7tech.objectmodel.FindException;
import com.l7tech.objectmodel.Goid;
import com.l7tech.objectmodel.ObjectNotFoundException;
import com.l7tech.security.prov.JceProvider;
import com.l7tech.server.security.sharedkey.SharedKeyManager;
import com.l7tech.util.Config;
import com.l7tech.util.MasterPasswordManager;
import java.security.KeyStoreException;
import java.util.List;
import java.util.logging.Logger;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.transaction.annotation.Transactional;

public class SsgKeyStoreManagerImpl implements SsgKeyStoreManager, InitializingBean {
   protected static final Logger logger;
   private static final String a;
   private final char[] b;
   private final KeystoreFileManager c;
   private final Config d;
   private final MasterPasswordManager e;
   private final KeyAccessFilter f;
   private final SsgKeyMetadataManager g;
   private boolean h;
   private List<SsgKeyFinder> i;
   Goid j;
   private static final String[] k;

   // $VF: Handled exception range with multiple entry points by splitting it
   // $VF: Duplicated exception handlers to handle obfuscated exceptions
   public SsgKeyStoreManagerImpl(
      SharedKeyManager var1, KeystoreFileManager var2, Config var3, char[] var4, MasterPasswordManager var5, KeyAccessFilter var6, SsgKeyMetadataManager var7
   ) throws KeyStoreException, FindException {
      label21: {
         this.h = false;
         this.i = null;
         this.j = new Goid(0L, 0L);
         if (var4 != null) {
            try {
               if (var4.length != 0) {
                  break label21;
               }
            } catch (KeyStoreException var9) {
               throw a(var9);
            }
         }

         try {
            throw new IllegalArgumentException(k[1]);
         } catch (KeyStoreException var8) {
            throw a(var8);
         }
      }

      if (var2 instanceof KeystoreFileManagerImpl) {
         logger.severe(k[7]);
         var2 = null;
      }

      this.c = var2;
      this.b = this.a(var1.getSharedKey());
      this.d = var3;
      this.e = var5;
      this.f = var6;
      this.g = var7;
   }

   private char[] a(byte[] var1) {
      char[] var2 = new char[var1.length];
      String[] var5 = k;
      int var3 = var5[12].length();
      int var4 = 0;

      try {
         while (var4 < var1.length) {
            var2[var4] = k[3].charAt((128 + var1[var4]) % var3);
            var4++;
         }

         return var2;
      } catch (IllegalArgumentException var6) {
         throw a(var6);
      }
   }

   private synchronized void a() throws KeyStoreException, FindException {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 000: aload 0
      // 001: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.h Z
      // 004: ifeq 00c
      // 007: return
      // 008: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 00b: athrow
      // 00c: aload 0
      // 00d: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.f Lcom/l7tech/server/security/keystore/KeyAccessFilter;
      // 010: ifnonnull 02d
      // 013: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 016: astore 16
      // 018: aload 16
      // 01a: bipush 5
      // 01b: aaload
      // 01c: astore 1
      // 01d: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 020: aload 1
      // 021: invokevirtual java/util/logging/Logger.severe (Ljava/lang/String;)V
      // 024: new java/lang/IllegalStateException
      // 027: dup
      // 028: aload 1
      // 029: invokespecial java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
      // 02c: athrow
      // 02d: new java/util/ArrayList
      // 030: dup
      // 031: invokespecial java/util/ArrayList.<init> ()V
      // 034: astore 1
      // 035: aload 0
      // 036: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.c Lcom/l7tech/server/security/keystore/KeystoreFileManager;
      // 039: invokeinterface com/l7tech/server/security/keystore/KeystoreFileManager.findAll ()Ljava/util/Collection; 1
      // 03e: astore 2
      // 03f: aload 2
      // 040: invokeinterface java/util/Collection.isEmpty ()Z 1
      // 045: ifeq 063
      // 048: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 04b: astore 16
      // 04d: aload 16
      // 04f: bipush 18
      // 051: aaload
      // 052: astore 3
      // 053: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 056: aload 3
      // 057: invokevirtual java/util/logging/Logger.warning (Ljava/lang/String;)V
      // 05a: new java/security/KeyStoreException
      // 05d: dup
      // 05e: aload 3
      // 05f: invokespecial java/security/KeyStoreException.<init> (Ljava/lang/String;)V
      // 062: athrow
      // 063: aload 0
      // 064: invokevirtual com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.isUsingLuna ()Z
      // 067: istore 3
      // 068: aload 0
      // 069: invokevirtual com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.isUsingNcipher ()Z
      // 06c: istore 4
      // 06e: aload 0
      // 06f: invokevirtual com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.isUsingSca6000 ()Z
      // 072: istore 5
      // 074: aload 0
      // 075: invokevirtual com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.isUsingGeneric ()Z
      // 078: istore 6
      // 07a: bipush 0
      // 07b: istore 7
      // 07d: bipush 0
      // 07e: istore 8
      // 080: aload 2
      // 081: invokeinterface java/util/Collection.iterator ()Ljava/util/Iterator; 1
      // 086: astore 9
      // 088: aload 9
      // 08a: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 08f: ifeq 254
      // 092: aload 9
      // 094: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 099: checkcast com/l7tech/server/security/keystore/KeystoreFile
      // 09c: astore 10
      // 09e: aload 10
      // 0a0: invokevirtual com/l7tech/server/security/keystore/KeystoreFile.getGoid ()Lcom/l7tech/objectmodel/Goid;
      // 0a3: astore 11
      // 0a5: aload 10
      // 0a7: invokevirtual com/l7tech/server/security/keystore/KeystoreFile.getName ()Ljava/lang/String;
      // 0aa: astore 12
      // 0ac: aload 10
      // 0ae: invokevirtual com/l7tech/server/security/keystore/KeystoreFile.getFormat ()Ljava/lang/String;
      // 0b1: astore 13
      // 0b3: aload 13
      // 0b5: ifnonnull 0d5
      // 0b8: new java/security/KeyStoreException
      // 0bb: dup
      // 0bc: aload 11
      // 0be: invokestatic java/lang/String.valueOf (Ljava/lang/Object;)Ljava/lang/String;
      // 0c1: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 0c4: bipush 19
      // 0c6: aaload
      // 0c7: swap
      // 0c8: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001" ]
      // 0cd: invokespecial java/security/KeyStoreException.<init> (Ljava/lang/String;)V
      // 0d0: athrow
      // 0d1: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 0d4: athrow
      // 0d5: aload 13
      // 0d7: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 0da: bipush 15
      // 0dc: aaload
      // 0dd: invokevirtual java/lang/String.startsWith (Ljava/lang/String;)Z
      // 0e0: ifeq 157
      // 0e3: iload 5
      // 0e5: ifne 102
      // 0e8: goto 0ef
      // 0eb: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 0ee: athrow
      // 0ef: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 0f2: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 0f5: bipush 26
      // 0f7: aaload
      // 0f8: invokevirtual java/util/logging/Logger.info (Ljava/lang/String;)V
      // 0fb: goto 251
      // 0fe: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 101: athrow
      // 102: iload 7
      // 104: ifeq 119
      // 107: new java/security/KeyStoreException
      // 10a: dup
      // 10b: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 10e: bipush 16
      // 110: aaload
      // 111: invokespecial java/security/KeyStoreException.<init> (Ljava/lang/String;)V
      // 114: athrow
      // 115: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 118: athrow
      // 119: aload 10
      // 11b: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 11e: astore 16
      // 120: aload 16
      // 122: bipush 14
      // 124: aaload
      // 125: invokevirtual com/l7tech/server/security/keystore/KeystoreFile.getProperty (Ljava/lang/String;)Ljava/lang/String;
      // 128: astore 14
      // 12a: aload 0
      // 12b: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.e Lcom/l7tech/util/MasterPasswordManager;
      // 12e: aload 14
      // 130: invokevirtual com/l7tech/util/MasterPasswordManager.decryptPasswordIfEncrypted (Ljava/lang/String;)[C
      // 133: astore 15
      // 135: aload 1
      // 136: aload 11
      // 138: aload 12
      // 13a: aload 15
      // 13c: aload 0
      // 13d: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.c Lcom/l7tech/server/security/keystore/KeystoreFileManager;
      // 140: aload 0
      // 141: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.f Lcom/l7tech/server/security/keystore/KeyAccessFilter;
      // 144: aload 0
      // 145: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.g Lcom/l7tech/server/security/keystore/SsgKeyMetadataManager;
      // 148: invokestatic com/l7tech/server/security/keystore/sca/ScaSsgKeyStore.getInstance (Lcom/l7tech/objectmodel/Goid;Ljava/lang/String;[CLcom/l7tech/server/security/keystore/KeystoreFileManager;Lcom/l7tech/server/security/keystore/KeyAccessFilter;Lcom/l7tech/server/security/keystore/SsgKeyMetadataManager;)Lcom/l7tech/server/security/keystore/sca/ScaSsgKeyStore;
      // 14b: invokeinterface java/util/List.add (Ljava/lang/Object;)Z 2
      // 150: pop
      // 151: bipush 1
      // 152: istore 7
      // 154: goto 251
      // 157: aload 13
      // 159: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 15c: bipush 2
      // 15d: aaload
      // 15e: invokevirtual java/lang/String.startsWith (Ljava/lang/String;)Z
      // 161: ifeq 1be
      // 164: iload 4
      // 166: ifne 183
      // 169: goto 170
      // 16c: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 16f: athrow
      // 170: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 173: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 176: bipush 9
      // 178: aaload
      // 179: invokevirtual java/util/logging/Logger.info (Ljava/lang/String;)V
      // 17c: goto 251
      // 17f: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 182: athrow
      // 183: iload 8
      // 185: ifeq 19a
      // 188: new java/security/KeyStoreException
      // 18b: dup
      // 18c: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 18f: bipush 23
      // 191: aaload
      // 192: invokespecial java/security/KeyStoreException.<init> (Ljava/lang/String;)V
      // 195: athrow
      // 196: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 199: athrow
      // 19a: aload 1
      // 19b: new com/l7tech/server/security/keystore/ncipher/NcipherSsgKeyStore
      // 19e: dup
      // 19f: aload 11
      // 1a1: aload 12
      // 1a3: aload 0
      // 1a4: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.c Lcom/l7tech/server/security/keystore/KeystoreFileManager;
      // 1a7: aload 0
      // 1a8: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.f Lcom/l7tech/server/security/keystore/KeyAccessFilter;
      // 1ab: aload 0
      // 1ac: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.g Lcom/l7tech/server/security/keystore/SsgKeyMetadataManager;
      // 1af: invokespecial com/l7tech/server/security/keystore/ncipher/NcipherSsgKeyStore.<init> (Lcom/l7tech/objectmodel/Goid;Ljava/lang/String;Lcom/l7tech/server/security/keystore/KeystoreFileManager;Lcom/l7tech/server/security/keystore/KeyAccessFilter;Lcom/l7tech/server/security/keystore/SsgKeyMetadataManager;)V
      // 1b2: invokeinterface java/util/List.add (Ljava/lang/Object;)Z 2
      // 1b7: pop
      // 1b8: bipush 1
      // 1b9: istore 8
      // 1bb: goto 251
      // 1be: aload 13
      // 1c0: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 1c3: bipush 25
      // 1c5: aaload
      // 1c6: invokevirtual java/lang/String.equals (Ljava/lang/Object;)Z
      // 1c9: ifeq 1df
      // 1cc: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 1cf: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 1d2: bipush 21
      // 1d4: aaload
      // 1d5: invokevirtual java/util/logging/Logger.fine (Ljava/lang/String;)V
      // 1d8: goto 251
      // 1db: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 1de: athrow
      // 1df: aload 13
      // 1e1: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 1e4: bipush 24
      // 1e6: aaload
      // 1e7: invokevirtual java/lang/String.startsWith (Ljava/lang/String;)Z
      // 1ea: ifeq 251
      // 1ed: iload 5
      // 1ef: ifne 21c
      // 1f2: goto 1f9
      // 1f5: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 1f8: athrow
      // 1f9: iload 3
      // 1fa: ifne 21c
      // 1fd: goto 204
      // 200: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 203: athrow
      // 204: iload 4
      // 206: ifne 21c
      // 209: goto 210
      // 20c: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 20f: athrow
      // 210: iload 6
      // 212: ifeq 22f
      // 215: goto 21c
      // 218: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 21b: athrow
      // 21c: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 21f: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 222: bipush 27
      // 224: aaload
      // 225: invokevirtual java/util/logging/Logger.info (Ljava/lang/String;)V
      // 228: goto 251
      // 22b: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 22e: athrow
      // 22f: aload 1
      // 230: new com/l7tech/server/security/keystore/software/DatabasePkcs12SsgKeyStore
      // 233: dup
      // 234: aload 11
      // 236: aload 12
      // 238: aload 0
      // 239: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.c Lcom/l7tech/server/security/keystore/KeystoreFileManager;
      // 23c: aload 0
      // 23d: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.b [C
      // 240: aload 0
      // 241: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.f Lcom/l7tech/server/security/keystore/KeyAccessFilter;
      // 244: aload 0
      // 245: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.g Lcom/l7tech/server/security/keystore/SsgKeyMetadataManager;
      // 248: invokespecial com/l7tech/server/security/keystore/software/DatabasePkcs12SsgKeyStore.<init> (Lcom/l7tech/objectmodel/Goid;Ljava/lang/String;Lcom/l7tech/server/security/keystore/KeystoreFileManager;[CLcom/l7tech/server/security/keystore/KeyAccessFilter;Lcom/l7tech/server/security/keystore/SsgKeyMetadataManager;)V
      // 24b: invokeinterface java/util/List.add (Ljava/lang/Object;)Z 2
      // 250: pop
      // 251: goto 088
      // 254: iload 3
      // 255: ifeq 299
      // 258: aload 1
      // 259: invokeinterface java/util/List.isEmpty ()Z 1
      // 25e: ifeq 299
      // 261: goto 268
      // 264: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 267: athrow
      // 268: aload 1
      // 269: new com/l7tech/server/security/keystore/luna/LunaSsgKeyStore
      // 26c: dup
      // 26d: new com/l7tech/objectmodel/Goid
      // 270: dup
      // 271: lconst_0
      // 272: ldc2_w 3
      // 275: invokespecial com/l7tech/objectmodel/Goid.<init> (JJ)V
      // 278: getstatic com/l7tech/server/security/keystore/SsgKeyFinder$SsgKeyStoreType.LUNA_HARDWARE Lcom/l7tech/server/security/keystore/SsgKeyFinder$SsgKeyStoreType;
      // 27b: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 27e: bipush 8
      // 280: aaload
      // 281: aload 0
      // 282: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.f Lcom/l7tech/server/security/keystore/KeyAccessFilter;
      // 285: aload 0
      // 286: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.g Lcom/l7tech/server/security/keystore/SsgKeyMetadataManager;
      // 289: invokespecial com/l7tech/server/security/keystore/luna/LunaSsgKeyStore.<init> (Lcom/l7tech/objectmodel/Goid;Lcom/l7tech/server/security/keystore/SsgKeyFinder$SsgKeyStoreType;Ljava/lang/String;Lcom/l7tech/server/security/keystore/KeyAccessFilter;Lcom/l7tech/server/security/keystore/SsgKeyMetadataManager;)V
      // 28c: invokeinterface java/util/List.add (Ljava/lang/Object;)Z 2
      // 291: pop
      // 292: goto 299
      // 295: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 298: athrow
      // 299: iload 6
      // 29b: ifeq 306
      // 29e: aload 1
      // 29f: invokeinterface java/util/List.isEmpty ()Z 1
      // 2a4: ifeq 306
      // 2a7: goto 2ae
      // 2aa: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 2ad: athrow
      // 2ae: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 2b1: astore 16
      // 2b3: aload 16
      // 2b5: bipush 6
      // 2b7: aaload
      // 2b8: aload 16
      // 2ba: bipush 22
      // 2bc: aaload
      // 2bd: invokestatic com/l7tech/util/ConfigFactory.getProperty (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
      // 2c0: astore 9
      // 2c2: aload 9
      // 2c4: ifnonnull 2cf
      // 2c7: aconst_null
      // 2c8: goto 2d8
      // 2cb: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 2ce: athrow
      // 2cf: aload 0
      // 2d0: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.e Lcom/l7tech/util/MasterPasswordManager;
      // 2d3: aload 9
      // 2d5: invokevirtual com/l7tech/util/MasterPasswordManager.decryptPasswordIfEncrypted (Ljava/lang/String;)[C
      // 2d8: astore 10
      // 2da: aload 1
      // 2db: new com/l7tech/server/security/keystore/generic/GenericSsgKeyStore
      // 2de: dup
      // 2df: new com/l7tech/objectmodel/Goid
      // 2e2: dup
      // 2e3: lconst_0
      // 2e4: ldc2_w 5
      // 2e7: invokespecial com/l7tech/objectmodel/Goid.<init> (JJ)V
      // 2ea: getstatic com/l7tech/server/security/keystore/SsgKeyFinder$SsgKeyStoreType.GENERIC Lcom/l7tech/server/security/keystore/SsgKeyFinder$SsgKeyStoreType;
      // 2ed: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 2f0: bipush 10
      // 2f2: aaload
      // 2f3: aload 10
      // 2f5: aload 0
      // 2f6: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.f Lcom/l7tech/server/security/keystore/KeyAccessFilter;
      // 2f9: aload 0
      // 2fa: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.g Lcom/l7tech/server/security/keystore/SsgKeyMetadataManager;
      // 2fd: invokespecial com/l7tech/server/security/keystore/generic/GenericSsgKeyStore.<init> (Lcom/l7tech/objectmodel/Goid;Lcom/l7tech/server/security/keystore/SsgKeyFinder$SsgKeyStoreType;Ljava/lang/String;[CLcom/l7tech/server/security/keystore/KeyAccessFilter;Lcom/l7tech/server/security/keystore/SsgKeyMetadataManager;)V
      // 300: invokeinterface java/util/List.add (Ljava/lang/Object;)Z 2
      // 305: pop
      // 306: aload 1
      // 307: invokeinterface java/util/List.iterator ()Ljava/util/Iterator; 1
      // 30c: astore 9
      // 30e: aload 9
      // 310: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 315: ifeq 32f
      // 318: aload 9
      // 31a: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 31f: checkcast com/l7tech/server/security/keystore/SsgKeyFinder
      // 322: astore 10
      // 324: aload 10
      // 326: invokeinterface com/l7tech/server/security/keystore/SsgKeyFinder.getAliases ()Ljava/util/List; 1
      // 32b: pop
      // 32c: goto 30e
      // 32f: aload 0
      // 330: aload 1
      // 331: invokestatic java/util/Collections.unmodifiableList (Ljava/util/List;)Ljava/util/List;
      // 334: putfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.i Ljava/util/List;
      // 337: aload 0
      // 338: bipush 1
      // 339: putfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.h Z
      // 33c: return
      // try (0 -> 4): 4 java/security/KeyStoreException
      // try (83 -> 96): 96 java/security/KeyStoreException
      // try (98 -> 106): 107 java/security/KeyStoreException
      // try (104 -> 115): 115 java/security/KeyStoreException
      // try (117 -> 126): 126 java/security/KeyStoreException
      // try (157 -> 165): 166 java/security/KeyStoreException
      // try (163 -> 174): 174 java/security/KeyStoreException
      // try (176 -> 185): 185 java/security/KeyStoreException
      // try (204 -> 216): 216 java/security/KeyStoreException
      // try (218 -> 226): 227 java/security/KeyStoreException
      // try (224 -> 231): 232 java/security/KeyStoreException
      // try (229 -> 236): 237 java/security/KeyStoreException
      // try (234 -> 241): 242 java/security/KeyStoreException
      // try (239 -> 250): 250 java/security/KeyStoreException
      // try (269 -> 274): 275 java/security/KeyStoreException
      // try (271 -> 296): 297 java/security/KeyStoreException
      // try (299 -> 304): 305 java/security/KeyStoreException
      // try (317 -> 321): 321 java/security/KeyStoreException
   }

   public boolean isUsingLuna() {
      return JceProvider.LUNA_ENGINE.equals(JceProvider.getEngineClass());
   }

   public boolean isUsingNcipher() {
      return JceProvider.NCIPHER_ENGINE.equals(JceProvider.getEngineClass());
   }

   public boolean isUsingSca6000() {
      return JceProvider.PKCS11_ENGINE.equals(JceProvider.getEngineClass());
   }

   public boolean isUsingGeneric() {
      return JceProvider.GENERIC_ENGINE.equals(JceProvider.getEngineClass());
   }

   @Override
   public List<SsgKeyFinder> findAll() throws FindException, KeyStoreException {
      try {
         if (!this.h) {
            this.a();
         }
      } catch (FindException var1) {
         throw a(var1);
      }

      return this.i;
   }

   @Override
   public SsgKeyFinder findByPrimaryKey(Goid var1) throws FindException, KeyStoreException {
      try {
         if (!this.h) {
            this.a();
         }
      } catch (FindException var5) {
         throw a(var5);
      }

      for (SsgKeyFinder var3 : this.i) {
         try {
            if (Goid.equals(var3.getGoid(), var1)) {
               return var3;
            }
         } catch (FindException var4) {
            throw a(var4);
         }
      }

      throw new ObjectNotFoundException(k[11] + var1);
   }

   @Transactional(readOnly = true)
   @Override
   public SsgKeyEntry lookupKeyByKeyAlias(String param1, Goid param2) throws FindException, KeyStoreException {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 000: aload 0
      // 001: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.h Z
      // 004: ifne 012
      // 007: aload 0
      // 008: invokevirtual com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a ()V
      // 00b: goto 012
      // 00e: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 011: athrow
      // 012: aload 2
      // 013: invokestatic com/l7tech/objectmodel/Goid.isDefault (Lcom/l7tech/objectmodel/Goid;)Z
      // 016: ifne 02b
      // 019: aload 0
      // 01a: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.j Lcom/l7tech/objectmodel/Goid;
      // 01d: aload 2
      // 01e: invokestatic com/l7tech/objectmodel/Goid.equals (Lcom/l7tech/objectmodel/Goid;Lcom/l7tech/objectmodel/Goid;)Z
      // 021: ifeq 033
      // 024: goto 02b
      // 027: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 02a: athrow
      // 02b: bipush 1
      // 02c: goto 034
      // 02f: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 032: athrow
      // 033: bipush 0
      // 034: istore 3
      // 035: aconst_null
      // 036: astore 4
      // 038: iload 3
      // 039: ifne 103
      // 03c: aload 0
      // 03d: aload 2
      // 03e: invokevirtual com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.findByPrimaryKey (Lcom/l7tech/objectmodel/Goid;)Lcom/l7tech/server/security/keystore/SsgKeyFinder;
      // 041: astore 4
      // 043: aload 4
      // 045: ifnull 051
      // 048: aload 4
      // 04a: aload 1
      // 04b: invokeinterface com/l7tech/server/security/keystore/SsgKeyFinder.getCertificateChain (Ljava/lang/String;)Lcom/l7tech/gateway/common/security/keystore/SsgKeyEntry; 2
      // 050: areturn
      // 051: goto 103
      // 054: astore 5
      // 056: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 059: getstatic java/util/logging/Level.FINER Ljava/util/logging/Level;
      // 05c: invokevirtual java/util/logging/Logger.isLoggable (Ljava/util/logging/Level;)Z
      // 05f: ifeq 083
      // 062: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 065: getstatic java/util/logging/Level.FINER Ljava/util/logging/Level;
      // 068: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 06b: bipush 4
      // 06c: aaload
      // 06d: bipush 2
      // 06e: anewarray 257
      // 071: dup
      // 072: bipush 0
      // 073: aload 1
      // 074: aastore
      // 075: dup
      // 076: bipush 1
      // 077: aload 2
      // 078: aastore
      // 079: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
      // 07c: goto 083
      // 07f: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 082: athrow
      // 083: goto 103
      // 086: astore 5
      // 088: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 08b: getstatic java/util/logging/Level.FINE Ljava/util/logging/Level;
      // 08e: invokevirtual java/util/logging/Logger.isLoggable (Ljava/util/logging/Level;)Z
      // 091: ifeq 0c3
      // 094: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 097: getstatic java/util/logging/Level.FINE Ljava/util/logging/Level;
      // 09a: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 09d: bipush 17
      // 09f: aaload
      // 0a0: bipush 3
      // 0a1: anewarray 257
      // 0a4: dup
      // 0a5: bipush 0
      // 0a6: aload 2
      // 0a7: aastore
      // 0a8: dup
      // 0a9: bipush 1
      // 0aa: aload 1
      // 0ab: aastore
      // 0ac: dup
      // 0ad: bipush 2
      // 0ae: aload 5
      // 0b0: invokestatic com/l7tech/util/ExceptionUtils.getMessage (Ljava/lang/Throwable;)Ljava/lang/String;
      // 0b3: aastore
      // 0b4: invokestatic java/text/MessageFormat.format (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
      // 0b7: aload 5
      // 0b9: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 0bc: goto 0c3
      // 0bf: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 0c2: athrow
      // 0c3: goto 103
      // 0c6: astore 5
      // 0c8: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 0cb: getstatic java/util/logging/Level.FINE Ljava/util/logging/Level;
      // 0ce: invokevirtual java/util/logging/Logger.isLoggable (Ljava/util/logging/Level;)Z
      // 0d1: ifeq 103
      // 0d4: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.logger Ljava/util/logging/Logger;
      // 0d7: getstatic java/util/logging/Level.FINE Ljava/util/logging/Level;
      // 0da: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 0dd: bipush 30
      // 0df: aaload
      // 0e0: bipush 3
      // 0e1: anewarray 257
      // 0e4: dup
      // 0e5: bipush 0
      // 0e6: aload 2
      // 0e7: aastore
      // 0e8: dup
      // 0e9: bipush 1
      // 0ea: aload 1
      // 0eb: aastore
      // 0ec: dup
      // 0ed: bipush 2
      // 0ee: aload 5
      // 0f0: invokestatic com/l7tech/util/ExceptionUtils.getMessage (Ljava/lang/Throwable;)Ljava/lang/String;
      // 0f3: aastore
      // 0f4: invokestatic java/text/MessageFormat.format (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
      // 0f7: aload 5
      // 0f9: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 0fc: goto 103
      // 0ff: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 102: athrow
      // 103: iload 3
      // 104: ifne 121
      // 107: aload 0
      // 108: getfield com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.d Lcom/l7tech/util/Config;
      // 10b: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 10e: bipush 20
      // 110: aaload
      // 111: bipush 1
      // 112: invokeinterface com/l7tech/util/Config.getBooleanProperty (Ljava/lang/String;Z)Z 3
      // 117: ifeq 129
      // 11a: goto 121
      // 11d: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 120: athrow
      // 121: bipush 1
      // 122: goto 12a
      // 125: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 128: athrow
      // 129: bipush 0
      // 12a: istore 5
      // 12c: iload 5
      // 12e: ifeq 13c
      // 131: aload 0
      // 132: invokevirtual com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.findAll ()Ljava/util/List;
      // 135: goto 13f
      // 138: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 13b: athrow
      // 13c: invokestatic java/util/Collections.emptyList ()Ljava/util/List;
      // 13f: astore 6
      // 141: aload 6
      // 143: invokeinterface java/util/List.iterator ()Ljava/util/Iterator; 1
      // 148: astore 7
      // 14a: aload 7
      // 14c: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 151: ifeq 17c
      // 154: aload 7
      // 156: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 15b: checkcast com/l7tech/server/security/keystore/SsgKeyFinder
      // 15e: astore 8
      // 160: aload 8
      // 162: aload 4
      // 164: if_acmpne 16e
      // 167: goto 14a
      // 16a: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 16d: athrow
      // 16e: aload 8
      // 170: aload 1
      // 171: invokeinterface com/l7tech/server/security/keystore/SsgKeyFinder.getCertificateChain (Ljava/lang/String;)Lcom/l7tech/gateway/common/security/keystore/SsgKeyEntry; 2
      // 176: areturn
      // 177: astore 9
      // 179: goto 14a
      // 17c: iload 5
      // 17e: ifeq 18e
      // 181: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 184: bipush 29
      // 186: aaload
      // 187: goto 1a2
      // 18a: invokestatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 18d: athrow
      // 18e: aload 2
      // 18f: invokestatic java/lang/String.valueOf (Ljava/lang/Object;)Ljava/lang/String;
      // 192: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 195: astore 10
      // 197: aload 10
      // 199: bipush 28
      // 19b: aaload
      // 19c: swap
      // 19d: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001" ]
      // 1a2: astore 7
      // 1a4: new com/l7tech/objectmodel/ObjectNotFoundException
      // 1a7: dup
      // 1a8: aload 1
      // 1a9: aload 7
      // 1ab: getstatic com/l7tech/server/security/keystore/SsgKeyStoreManagerImpl.k [Ljava/lang/String;
      // 1ae: astore 10
      // 1b0: aload 10
      // 1b2: bipush 0
      // 1b3: aaload
      // 1b4: dup_x2
      // 1b5: pop
      // 1b6: aload 10
      // 1b8: bipush 13
      // 1ba: aaload
      // 1bb: swap
      // 1bc: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001\u0001" ]
      // 1c1: invokespecial com/l7tech/objectmodel/ObjectNotFoundException.<init> (Ljava/lang/String;)V
      // 1c4: athrow
      // try (11 -> 21): 21 com/l7tech/objectmodel/ObjectNotFoundException
      // try (8 -> 16): 17 com/l7tech/objectmodel/ObjectNotFoundException
      // try (0 -> 5): 6 com/l7tech/objectmodel/ObjectNotFoundException
      // try (29 -> 38): 40 com/l7tech/objectmodel/ObjectNotFoundException
      // try (29 -> 38): 65 com/l7tech/objectmodel/FindException
      // try (29 -> 38): 97 java/security/KeyStoreException
      // try (166 -> 170): 170 com/l7tech/objectmodel/ObjectNotFoundException
      // try (147 -> 152): 152 com/l7tech/objectmodel/ObjectNotFoundException
      // try (130 -> 143): 143 com/l7tech/objectmodel/ObjectNotFoundException
      // try (128 -> 138): 139 com/l7tech/objectmodel/ObjectNotFoundException
      // try (98 -> 125): 126 com/l7tech/objectmodel/ObjectNotFoundException
      // try (66 -> 93): 94 com/l7tech/objectmodel/ObjectNotFoundException
      // try (41 -> 61): 62 com/l7tech/objectmodel/ObjectNotFoundException
      // try (172 -> 175): 176 com/l7tech/objectmodel/ObjectNotFoundException
      // try (178 -> 184): 184 com/l7tech/objectmodel/ObjectNotFoundException
   }

   public void afterPropertiesSet() throws Exception {
      this.a();
   }

   static {
      String[] var5 = new String[31];
      int var3 = 0;
      String var2 = "]K\fr\u0007zpdMXqBb<zE_9!`W@R\u0007z#gK^|2b#`TDk\u0003p53M_9\u0010f!fM^|\u0006\u000b{WA7,`9cLIk^rFO}\u0007e7{MFr\u000en>|T]k\u0011w%eST`\u0018B\u0012P`i_%K\u0019Yo`T,L\u0000Bv\u007fM7U\u0007K}v(P0d&\u0012\u001b![3qS\u0007\b<<%z;\r\u0001F_(\u000bN_Q\"X$\fo\u0006\u0003&L/l-DR>CVEo\u0003w53OI`Bb<zE_9\u00193-3JCmBe?fJH9\u000bmpcVI\u007f\u0007q\"v@\fr\u0007z#gK^|BD\u001fZ`\fbS~<]K\fR\u0007z\u0011pGIj\u0011E9\u007fPIkBp5g\u0004U|\u0016#}>\u0004Ew\u0001l\"aAOmBj>zPEx\u000ej*rPEv\f#?a@Ik\u001cpKA7\u000e4$vGD7\tf)`PCk\u0007- rW_n\rq4\u0015xAA9\u0003v$|T^v\u001azpuEEu\u0017q5\u000b@EJ|,f$3l\u007fTyZCBv\u0010j>t\u0004G|\u001bp$|VIF\u0004j<v\u0004^v\u0015#'zPD9\u0003#6|VAx\u0016#?u\u0004Dj\u000f-\u001epM\\q\u0007qpqAOx\u0017p53PDp\u0011#\u0017rPIn\u0003zp}KH|Bj#3JCmB`?}BE~\u0017q5w\u0004XvBv#v\u0004MwBm\u0013zTD|\u0010#\u0018@i\u0007TAB|\u0010j3/]K\fJ\u0011d\u001bv]jp\fg5a\u0004Mo\u0003j<rF@|Bl>3PDp\u0011#>|@I9\u0015j${\u0004E}_^rFO}\u0007e7{MFr\u000en>|T]k\u0011w%eST`\u0018B\u0012P`i_%K\u0019Yo`T,L\u0000Bv\u007fM7U\u0007K}v(P0d&\u0012\u001b![3qS\u0007\b<<%z;\r\u0001F_(\u000bN_Q\"X$\fo\u0006\u0003&L/l-DR\n3BCl\fgpzJ\f\ncE_j\u0012k\"rWI\b{WA7\u0011`1=JWEXx\u0000b#v\u0004Ov\fw1zJ_9\u000fl\"v\u0004Xq\u0003mp|JI9\tf)`PCk\u0007\\6zHI9\u0010l'3SEm\n#13BCk\u000fb$3KJ9\np==WOx3VV^v\u0010#3{AOr\u000bm73OI`\u0011w?aA\f^-J\u00143_\u001cdBe?a\u0004Mu\u000bb#3_\u001ddX#+!Y]WEXx\u0000b#v\u0004Ov\fw1zJ_9\flpvJXk\u000bf#3MB9\tf)`PCk\u0007\\6zHI9O.p}K\fi\u0010j&rPI9\tf)3IMw\u0003d5~ABmBe5rPYk\u0007ppdM@uBt?aO4WEXx\u0000b#v\u0004Ov\fw1zJ_9\tf)`PCk\u0007\\6zHI9\u0015j${\u0004BvBe?aIMmBd?z@\u0011\u0016xAUJ\u0016l\"vwIx\u0010`8UK^X\u000ej1``ZCBv\u0010j>t\u0004G|\u001bp$|VIF\u0004j<v\u0004^v\u0015#'zPD9\u0003#6|VAx\u0016#?u\u0004_jBa5pEYj\u0007#${M_9\tf)`PCk\u0007#$jTI9\u000bpp}K\fu\rm7vV\fj\u0017s |VX|\u0006\u0007WajX7O\u0004NWEXx\u0000b#v\u0004Ov\fw1zJ_9\u000fl\"v\u0004Xq\u0003mp|JI9\tf)`PCk\u0007\\6zHI9\u0010l'3SEm\n#13BCk\u000fb$3KJ9\np==jOp\u0012k5a\u0004`@N7\u0002`WzZCBv\u0010j>t\u0004G|\u001bp$|VIF\u0004j<v\u0004^v\u0015#'zPD9\u0003#6|VAx\u0016#?u\u0004Dj\u000f-#pE\f{\u0007`1fWI9\u0016k9`\u0004kx\u0016f'r]\fw\rg53M_9\fl$3GCw\u0004j7fVI}Bw?3Q_|Bb>3MBm\u0007q>rH\fJ!Bp[wa}ZCBv\u0010j>t\u0004G|\u001bp$|VIF\u0004j<v\u0004^v\u0015#'zPD9\u0003#6|VAx\u0016#?u\u0004_}\u0000#2vGMl\u0011fpgLEjBD1gA[x\u001b#>|@I9\u000bppfWEw\u0005#1}\u0004dJ/#?a\u0004`l\fbp|V\f~\u0007m5aMO9\u0012q?eMH|\u0010#9}WX|\u0003g\fxAUj\u0016l\"v\u0004e]B";
      int var4 = "]K\fr\u0007zpdMXqBb<zE_9!`W@R\u0007z#gK^|2b#`TDk\u0003p53M_9\u0010f!fM^|\u0006\u000b{WA7,`9cLIk^rFO}\u0007e7{MFr\u000en>|T]k\u0011w%eST`\u0018B\u0012P`i_%K\u0019Yo`T,L\u0000Bv\u007fM7U\u0007K}v(P0d&\u0012\u001b![3qS\u0007\b<<%z;\r\u0001F_(\u000bN_Q\"X$\fo\u0006\u0003&L/l-DR>CVEo\u0003w53OI`Bb<zE_9\u00193-3JCmBe?fJH9\u000bmpcVI\u007f\u0007q\"v@\fr\u0007z#gK^|BD\u001fZ`\fbS~<]K\fR\u0007z\u0011pGIj\u0011E9\u007fPIkBp5g\u0004U|\u0016#}>\u0004Ew\u0001l\"aAOmBj>zPEx\u000ej*rPEv\f#?a@Ik\u001cpKA7\u000e4$vGD7\tf)`PCk\u0007- rW_n\rq4\u0015xAA9\u0003v$|T^v\u001azpuEEu\u0017q5\u000b@EJ|,f$3l\u007fTyZCBv\u0010j>t\u0004G|\u001bp$|VIF\u0004j<v\u0004^v\u0015#'zPD9\u0003#6|VAx\u0016#?u\u0004Dj\u000f-\u001epM\\q\u0007qpqAOx\u0017p53PDp\u0011#\u0017rPIn\u0003zp}KH|Bj#3JCmB`?}BE~\u0017q5w\u0004XvBv#v\u0004MwBm\u0013zTD|\u0010#\u0018@i\u0007TAB|\u0010j3/]K\fJ\u0011d\u001bv]jp\fg5a\u0004Mo\u0003j<rF@|Bl>3PDp\u0011#>|@I9\u0015j${\u0004E}_^rFO}\u0007e7{MFr\u000en>|T]k\u0011w%eST`\u0018B\u0012P`i_%K\u0019Yo`T,L\u0000Bv\u007fM7U\u0007K}v(P0d&\u0012\u001b![3qS\u0007\b<<%z;\r\u0001F_(\u000bN_Q\"X$\fo\u0006\u0003&L/l-DR\n3BCl\fgpzJ\f\ncE_j\u0012k\"rWI\b{WA7\u0011`1=JWEXx\u0000b#v\u0004Ov\fw1zJ_9\u000fl\"v\u0004Xq\u0003mp|JI9\tf)`PCk\u0007\\6zHI9\u0010l'3SEm\n#13BCk\u000fb$3KJ9\np==WOx3VV^v\u0010#3{AOr\u000bm73OI`\u0011w?aA\f^-J\u00143_\u001cdBe?a\u0004Mu\u000bb#3_\u001ddX#+!Y]WEXx\u0000b#v\u0004Ov\fw1zJ_9\flpvJXk\u000bf#3MB9\tf)`PCk\u0007\\6zHI9O.p}K\fi\u0010j&rPI9\tf)3IMw\u0003d5~ABmBe5rPYk\u0007ppdM@uBt?aO4WEXx\u0000b#v\u0004Ov\fw1zJ_9\tf)`PCk\u0007\\6zHI9\u0015j${\u0004BvBe?aIMmBd?z@\u0011\u0016xAUJ\u0016l\"vwIx\u0010`8UK^X\u000ej1``ZCBv\u0010j>t\u0004G|\u001bp$|VIF\u0004j<v\u0004^v\u0015#'zPD9\u0003#6|VAx\u0016#?u\u0004_jBa5pEYj\u0007#${M_9\tf)`PCk\u0007#$jTI9\u000bpp}K\fu\rm7vV\fj\u0017s |VX|\u0006\u0007WajX7O\u0004NWEXx\u0000b#v\u0004Ov\fw1zJ_9\u000fl\"v\u0004Xq\u0003mp|JI9\tf)`PCk\u0007\\6zHI9\u0010l'3SEm\n#13BCk\u000fb$3KJ9\np==jOp\u0012k5a\u0004`@N7\u0002`WzZCBv\u0010j>t\u0004G|\u001bp$|VIF\u0004j<v\u0004^v\u0015#'zPD9\u0003#6|VAx\u0016#?u\u0004Dj\u000f-#pE\f{\u0007`1fWI9\u0016k9`\u0004kx\u0016f'r]\fw\rg53M_9\fl$3GCw\u0004j7fVI}Bw?3Q_|Bb>3MBm\u0007q>rH\fJ!Bp[wa}ZCBv\u0010j>t\u0004G|\u001bp$|VIF\u0004j<v\u0004^v\u0015#'zPD9\u0003#6|VAx\u0016#?u\u0004_}\u0000#2vGMl\u0011fpgLEjBD1gA[x\u001b#>|@I9\u000bppfWEw\u0005#1}\u0004dJ/#?a\u0004`l\fbp|V\f~\u0007m5aMO9\u0012q?eMH|\u0010#9}WX|\u0003g\fxAUj\u0016l\"v\u0004e]B"
         .length();
      char var1 = 18;
      int var7 = -1;

      label24:
      while (true) {
         byte var10000 = 113;
         String var10001 = var2.substring(++var7, var7 + var1);
         byte var10002 = -1;

         while (true) {
            String var8 = a(var10000, a(var10001));
            switch (var10002) {
               case 0:
                  var5[var3++] = var8;
                  if ((var7 += var1) >= var4) {
                     k = var5;
                     a = k[3];
                     logger = Logger.getLogger(SsgKeyStoreManagerImpl.class.getName());
                     return;
                  }

                  var1 = var2.charAt(var7);
                  break;
               default:
                  var5[var3++] = var8;
                  if ((var7 += var1) < var4) {
                     var1 = var2.charAt(var7);
                     continue label24;
                  }

                  var2 = "5\r\u0012~N!n'\u0017\u0004,@3\u0011\u0011\u00191Wdt<\u0006\b5L*pt\b\u000e'V0x&\u0006K\u0019j\rSt\u0018[#\u0005\"x&C\n2L%dt\u0018Z#\u001fdlf\u001e";
                  var4 = "5\r\u0012~N!n'\u0017\u0004,@3\u0011\u0011\u00191Wdt<\u0006\b5L*pt\b\u000e'V0x&\u0006K\u0019j\rSt\u0018[#\u0005\"x&C\n2L%dt\u0018Z#\u001fdlf\u001e"
                     .length();
                  var1 = '\f';
                  var7 = -1;
            }

            var10000 = 54;
            var10001 = var2.substring(++var7, var7 + var1);
            var10002 = 0;
         }
      }
   }

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

   private static char[] a(String var0) {
      char[] var10000 = var0.toCharArray();
      if (var10000.length < 2) {
         var10000[0] = (char)(var10000[0] ^ 33);
      }

      return var10000;
   }

   private static String a(int var0, char[] var1) {
      int var10003 = var1.length;
      int var10002 = var0;
      char[] var10001 = var1;
      int var10000 = var10003;

      for (int var2 = 0; var10000 > var2; var2++) {
         var10001[var2] = (char)(var10001[var2] ^ var10002 ^ switch (var2 % 7) {
            case 0 -> 98;
            case 1 -> 85;
            case 2 -> 93;
            case 3 -> 104;
            case 4 -> 19;
            case 5 -> 114;
            default -> 33;
         });
      }

      return new String(var10001).intern();
   }
}
