public class javax.crypto.spec.PBEKeySpec implements java.security.spec.KeySpec
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.crypto.spec.PBEKeySpec
super_class: java.lang.Object
{
private char[] password;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private byte[] salt;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int iterationCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int keyLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(char[]);
descriptor: ([C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.crypto.spec.PBEKeySpec.salt:[B
2: aload 0
iconst_0
putfield javax.crypto.spec.PBEKeySpec.iterationCount:I
3: aload 0
iconst_0
putfield javax.crypto.spec.PBEKeySpec.keyLength:I
4: aload 1
ifnull 5
aload 1
arraylength
ifne 7
5: StackMap locals: javax.crypto.spec.PBEKeySpec char[]
StackMap stack:
aload 0
iconst_0
newarray 5
putfield javax.crypto.spec.PBEKeySpec.password:[C
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual char[].clone:()Ljava/lang/Object;
checkcast char[]
putfield javax.crypto.spec.PBEKeySpec.password:[C
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/crypto/spec/PBEKeySpec;
0 9 1 password [C
MethodParameters:
Name Flags
password
public void <init>(char[], byte[], int, int);
descriptor: ([C[BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.crypto.spec.PBEKeySpec.salt:[B
2: aload 0
iconst_0
putfield javax.crypto.spec.PBEKeySpec.iterationCount:I
3: aload 0
iconst_0
putfield javax.crypto.spec.PBEKeySpec.keyLength:I
4: aload 1
ifnull 5
aload 1
arraylength
ifne 7
5: StackMap locals: javax.crypto.spec.PBEKeySpec char[] byte[] int int
StackMap stack:
aload 0
iconst_0
newarray 5
putfield javax.crypto.spec.PBEKeySpec.password:[C
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual char[].clone:()Ljava/lang/Object;
checkcast char[]
putfield javax.crypto.spec.PBEKeySpec.password:[C
8: StackMap locals:
StackMap stack:
aload 2
ifnonnull 10
9: new java.lang.NullPointerException
dup
ldc "the salt parameter must be non-null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 2
arraylength
ifne 12
11: new java.lang.IllegalArgumentException
dup
ldc "the salt parameter must not be empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield javax.crypto.spec.PBEKeySpec.salt:[B
13: iload 3
ifgt 15
14: new java.lang.IllegalArgumentException
dup
ldc "invalid iterationCount value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
iload 4
ifgt 17
16: new java.lang.IllegalArgumentException
dup
ldc "invalid keyLength value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield javax.crypto.spec.PBEKeySpec.iterationCount:I
18: aload 0
iload 4
putfield javax.crypto.spec.PBEKeySpec.keyLength:I
19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/crypto/spec/PBEKeySpec;
0 20 1 password [C
0 20 2 salt [B
0 20 3 iterationCount I
0 20 4 keyLength I
MethodParameters:
Name Flags
password
salt
iterationCount
keyLength
public void <init>(char[], byte[], int);
descriptor: ([C[BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.crypto.spec.PBEKeySpec.salt:[B
2: aload 0
iconst_0
putfield javax.crypto.spec.PBEKeySpec.iterationCount:I
3: aload 0
iconst_0
putfield javax.crypto.spec.PBEKeySpec.keyLength:I
4: aload 1
ifnull 5
aload 1
arraylength
ifne 7
5: StackMap locals: javax.crypto.spec.PBEKeySpec char[] byte[] int
StackMap stack:
aload 0
iconst_0
newarray 5
putfield javax.crypto.spec.PBEKeySpec.password:[C
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual char[].clone:()Ljava/lang/Object;
checkcast char[]
putfield javax.crypto.spec.PBEKeySpec.password:[C
8: StackMap locals:
StackMap stack:
aload 2
ifnonnull 10
9: new java.lang.NullPointerException
dup
ldc "the salt parameter must be non-null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 2
arraylength
ifne 12
11: new java.lang.IllegalArgumentException
dup
ldc "the salt parameter must not be empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield javax.crypto.spec.PBEKeySpec.salt:[B
13: iload 3
ifgt 15
14: new java.lang.IllegalArgumentException
dup
ldc "invalid iterationCount value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield javax.crypto.spec.PBEKeySpec.iterationCount:I
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/crypto/spec/PBEKeySpec;
0 17 1 password [C
0 17 2 salt [B
0 17 3 iterationCount I
MethodParameters:
Name Flags
password
salt
iterationCount
public final void clearPassword();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.crypto.spec.PBEKeySpec.password:[C
ifnull 7
1: iconst_0
istore 1
start local 1 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield javax.crypto.spec.PBEKeySpec.password:[C
iload 1
bipush 32
castore
4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
getfield javax.crypto.spec.PBEKeySpec.password:[C
arraylength
if_icmplt 3
end local 1 6: aload 0
aconst_null
putfield javax.crypto.spec.PBEKeySpec.password:[C
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/crypto/spec/PBEKeySpec;
2 6 1 i I
public final char[] getPassword();
descriptor: ()[C
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.spec.PBEKeySpec.password:[C
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "password has been cleared"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.spec.PBEKeySpec.password:[C
invokevirtual char[].clone:()Ljava/lang/Object;
checkcast char[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/spec/PBEKeySpec;
public final byte[] getSalt();
descriptor: ()[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.spec.PBEKeySpec.salt:[B
ifnull 2
1: aload 0
getfield javax.crypto.spec.PBEKeySpec.salt:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/spec/PBEKeySpec;
public final int getIterationCount();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.spec.PBEKeySpec.iterationCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/spec/PBEKeySpec;
public final int getKeyLength();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.spec.PBEKeySpec.keyLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/spec/PBEKeySpec;
}
SourceFile: "PBEKeySpec.java"