public class org.bouncycastle.asn1.cms.CMSAlgorithmProtection extends org.bouncycastle.asn1.ASN1Object
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.asn1.cms.CMSAlgorithmProtection
  super_class: org.bouncycastle.asn1.ASN1Object
{
  public static final int SIGNATURE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  public static final int MAC;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  private final org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithm;
    descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgorithm;
    descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.bouncycastle.asn1.x509.AlgorithmIdentifier macAlgorithm;
    descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(org.bouncycastle.asn1.x509.AlgorithmIdentifier, int, org.bouncycastle.asn1.x509.AlgorithmIdentifier);
    descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;ILorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
        start local 1 // org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithm
        start local 2 // int type
        start local 3 // org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier
         0: .line 37
            aload 0 /* this */
            invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
         1: .line 39
            aload 1 /* digestAlgorithm */
            ifnull 2
            aload 3 /* algorithmIdentifier */
            ifnonnull 3
         2: .line 41
      StackMap locals: org.bouncycastle.asn1.cms.CMSAlgorithmProtection org.bouncycastle.asn1.x509.AlgorithmIdentifier int org.bouncycastle.asn1.x509.AlgorithmIdentifier
      StackMap stack:
            new java.lang.NullPointerException
            dup
            ldc "AlgorithmIdentifiers cannot be null"
            invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 44
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* digestAlgorithm */
            putfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.digestAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
         4: .line 46
            iload 2 /* type */
            iconst_1
            if_icmpne 8
         5: .line 48
            aload 0 /* this */
            aload 3 /* algorithmIdentifier */
            putfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.signatureAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
         6: .line 49
            aload 0 /* this */
            aconst_null
            putfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.macAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
         7: .line 50
            goto 13
         8: .line 51
      StackMap locals:
      StackMap stack:
            iload 2 /* type */
            iconst_2
            if_icmpne 12
         9: .line 53
            aload 0 /* this */
            aconst_null
            putfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.signatureAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
        10: .line 54
            aload 0 /* this */
            aload 3 /* algorithmIdentifier */
            putfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.macAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
        11: .line 55
            goto 13
        12: .line 58
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unknown type: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* type */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 60
      StackMap locals:
      StackMap stack:
            return
        end local 3 // org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier
        end local 2 // int type
        end local 1 // org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithm
        end local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   14     0                 this  Lorg/bouncycastle/asn1/cms/CMSAlgorithmProtection;
            0   14     1      digestAlgorithm  Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            0   14     2                 type  I
            0   14     3  algorithmIdentifier  Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
    MethodParameters:
                     Name  Flags
      digestAlgorithm      
      type                 
      algorithmIdentifier  

  private void <init>(org.bouncycastle.asn1.ASN1Sequence);
    descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
        start local 1 // org.bouncycastle.asn1.ASN1Sequence sequence
         0: .line 62
            aload 0 /* this */
            invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
         1: .line 64
            aload 1 /* sequence */
            invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
            iconst_2
            if_icmpeq 3
         2: .line 66
            new java.lang.IllegalArgumentException
            dup
            ldc "Sequence wrong size: One of signatureAlgorithm or macAlgorithm must be present"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 69
      StackMap locals: org.bouncycastle.asn1.cms.CMSAlgorithmProtection org.bouncycastle.asn1.ASN1Sequence
      StackMap stack:
            aload 0 /* this */
            aload 1 /* sequence */
            iconst_0
            invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
            invokestatic org.bouncycastle.asn1.x509.AlgorithmIdentifier.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            putfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.digestAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
         4: .line 71
            aload 1 /* sequence */
            iconst_1
            invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
            invokestatic org.bouncycastle.asn1.ASN1TaggedObject.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1TaggedObject;
            astore 2 /* tagged */
        start local 2 // org.bouncycastle.asn1.ASN1TaggedObject tagged
         5: .line 72
            aload 2 /* tagged */
            invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
            iconst_1
            if_icmpne 9
         6: .line 74
            aload 0 /* this */
            aload 2 /* tagged */
            iconst_0
            invokestatic org.bouncycastle.asn1.x509.AlgorithmIdentifier.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            putfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.signatureAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
         7: .line 75
            aload 0 /* this */
            aconst_null
            putfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.macAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
         8: .line 76
            goto 14
         9: .line 77
      StackMap locals: org.bouncycastle.asn1.ASN1TaggedObject
      StackMap stack:
            aload 2 /* tagged */
            invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
            iconst_2
            if_icmpne 13
        10: .line 79
            aload 0 /* this */
            aconst_null
            putfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.signatureAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
        11: .line 81
            aload 0 /* this */
            aload 2 /* tagged */
            iconst_0
            invokestatic org.bouncycastle.asn1.x509.AlgorithmIdentifier.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            putfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.macAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
        12: .line 82
            goto 14
        13: .line 85
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unknown tag found: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* tagged */
            invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 87
      StackMap locals:
      StackMap stack:
            return
        end local 2 // org.bouncycastle.asn1.ASN1TaggedObject tagged
        end local 1 // org.bouncycastle.asn1.ASN1Sequence sequence
        end local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   15     0      this  Lorg/bouncycastle/asn1/cms/CMSAlgorithmProtection;
            0   15     1  sequence  Lorg/bouncycastle/asn1/ASN1Sequence;
            5   15     2    tagged  Lorg/bouncycastle/asn1/ASN1TaggedObject;
    MethodParameters:
          Name  Flags
      sequence  

  public static org.bouncycastle.asn1.cms.CMSAlgorithmProtection getInstance(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/cms/CMSAlgorithmProtection;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 92
            aload 0 /* obj */
            instanceof org.bouncycastle.asn1.cms.CMSAlgorithmProtection
            ifeq 2
         1: .line 94
            aload 0 /* obj */
            checkcast org.bouncycastle.asn1.cms.CMSAlgorithmProtection
            areturn
         2: .line 96
      StackMap locals:
      StackMap stack:
            aload 0 /* obj */
            ifnull 4
         3: .line 98
            new org.bouncycastle.asn1.cms.CMSAlgorithmProtection
            dup
            aload 0 /* obj */
            invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
            invokespecial org.bouncycastle.asn1.cms.CMSAlgorithmProtection.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
            areturn
         4: .line 101
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0   obj  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      obj   

  public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithm();
    descriptor: ()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
         0: .line 107
            aload 0 /* this */
            getfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.digestAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            areturn
        end local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/asn1/cms/CMSAlgorithmProtection;

  public org.bouncycastle.asn1.x509.AlgorithmIdentifier getMacAlgorithm();
    descriptor: ()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
         0: .line 112
            aload 0 /* this */
            getfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.macAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            areturn
        end local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/asn1/cms/CMSAlgorithmProtection;

  public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignatureAlgorithm();
    descriptor: ()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
         0: .line 117
            aload 0 /* this */
            getfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.signatureAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            areturn
        end local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/asn1/cms/CMSAlgorithmProtection;

  public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive();
    descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=2, args_size=1
        start local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
         0: .line 122
            new org.bouncycastle.asn1.ASN1EncodableVector
            dup
            invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
            astore 1 /* v */
        start local 1 // org.bouncycastle.asn1.ASN1EncodableVector v
         1: .line 124
            aload 1 /* v */
            aload 0 /* this */
            getfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.digestAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
         2: .line 125
            aload 0 /* this */
            getfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.signatureAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            ifnull 4
         3: .line 127
            aload 1 /* v */
            new org.bouncycastle.asn1.DERTaggedObject
            dup
            iconst_0
            iconst_1
            aload 0 /* this */
            getfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.signatureAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/ASN1Encodable;)V
            invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
         4: .line 129
      StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector
      StackMap stack:
            aload 0 /* this */
            getfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.macAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            ifnull 6
         5: .line 131
            aload 1 /* v */
            new org.bouncycastle.asn1.DERTaggedObject
            dup
            iconst_0
            iconst_2
            aload 0 /* this */
            getfield org.bouncycastle.asn1.cms.CMSAlgorithmProtection.macAlgorithm:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/ASN1Encodable;)V
            invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
         6: .line 134
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERSequence
            dup
            aload 1 /* v */
            invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
            areturn
        end local 1 // org.bouncycastle.asn1.ASN1EncodableVector v
        end local 0 // org.bouncycastle.asn1.cms.CMSAlgorithmProtection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/bouncycastle/asn1/cms/CMSAlgorithmProtection;
            1    7     1     v  Lorg/bouncycastle/asn1/ASN1EncodableVector;
}
SourceFile: "CMSAlgorithmProtection.java"