package com.l7tech.server.policy.assertion.xmlsec;

import com.l7tech.message.Message;
import com.l7tech.policy.assertion.AssertionStatus;
import com.l7tech.policy.assertion.PolicyAssertionException;
import com.l7tech.policy.assertion.xmlsec.WssConfigurationAssertion;
import com.l7tech.security.xml.KeyInfoInclusionType;
import com.l7tech.security.xml.KeyReference;
import com.l7tech.security.xml.SignerInfo;
import com.l7tech.server.message.AuthenticationContext;
import com.l7tech.server.message.PolicyEnforcementContext;
import com.l7tech.server.policy.assertion.AbstractMessageTargetableServerAssertion;
import com.l7tech.server.policy.assertion.ServerAssertionUtils;
import java.io.IOException;
import java.security.KeyStoreException;
import org.springframework.beans.factory.BeanFactory;

public class ServerWssConfigurationAssertion extends AbstractMessageTargetableServerAssertion<WssConfigurationAssertion> {
   private final KeyInfoInclusionType d;
   private final KeyInfoInclusionType e;
   private final SignerInfo f;
   private static final String[] g;

   public ServerWssConfigurationAssertion(WssConfigurationAssertion var1, BeanFactory var2) throws PolicyAssertionException {
      super(var1);
      SignerInfo var3 = null;
      if (var2 != null) {
         try {
            var3 = ServerAssertionUtils.getSignerInfo(var2, var1);
         } catch (KeyStoreException var5) {
            throw new PolicyAssertionException(var1, var5.getMessage(), var5);
         }
      }

      ServerWssConfigurationAssertion var10000;
      KeyInfoInclusionType var10001;
      label35: {
         try {
            this.f = var3;
            var10000 = this;
            if (var1.getKeyReference() == null) {
               var10001 = null;
               break label35;
            }
         } catch (KeyStoreException var7) {
            throw a(var7);
         }

         var10001 = a(var1, var1.getKeyReference());
      }

      label28: {
         try {
            var10000.d = var10001;
            var10000 = this;
            if (var1.getEncryptionKeyReference() == null) {
               var10001 = null;
               break label28;
            }
         } catch (KeyStoreException var6) {
            throw a(var6);
         }

         var10001 = a(var1, var1.getEncryptionKeyReference());
      }

      var10000.e = var10001;
   }

