class org.bouncycastle.mime.smime.SMimeUtils
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.bouncycastle.mime.smime.SMimeUtils
  super_class: java.lang.Object
{
  private static final java.util.Map RFC5751_MICALGS;
    descriptor: Ljava/util/Map;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.Map RFC3851_MICALGS;
    descriptor: Ljava/util/Map;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.Map STANDARD_MICALGS;
    descriptor: Ljava/util/Map;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.Map forMic;
    descriptor: Ljava/util/Map;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final byte[] nl;
    descriptor: [B
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=5, args_size=0
         0: .line 24
            iconst_2
            newarray 8
            putstatic org.bouncycastle.mime.smime.SMimeUtils.nl:[B
         1: .line 29
            getstatic org.bouncycastle.mime.smime.SMimeUtils.nl:[B
            iconst_0
            bipush 13
            bastore
         2: .line 30
            getstatic org.bouncycastle.mime.smime.SMimeUtils.nl:[B
            iconst_1
            bipush 10
            bastore
         3: .line 33
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 0 /* stdMicAlgs */
        start local 0 // java.util.Map stdMicAlgs
         4: .line 35
            aload 0 /* stdMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.MD5:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "md5"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         5: .line 36
            aload 0 /* stdMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.SHA1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "sha-1"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 37
            aload 0 /* stdMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.SHA224:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "sha-224"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 38
            aload 0 /* stdMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.SHA256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "sha-256"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 39
            aload 0 /* stdMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.SHA384:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "sha-384"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         9: .line 40
            aload 0 /* stdMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.SHA512:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "sha-512"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        10: .line 41
            aload 0 /* stdMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.GOST3411:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "gostr3411-94"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        11: .line 42
            aload 0 /* stdMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.GOST3411_2012_256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "gostr3411-2012-256"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        12: .line 43
            aload 0 /* stdMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.GOST3411_2012_512:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "gostr3411-2012-512"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        13: .line 45
            aload 0 /* stdMicAlgs */
            invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
            putstatic org.bouncycastle.mime.smime.SMimeUtils.RFC5751_MICALGS:Ljava/util/Map;
        14: .line 47
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 1 /* oldMicAlgs */
        start local 1 // java.util.Map oldMicAlgs
        15: .line 49
            aload 1 /* oldMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.MD5:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "md5"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        16: .line 50
            aload 1 /* oldMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.SHA1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "sha1"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        17: .line 51
            aload 1 /* oldMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.SHA224:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "sha224"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        18: .line 52
            aload 1 /* oldMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.SHA256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "sha256"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        19: .line 53
            aload 1 /* oldMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.SHA384:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "sha384"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        20: .line 54
            aload 1 /* oldMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.SHA512:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "sha512"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        21: .line 55
            aload 1 /* oldMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.GOST3411:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "gostr3411-94"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        22: .line 56
            aload 1 /* oldMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.GOST3411_2012_256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "gostr3411-2012-256"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        23: .line 57
            aload 1 /* oldMicAlgs */
            getstatic org.bouncycastle.cms.CMSAlgorithm.GOST3411_2012_512:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ldc "gostr3411-2012-512"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        24: .line 60
            aload 1 /* oldMicAlgs */
            invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
            putstatic org.bouncycastle.mime.smime.SMimeUtils.RFC3851_MICALGS:Ljava/util/Map;
        25: .line 62
            getstatic org.bouncycastle.mime.smime.SMimeUtils.RFC5751_MICALGS:Ljava/util/Map;
            putstatic org.bouncycastle.mime.smime.SMimeUtils.STANDARD_MICALGS:Ljava/util/Map;
        26: .line 65
            new java.util.TreeMap
            dup
            getstatic java.lang.String.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
            invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
            astore 2 /* mic */
        start local 2 // java.util.Map mic
        27: .line 67
            getstatic org.bouncycastle.mime.smime.SMimeUtils.STANDARD_MICALGS:Ljava/util/Map;
            invokeinterface java.util.Map.keySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3 /* it */
        start local 3 // java.util.Iterator it
        28: goto 31
        29: .line 69
      StackMap locals: java.util.Map java.util.Map java.util.Map java.util.Iterator
      StackMap stack:
            aload 3 /* it */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 4 /* key */
        start local 4 // java.lang.Object key
        30: .line 70
            aload 2 /* mic */
            getstatic org.bouncycastle.mime.smime.SMimeUtils.STANDARD_MICALGS:Ljava/util/Map;
            aload 4 /* key */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            aload 4 /* key */
            checkcast org.bouncycastle.asn1.ASN1ObjectIdentifier
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 4 // java.lang.Object key
        31: .line 67
      StackMap locals:
      StackMap stack:
            aload 3 /* it */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 29
        end local 3 // java.util.Iterator it
        32: .line 73
            getstatic org.bouncycastle.mime.smime.SMimeUtils.RFC3851_MICALGS:Ljava/util/Map;
            invokeinterface java.util.Map.keySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3 /* it */
        start local 3 // java.util.Iterator it
        33: goto 36
        34: .line 75
      StackMap locals:
      StackMap stack:
            aload 3 /* it */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 4 /* key */
        start local 4 // java.lang.Object key
        35: .line 76
            aload 2 /* mic */
            getstatic org.bouncycastle.mime.smime.SMimeUtils.RFC3851_MICALGS:Ljava/util/Map;
            aload 4 /* key */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            aload 4 /* key */
            checkcast org.bouncycastle.asn1.ASN1ObjectIdentifier
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 4 // java.lang.Object key
        36: .line 73
      StackMap locals:
      StackMap stack:
            aload 3 /* it */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 34
        end local 3 // java.util.Iterator it
        37: .line 79
            aload 2 /* mic */
            invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
            putstatic org.bouncycastle.mime.smime.SMimeUtils.forMic:Ljava/util/Map;
        end local 2 // java.util.Map mic
        end local 1 // java.util.Map oldMicAlgs
        end local 0 // java.util.Map stdMicAlgs
        38: .line 81
            return
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            4   38     0  stdMicAlgs  Ljava/util/Map;
           15   38     1  oldMicAlgs  Ljava/util/Map;
           27   38     2         mic  Ljava/util/Map<Ljava/lang/String;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;>;
           28   32     3          it  Ljava/util/Iterator;
           30   31     4         key  Ljava/lang/Object;
           33   37     3          it  Ljava/util/Iterator;
           35   36     4         key  Ljava/lang/Object;

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.mime.smime.SMimeUtils this
         0: .line 17
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bouncycastle.mime.smime.SMimeUtils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/mime/smime/SMimeUtils;

  static java.lang.String lessQuotes(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.lang.String in
         0: .line 85
            aload 0 /* in */
            ifnull 1
            aload 0 /* in */
            invokevirtual java.lang.String.length:()I
            iconst_1
            if_icmpgt 2
         1: .line 87
      StackMap locals:
      StackMap stack:
            aload 0 /* in */
            areturn
         2: .line 90
      StackMap locals:
      StackMap stack:
            aload 0 /* in */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 34
            if_icmpne 4
            aload 0 /* in */
            aload 0 /* in */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            invokevirtual java.lang.String.charAt:(I)C
            bipush 34
            if_icmpne 4
         3: .line 92
            aload 0 /* in */
            iconst_1
            aload 0 /* in */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            areturn
         4: .line 95
      StackMap locals:
      StackMap stack:
            aload 0 /* in */
            areturn
        end local 0 // java.lang.String in
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0    in  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      in    

  static java.lang.String getParameter(java.lang.String, java.util.List<java.lang.String>);
    descriptor: (Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // java.lang.String startsWith
        start local 1 // java.util.List parameters
         0: .line 100
            aload 1 /* parameters */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 2 /* paramIt */
        start local 2 // java.util.Iterator paramIt
         1: goto 5
         2: .line 102
      StackMap locals: java.util.Iterator
      StackMap stack:
            aload 2 /* paramIt */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 3 /* param */
        start local 3 // java.lang.String param
         3: .line 103
            aload 3 /* param */
            aload 0 /* startsWith */
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 5
         4: .line 105
            aload 3 /* param */
            areturn
        end local 3 // java.lang.String param
         5: .line 100
      StackMap locals:
      StackMap stack:
            aload 2 /* paramIt */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        end local 2 // java.util.Iterator paramIt
         6: .line 109
            aconst_null
            areturn
        end local 1 // java.util.List parameters
        end local 0 // java.lang.String startsWith
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0  startsWith  Ljava/lang/String;
            0    7     1  parameters  Ljava/util/List<Ljava/lang/String;>;
            1    6     2     paramIt  Ljava/util/Iterator<Ljava/lang/String;>;
            3    5     3       param  Ljava/lang/String;
    Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)Ljava/lang/String;
    MethodParameters:
            Name  Flags
      startsWith  
      parameters  

  static org.bouncycastle.asn1.ASN1ObjectIdentifier getDigestOID(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // java.lang.String alg
         0: .line 114
            getstatic org.bouncycastle.mime.smime.SMimeUtils.forMic:Ljava/util/Map;
            aload 0 /* alg */
            invokestatic org.bouncycastle.util.Strings.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.bouncycastle.asn1.ASN1ObjectIdentifier
            astore 1 /* oid */
        start local 1 // org.bouncycastle.asn1.ASN1ObjectIdentifier oid
         1: .line 116
            aload 1 /* oid */
            ifnonnull 3
         2: .line 118
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "unknown micalg passed: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* alg */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 121
      StackMap locals: org.bouncycastle.asn1.ASN1ObjectIdentifier
      StackMap stack:
            aload 1 /* oid */
            areturn
        end local 1 // org.bouncycastle.asn1.ASN1ObjectIdentifier oid
        end local 0 // java.lang.String alg
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0   alg  Ljava/lang/String;
            1    4     1   oid  Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
    MethodParameters:
      Name  Flags
      alg   

  static java.io.OutputStream createUnclosable(java.io.OutputStream);
    descriptor: (Ljava/io/OutputStream;)Ljava/io/OutputStream;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.io.OutputStream destination
         0: .line 126
            new org.bouncycastle.mime.smime.SMimeUtils$1
            dup
            aload 0 /* destination */
            invokespecial org.bouncycastle.mime.smime.SMimeUtils$1.<init>:(Ljava/io/OutputStream;)V
            areturn
        end local 0 // java.io.OutputStream destination
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    1     0  destination  Ljava/io/OutputStream;
    MethodParameters:
             Name  Flags
      destination  
}
SourceFile: "SMimeUtils.java"
NestMembers:
  org.bouncycastle.mime.smime.SMimeUtils$1
InnerClasses:
  org.bouncycastle.mime.smime.SMimeUtils$1