public class org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator extends org.bouncycastle.crypto.PBEParametersGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator
super_class: org.bouncycastle.crypto.PBEParametersGenerator
{
private org.bouncycastle.crypto.Digest digest;
descriptor: Lorg/bouncycastle/crypto/Digest;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.bouncycastle.crypto.PBEParametersGenerator.<init>:()V
1: aload 0
invokestatic org.bouncycastle.crypto.util.DigestFactory.createMD5:()Lorg/bouncycastle/crypto/Digest;
putfield org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/crypto/generators/OpenSSLPBEParametersGenerator;
public void init(byte[], byte[]);
descriptor: ([B[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokespecial org.bouncycastle.crypto.PBEParametersGenerator.init:([B[BI)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/generators/OpenSSLPBEParametersGenerator;
0 2 1 password [B
0 2 2 salt [B
MethodParameters:
Name Flags
password
salt
private byte[] generateDerivedKey(int);
descriptor: (I)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.getDigestSize:()I
newarray 8
astore 2
start local 2 1: iload 1
newarray 8
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: StackMap locals: byte[] byte[] int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.password:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.password:[B
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
4: aload 0
getfield org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.salt:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.salt:[B
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
5: aload 0
getfield org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
aload 2
iconst_0
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
pop
6: iload 1
aload 2
arraylength
if_icmple 7
aload 2
arraylength
goto 8
StackMap locals:
StackMap stack:
7: iload 1
StackMap locals:
StackMap stack: int
8: istore 5
start local 5 9: aload 2
iconst_0
aload 3
iload 4
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: iload 4
iload 5
iadd
istore 4
11: iload 1
iload 5
isub
istore 1
12: iload 1
ifne 14
13: goto 17
14: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.reset:()V
15: aload 0
getfield org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
aload 2
iconst_0
aload 2
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
end local 5 16: goto 3
17: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/bouncycastle/crypto/generators/OpenSSLPBEParametersGenerator;
0 18 1 bytesNeeded I
1 18 2 buf [B
2 18 3 key [B
3 18 4 offset I
9 16 5 len I
MethodParameters:
Name Flags
bytesNeeded
public org.bouncycastle.crypto.CipherParameters generateDerivedParameters(int);
descriptor: (I)Lorg/bouncycastle/crypto/CipherParameters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
bipush 8
idiv
istore 1
1: aload 0
iload 1
invokevirtual org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.generateDerivedKey:(I)[B
astore 2
start local 2 2: new org.bouncycastle.crypto.params.KeyParameter
dup
aload 2
iconst_0
iload 1
invokespecial org.bouncycastle.crypto.params.KeyParameter.<init>:([BII)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/crypto/generators/OpenSSLPBEParametersGenerator;
0 3 1 keySize I
2 3 2 dKey [B
MethodParameters:
Name Flags
keySize
public org.bouncycastle.crypto.CipherParameters generateDerivedParameters(int, int);
descriptor: (II)Lorg/bouncycastle/crypto/CipherParameters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
bipush 8
idiv
istore 1
1: iload 2
bipush 8
idiv
istore 2
2: aload 0
iload 1
iload 2
iadd
invokevirtual org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.generateDerivedKey:(I)[B
astore 3
start local 3 3: new org.bouncycastle.crypto.params.ParametersWithIV
dup
new org.bouncycastle.crypto.params.KeyParameter
dup
aload 3
iconst_0
iload 1
invokespecial org.bouncycastle.crypto.params.KeyParameter.<init>:([BII)V
aload 3
iload 1
iload 2
invokespecial org.bouncycastle.crypto.params.ParametersWithIV.<init>:(Lorg/bouncycastle/crypto/CipherParameters;[BII)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/generators/OpenSSLPBEParametersGenerator;
0 4 1 keySize I
0 4 2 ivSize I
3 4 3 dKey [B
MethodParameters:
Name Flags
keySize
ivSize
public org.bouncycastle.crypto.CipherParameters generateDerivedMacParameters(int);
descriptor: (I)Lorg/bouncycastle/crypto/CipherParameters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator.generateDerivedParameters:(I)Lorg/bouncycastle/crypto/CipherParameters;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/generators/OpenSSLPBEParametersGenerator;
0 1 1 keySize I
MethodParameters:
Name Flags
keySize
}
SourceFile: "OpenSSLPBEParametersGenerator.java"