   @Override
   protected AssertionStatus doCheckRequest(PolicyEnforcementContext param1, Message param2, String param3, AuthenticationContext param4) throws IOException, PolicyAssertionException {
      // $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 2
      // 001: invokevirtual com/l7tech/message/Message.getSecurityKnob ()Lcom/l7tech/message/SecurityKnob;
      // 004: aload 0
      // 005: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 008: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 00b: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getRecipientContext ()Lcom/l7tech/policy/assertion/xmlsec/XmlSecurityRecipientContext;
      // 00e: invokeinterface com/l7tech/message/SecurityKnob.getAlternateDecorationRequirements (Lcom/l7tech/policy/assertion/xmlsec/XmlSecurityRecipientContext;)Lcom/l7tech/security/xml/decorator/DecorationRequirements; 2
      // 013: astore 5
      // 015: aload 0
      // 016: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 019: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 01c: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getWssVersion ()Lcom/l7tech/security/xml/WsSecurityVersion;
      // 01f: ifnull 095
      // 022: aload 5
      // 024: aload 0
      // 025: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 028: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 02b: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getWssVersion ()Lcom/l7tech/security/xml/WsSecurityVersion;
      // 02e: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setWssVersion (Lcom/l7tech/security/xml/WsSecurityVersion;)V
      // 031: aload 0
      // 032: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 035: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 038: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getWssVersion ()Lcom/l7tech/security/xml/WsSecurityVersion;
      // 03b: getstatic com/l7tech/security/xml/WsSecurityVersion.WSS11 Lcom/l7tech/security/xml/WsSecurityVersion;
      // 03e: if_acmpne 050
      // 041: goto 048
      // 044: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 047: athrow
      // 048: bipush 1
      // 049: goto 051
      // 04c: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 04f: athrow
      // 050: bipush 0
      // 051: istore 6
      // 053: aload 2
      // 054: getstatic com/l7tech/message/MessageRole.REQUEST Lcom/l7tech/message/MessageRole;
      // 057: invokevirtual com/l7tech/message/Message.getRelated (Lcom/l7tech/message/MessageRole;)Lcom/l7tech/message/Message;
      // 05a: astore 7
      // 05c: aload 7
      // 05e: ifnull 07f
      // 061: iload 6
      // 063: ifne 07f
      // 066: goto 06d
      // 069: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 06c: athrow
      // 06d: aload 7
      // 06f: invokevirtual com/l7tech/message/Message.getSecurityKnob ()Lcom/l7tech/message/SecurityKnob;
      // 072: bipush 0
      // 073: invokeinterface com/l7tech/message/SecurityKnob.setNeedsSignatureConfirmations (Z)V 2
      // 078: goto 07f
      // 07b: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 07e: athrow
      // 07f: aload 0
      // 080: invokevirtual com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.isResponse ()Z
      // 083: ifeq 095
      // 086: aload 1
      // 087: iload 6
      // 089: invokeinterface com/l7tech/server/message/PolicyEnforcementContext.setResponseWss11 (Z)V 2
      // 08e: goto 095
      // 091: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 094: athrow
      // 095: aload 5
      // 097: aload 0
      // 098: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 09b: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 09e: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.isUseDerivedKeys ()Z
      // 0a1: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setUseDerivedKeys (Z)V
      // 0a4: aload 0
      // 0a5: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 0a8: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 0ab: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getSecureConversationNamespace ()Ljava/lang/String;
      // 0ae: ifnull 0ca
      // 0b1: aload 5
      // 0b3: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.getNamespaceFactory ()Lcom/l7tech/util/NamespaceFactory;
      // 0b6: aload 0
      // 0b7: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 0ba: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 0bd: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getSecureConversationNamespace ()Ljava/lang/String;
      // 0c0: invokevirtual com/l7tech/util/NamespaceFactory.setWsscNs (Ljava/lang/String;)V
      // 0c3: goto 0ca
      // 0c6: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 0c9: athrow
      // 0ca: aload 5
      // 0cc: aload 0
      // 0cd: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 0d0: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 0d3: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.isAddTimestamp ()Z
      // 0d6: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setIncludeTimestamp (Z)V
      // 0d9: aload 5
      // 0db: aload 0
      // 0dc: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 0df: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 0e2: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.isSignTimestamp ()Z
      // 0e5: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setSignTimestamp (Z)V
      // 0e8: aload 5
      // 0ea: aload 0
      // 0eb: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 0ee: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 0f1: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.isNeverSignTimestamp ()Z
      // 0f4: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setNeverSignTimestamp (Z)V
      // 0f7: aload 5
      // 0f9: aload 0
      // 0fa: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 0fd: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 100: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.isOmitTimestamp ()Z
      // 103: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setOmitTimestamp (Z)V
      // 106: aload 5
      // 108: aload 0
      // 109: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 10c: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 10f: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.isProtectTokens ()Z
      // 112: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setProtectTokens (Z)V
      // 115: aload 5
      // 117: aload 0
      // 118: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 11b: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 11e: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.isEncryptSignature ()Z
      // 121: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setEncryptSignature (Z)V
      // 124: aload 0
      // 125: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 128: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 12b: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.isSignWsAddressingHeaders ()Z
      // 12e: ifeq 140
      // 131: aload 5
      // 133: getstatic com/l7tech/security/xml/decorator/DecorationRequirements$WsaHeaderSigningStrategy.ALWAYS_SIGN_WSA_HEADERS Lcom/l7tech/security/xml/decorator/DecorationRequirements$WsaHeaderSigningStrategy;
      // 136: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setWsaHeaderSignStrategy (Lcom/l7tech/security/xml/decorator/DecorationRequirements$WsaHeaderSigningStrategy;)V
      // 139: goto 148
      // 13c: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 13f: athrow
      // 140: aload 5
      // 142: getstatic com/l7tech/security/xml/decorator/DecorationRequirements$WsaHeaderSigningStrategy.NEVER_SIGN_WSA_HEADERS Lcom/l7tech/security/xml/decorator/DecorationRequirements$WsaHeaderSigningStrategy;
      // 145: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setWsaHeaderSignStrategy (Lcom/l7tech/security/xml/decorator/DecorationRequirements$WsaHeaderSigningStrategy;)V
      // 148: aload 0
      // 149: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 14c: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 14f: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getEncryptionAlgorithmUri ()Ljava/lang/String;
      // 152: ifnull 16b
      // 155: aload 5
      // 157: aload 0
      // 158: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 15b: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 15e: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getEncryptionAlgorithmUri ()Ljava/lang/String;
      // 161: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setEncryptionAlgorithm (Ljava/lang/String;)V
      // 164: goto 16b
      // 167: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 16a: athrow
      // 16b: aload 0
      // 16c: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 16f: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 172: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getKeyWrappingAlgorithmUri ()Ljava/lang/String;
      // 175: ifnull 18e
      // 178: aload 5
      // 17a: aload 0
      // 17b: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 17e: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 181: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getKeyWrappingAlgorithmUri ()Ljava/lang/String;
      // 184: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setKeyEncryptionAlgorithm (Ljava/lang/String;)V
      // 187: goto 18e
      // 18a: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 18d: athrow
      // 18e: aload 0
      // 18f: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 192: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 195: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getDigestAlgorithmName ()Ljava/lang/String;
      // 198: ifnull 1b1
      // 19b: aload 5
      // 19d: aload 0
      // 19e: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 1a1: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 1a4: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getDigestAlgorithmName ()Ljava/lang/String;
      // 1a7: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setSignatureMessageDigest (Ljava/lang/String;)V
      // 1aa: goto 1b1
      // 1ad: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 1b0: athrow
      // 1b1: aload 0
      // 1b2: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 1b5: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 1b8: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getReferenceDigestAlgorithmName ()Ljava/lang/String;
      // 1bb: ifnull 1d4
      // 1be: aload 5
      // 1c0: aload 0
      // 1c1: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.assertion Lcom/l7tech/policy/assertion/Assertion;
      // 1c4: checkcast com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion
      // 1c7: invokevirtual com/l7tech/policy/assertion/xmlsec/WssConfigurationAssertion.getReferenceDigestAlgorithmName ()Ljava/lang/String;
      // 1ca: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setSignatureReferenceMessageDigest (Ljava/lang/String;)V
      // 1cd: goto 1d4
      // 1d0: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 1d3: athrow
      // 1d4: aload 0
      // 1d5: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.d Lcom/l7tech/security/xml/KeyInfoInclusionType;
      // 1d8: ifnull 1eb
      // 1db: aload 5
      // 1dd: aload 0
      // 1de: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.d Lcom/l7tech/security/xml/KeyInfoInclusionType;
      // 1e1: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setKeyInfoInclusionType (Lcom/l7tech/security/xml/KeyInfoInclusionType;)V
      // 1e4: goto 1eb
      // 1e7: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 1ea: athrow
      // 1eb: aload 0
      // 1ec: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.e Lcom/l7tech/security/xml/KeyInfoInclusionType;
      // 1ef: ifnull 202
      // 1f2: aload 5
      // 1f4: aload 0
      // 1f5: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.e Lcom/l7tech/security/xml/KeyInfoInclusionType;
      // 1f8: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setEncryptionKeyInfoInclusionType (Lcom/l7tech/security/xml/KeyInfoInclusionType;)V
      // 1fb: goto 202
      // 1fe: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 201: athrow
      // 202: aload 0
      // 203: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.f Lcom/l7tech/security/xml/SignerInfo;
      // 206: ifnull 24d
      // 209: aload 5
      // 20b: aload 0
      // 20c: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.f Lcom/l7tech/security/xml/SignerInfo;
      // 20f: invokevirtual com/l7tech/security/xml/SignerInfo.getCertificate ()Ljava/security/cert/X509Certificate;
      // 212: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setSenderMessageSigningCertificate (Ljava/security/cert/X509Certificate;)V
      // 215: aload 5
      // 217: aload 0
      // 218: getfield com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.f Lcom/l7tech/security/xml/SignerInfo;
      // 21b: invokevirtual com/l7tech/security/xml/SignerInfo.getPrivate ()Ljava/security/PrivateKey;
      // 21e: invokevirtual com/l7tech/security/xml/decorator/DecorationRequirements.setSenderMessageSigningPrivateKey (Ljava/security/PrivateKey;)V
      // 221: goto 24d
      // 224: invokestatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 227: athrow
      // 228: astore 6
      // 22a: aload 0
      // 22b: getstatic com/l7tech/gateway/common/audit/AssertionMessages.ASSERTION_MISCONFIGURED Lcom/l7tech/gateway/common/audit/Messages$M;
      // 22e: bipush 1
      // 22f: anewarray 193
      // 232: dup
      // 233: bipush 0
      // 234: aload 6
      // 236: invokestatic com/l7tech/util/ExceptionUtils.getMessage (Ljava/lang/Throwable;)Ljava/lang/String;
      // 239: getstatic com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.g [Ljava/lang/String;
      // 23c: bipush 1
      // 23d: aaload
      // 23e: swap
      // 23f: 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" ]
      // 244: aastore
      // 245: aload 6
      // 247: invokestatic com/l7tech/util/ExceptionUtils.getDebugException (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 24a: invokevirtual com/l7tech/server/policy/assertion/xmlsec/ServerWssConfigurationAssertion.logAndAudit (Lcom/l7tech/gateway/common/audit/AuditDetailMessage;[Ljava/lang/String;Ljava/lang/Throwable;)V
      // 24d: getstatic com/l7tech/policy/assertion/AssertionStatus.NONE Lcom/l7tech/policy/assertion/AssertionStatus;
      // 250: areturn
      // try (198 -> 205): 206 java/security/UnrecoverableKeyException
      // try (188 -> 195): 196 java/security/UnrecoverableKeyException
      // try (174 -> 185): 186 java/security/UnrecoverableKeyException
      // try (160 -> 171): 172 java/security/UnrecoverableKeyException
      // try (146 -> 157): 158 java/security/UnrecoverableKeyException
      // try (132 -> 143): 144 java/security/UnrecoverableKeyException
      // try (82 -> 127): 127 java/security/UnrecoverableKeyException
      // try (61 -> 79): 80 java/security/UnrecoverableKeyException
      // try (52 -> 58): 59 java/security/UnrecoverableKeyException
      // try (40 -> 49): 50 java/security/UnrecoverableKeyException
      // try (38 -> 42): 43 java/security/UnrecoverableKeyException
      // try (13 -> 30): 30 java/security/UnrecoverableKeyException
      // try (8 -> 25): 26 java/security/UnrecoverableKeyException
      // try (216 -> 221): 224 java/security/UnrecoverableKeyException
      // try (208 -> 222): 222 java/io/IOException
   }

