public class org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator extends org.bouncycastle.crypto.PBEParametersGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator
super_class: org.bouncycastle.crypto.PBEParametersGenerator
{
private org.bouncycastle.crypto.Digest digest;
descriptor: Lorg/bouncycastle/crypto/Digest;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.crypto.Digest);
descriptor: (Lorg/bouncycastle/crypto/Digest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.crypto.PBEParametersGenerator.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/crypto/generators/PKCS5S1ParametersGenerator;
0 3 1 digest Lorg/bouncycastle/crypto/Digest;
MethodParameters:
Name Flags
digest
private byte[] generateDerivedKey();
descriptor: ()[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.getDigestSize:()I
newarray 8
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.password:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.password:[B
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
2: aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.salt:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.salt:[B
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
3: aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
aload 1
iconst_0
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
pop
4: iconst_1
istore 2
start local 2 5: goto 9
6: StackMap locals: byte[] int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
aload 1
iconst_0
aload 1
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
7: aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
aload 1
iconst_0
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
pop
8: iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.iterationCount:I
if_icmplt 6
end local 2 10: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/crypto/generators/PKCS5S1ParametersGenerator;
1 11 1 digestBytes [B
5 10 2 i I
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: iload 1
aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.getDigestSize:()I
if_icmple 5
2: new java.lang.IllegalArgumentException
dup
3: new java.lang.StringBuilder
dup
ldc "Can't generate a derived key "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes long."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.generateDerivedKey:()[B
astore 2
start local 2 6: 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 7 0 this Lorg/bouncycastle/crypto/generators/PKCS5S1ParametersGenerator;
0 7 1 keySize I
6 7 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: iload 1
iload 2
iadd
aload 0
getfield org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.getDigestSize:()I
if_icmple 6
3: new java.lang.IllegalArgumentException
dup
4: new java.lang.StringBuilder
dup
ldc "Can't generate a derived key "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
iload 2
iadd
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes long."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator.generateDerivedKey:()[B
astore 3
start local 3 7: 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 8 0 this Lorg/bouncycastle/crypto/generators/PKCS5S1ParametersGenerator;
0 8 1 keySize I
0 8 2 ivSize I
7 8 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.PKCS5S1ParametersGenerator.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/PKCS5S1ParametersGenerator;
0 1 1 keySize I
MethodParameters:
Name Flags
keySize
}
SourceFile: "PKCS5S1ParametersGenerator.java"