public class org.bouncycastle.crypto.paddings.PKCS7Padding implements org.bouncycastle.crypto.paddings.BlockCipherPadding
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.crypto.paddings.PKCS7Padding
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.crypto.paddings.PKCS7Padding this
         0: .line 10
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bouncycastle.crypto.paddings.PKCS7Padding this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/crypto/paddings/PKCS7Padding;

  public void init(java.security.SecureRandom);
    descriptor: (Ljava/security/SecureRandom;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // org.bouncycastle.crypto.paddings.PKCS7Padding this
        start local 1 // java.security.SecureRandom random
         0: .line 22
            return
        end local 1 // java.security.SecureRandom random
        end local 0 // org.bouncycastle.crypto.paddings.PKCS7Padding this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lorg/bouncycastle/crypto/paddings/PKCS7Padding;
            0    1     1  random  Ljava/security/SecureRandom;
    Exceptions:
      throws java.lang.IllegalArgumentException
    MethodParameters:
        Name  Flags
      random  

  public java.lang.String getPaddingName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.crypto.paddings.PKCS7Padding this
         0: .line 31
            ldc "PKCS7"
            areturn
        end local 0 // org.bouncycastle.crypto.paddings.PKCS7Padding this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/crypto/paddings/PKCS7Padding;

  public int addPadding(byte[], int);
    descriptor: ([BI)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // org.bouncycastle.crypto.paddings.PKCS7Padding this
        start local 1 // byte[] in
        start local 2 // int inOff
         0: .line 42
            aload 1 /* in */
            arraylength
            iload 2 /* inOff */
            isub
            i2b
            istore 3 /* code */
        start local 3 // byte code
         1: .line 44
            goto 4
         2: .line 46
      StackMap locals: int
      StackMap stack:
            aload 1 /* in */
            iload 2 /* inOff */
            iload 3 /* code */
            bastore
         3: .line 47
            iinc 2 /* inOff */ 1
         4: .line 44
      StackMap locals:
      StackMap stack:
            iload 2 /* inOff */
            aload 1 /* in */
            arraylength
            if_icmplt 2
         5: .line 50
            iload 3 /* code */
            ireturn
        end local 3 // byte code
        end local 2 // int inOff
        end local 1 // byte[] in
        end local 0 // org.bouncycastle.crypto.paddings.PKCS7Padding this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Lorg/bouncycastle/crypto/paddings/PKCS7Padding;
            0    6     1     in  [B
            0    6     2  inOff  I
            1    6     3   code  B
    MethodParameters:
       Name  Flags
      in     
      inOff  

  public int padCount(byte[]);
    descriptor: ([B)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // org.bouncycastle.crypto.paddings.PKCS7Padding this
        start local 1 // byte[] in
         0: .line 59
            aload 1 /* in */
            aload 1 /* in */
            arraylength
            iconst_1
            isub
            baload
            sipush 255
            iand
            istore 2 /* count */
        start local 2 // int count
         1: .line 60
            iload 2 /* count */
            i2b
            istore 3 /* countAsbyte */
        start local 3 // byte countAsbyte
         2: .line 63
            iload 2 /* count */
            aload 1 /* in */
            arraylength
            if_icmple 3
            iconst_1
            goto 4
      StackMap locals: int int
      StackMap stack:
         3: iconst_0
      StackMap locals:
      StackMap stack: int
         4: iload 2 /* count */
            ifne 5
            iconst_1
            goto 6
      StackMap locals:
      StackMap stack: int
         5: iconst_0
      StackMap locals: org.bouncycastle.crypto.paddings.PKCS7Padding byte[] int int
      StackMap stack: int int
         6: ior
            istore 4 /* failed */
        start local 4 // boolean failed
         7: .line 65
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         8: goto 15
         9: .line 67
      StackMap locals: int int
      StackMap stack:
            iload 4 /* failed */
            aload 1 /* in */
            arraylength
            iload 5 /* i */
            isub
            iload 2 /* count */
            if_icmpgt 10
            iconst_1
            goto 11
      StackMap locals:
      StackMap stack: int
        10: iconst_0
      StackMap locals: org.bouncycastle.crypto.paddings.PKCS7Padding byte[] int int int int
      StackMap stack: int int
        11: aload 1 /* in */
            iload 5 /* i */
            baload
            iload 3 /* countAsbyte */
            if_icmpeq 12
            iconst_1
            goto 13
      StackMap locals: org.bouncycastle.crypto.paddings.PKCS7Padding byte[] int int int int
      StackMap stack: int int
        12: iconst_0
      StackMap locals: org.bouncycastle.crypto.paddings.PKCS7Padding byte[] int int int int
      StackMap stack: int int int
        13: iand
            ior
            istore 4 /* failed */
        14: .line 65
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        15: iload 5 /* i */
            aload 1 /* in */
            arraylength
            if_icmplt 9
        end local 5 // int i
        16: .line 70
            iload 4 /* failed */
            ifeq 18
        17: .line 72
            new org.bouncycastle.crypto.InvalidCipherTextException
            dup
            ldc "pad block corrupted"
            invokespecial org.bouncycastle.crypto.InvalidCipherTextException.<init>:(Ljava/lang/String;)V
            athrow
        18: .line 75
      StackMap locals:
      StackMap stack:
            iload 2 /* count */
            ireturn
        end local 4 // boolean failed
        end local 3 // byte countAsbyte
        end local 2 // int count
        end local 1 // byte[] in
        end local 0 // org.bouncycastle.crypto.paddings.PKCS7Padding this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   19     0         this  Lorg/bouncycastle/crypto/paddings/PKCS7Padding;
            0   19     1           in  [B
            1   19     2        count  I
            2   19     3  countAsbyte  B
            7   19     4       failed  Z
            8   16     5            i  I
    Exceptions:
      throws org.bouncycastle.crypto.InvalidCipherTextException
    MethodParameters:
      Name  Flags
      in    
}
SourceFile: "PKCS7Padding.java"