   private static KeyInfoInclusionType a(WssConfigurationAssertion var0, String var1) throws PolicyAssertionException {
      try {
         if (KeyReference.BST.getName().equals(var1)) {
            return KeyInfoInclusionType.CERT;
         }
      } catch (PolicyAssertionException var4) {
         throw a(var4);
      }

      try {
         if (KeyReference.ISSUER_SERIAL.getName().equals(var1)) {
            return KeyInfoInclusionType.ISSUER_SERIAL;
         }
      } catch (PolicyAssertionException var7) {
         throw a(var7);
      }

      try {
         if (KeyReference.SKI.getName().equals(var1)) {
            return KeyInfoInclusionType.STR_SKI;
         }
      } catch (PolicyAssertionException var3) {
         throw a(var3);
      }

      try {
         if (KeyReference.KEY_NAME.getName().equals(var1)) {
            return KeyInfoInclusionType.KEY_NAME;
         }
      } catch (PolicyAssertionException var6) {
         throw a(var6);
      }

      try {
         if (KeyReference.THUMBPRINT_SHA1.getName().equals(var1)) {
            return KeyInfoInclusionType.STR_THUMBPRINT;
         }
      } catch (PolicyAssertionException var2) {
         throw a(var2);
      }

      try {
         if (KeyReference.STR_KEYID_X509_LITERAL.getName().equals(var1)) {
            return KeyInfoInclusionType.STR_KEYID_LITERAL_X509;
         }
      } catch (PolicyAssertionException var5) {
         throw a(var5);
      }

      throw new PolicyAssertionException(var0, g[0] + var1);
   }

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

