public class org.bouncycastle.crypto.paddings.ISO10126d2Padding 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.ISO10126d2Padding
super_class: java.lang.Object
{
java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/paddings/ISO10126d2Padding;
public void init(java.security.SecureRandom);
descriptor: (Ljava/security/SecureRandom;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
1: aload 0
aload 1
putfield org.bouncycastle.crypto.paddings.ISO10126d2Padding.random:Ljava/security/SecureRandom;
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
putfield org.bouncycastle.crypto.paddings.ISO10126d2Padding.random:Ljava/security/SecureRandom;
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/crypto/paddings/ISO10126d2Padding;
0 5 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 0: ldc "ISO10126-2"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/paddings/ISO10126d2Padding;
public int addPadding(byte[], int);
descriptor: ([BI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
arraylength
iload 2
isub
i2b
istore 3
start local 3 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
getfield org.bouncycastle.crypto.paddings.ISO10126d2Padding.random:Ljava/security/SecureRandom;
invokevirtual java.security.SecureRandom.nextInt:()I
i2b
bastore
3: iinc 2 1
4: StackMap locals:
StackMap stack:
iload 2
aload 1
arraylength
iconst_1
isub
if_icmplt 2
5: aload 1
iload 2
iload 3
bastore
6: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/crypto/paddings/ISO10126d2Padding;
0 7 1 in [B
0 7 2 inOff I
1 7 3 code B
MethodParameters:
Name Flags
in
inOff
public int padCount(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 1
arraylength
iconst_1
isub
baload
sipush 255
iand
istore 2
start local 2 1: iload 2
aload 1
arraylength
if_icmple 3
2: new org.bouncycastle.crypto.InvalidCipherTextException
dup
ldc "pad block corrupted"
invokespecial org.bouncycastle.crypto.InvalidCipherTextException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/paddings/ISO10126d2Padding;
0 4 1 in [B
1 4 2 count I
Exceptions:
throws org.bouncycastle.crypto.InvalidCipherTextException
MethodParameters:
Name Flags
in
}
SourceFile: "ISO10126d2Padding.java"