   static {
      String[] var5 = new String[2];
      int var3 = 0;
      String var2 = "\u0011'{B[\u0014Qx\"hZ\u0017\u000fP>,\u007fFY\u001ePx=tSRG\u0015)\r'lA[\u0018\u0015,&-BT\u001eP+:-@X\u0013S1.xQR\u0019\u0015(;dUV\tPx\"hZ\r]";
      int var4 = "\u0011'{B[\u0014Qx\"hZ\u0017\u000fP>,\u007fFY\u001ePx=tSRG\u0015)\r'lA[\u0018\u0015,&-BT\u001eP+:-@X\u0013S1.xQR\u0019\u0015(;dUV\tPx\"hZ\r]"
         .length();
      char var1 = 28;
      int var0 = -1;

      while (true) {
         String var10002 = c(101, a(var2.substring(++var0, var0 + var1)));
         byte var10001 = -1;
         var5[var3++] = var10002;
         if ((var0 += var1) >= var4) {
            g = var5;
            return;
         }

         var1 = var2.charAt(var0);
      }
   }

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

      return var10000;
   }

   private static String c(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 -> 61;
            case 1 -> 44;
            case 2 -> 104;
            case 3 -> 70;
            case 4 -> 82;
            case 5 -> 24;
            default -> 80;
         });
      }

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