final class com.sun.crypto.provider.PBEKey implements javax.crypto.SecretKey
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.PBEKey
super_class: java.lang.Object
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2234768909660948176
private byte[] key;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private java.lang.String type;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
void <init>(javax.crypto.spec.PBEKeySpec, java.lang.String, boolean);
descriptor: (Ljavax/crypto/spec/PBEKeySpec;Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=4, locals=6, 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 1
invokevirtual javax.crypto.spec.PBEKeySpec.getPassword:()[C
astore 4
start local 4 2: aload 4
ifnonnull 4
3: iconst_0
newarray 5
astore 4
4: StackMap locals: com.sun.crypto.provider.PBEKey javax.crypto.spec.PBEKeySpec java.lang.String int char[]
StackMap stack:
aload 4
arraylength
iconst_1
if_icmpne 5
aload 4
iconst_0
caload
ifeq 11
5: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 6: goto 10
7: StackMap locals: int
StackMap stack:
aload 4
iload 5
caload
bipush 32
if_icmplt 8
aload 4
iload 5
caload
bipush 126
if_icmple 9
8: StackMap locals:
StackMap stack:
new java.security.spec.InvalidKeySpecException
dup
ldc "Password is not ASCII"
invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
aload 4
arraylength
if_icmplt 7
end local 5 11: StackMap locals:
StackMap stack:
aload 0
aload 4
arraylength
newarray 8
putfield com.sun.crypto.provider.PBEKey.key:[B
12: iconst_0
istore 5
start local 5 13: goto 16
14: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
iload 5
aload 4
iload 5
caload
bipush 127
iand
i2b
bastore
15: iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
aload 4
arraylength
if_icmplt 14
end local 5 17: aload 4
iconst_0
invokestatic java.util.Arrays.fill:([CC)V
18: aload 0
aload 2
putfield com.sun.crypto.provider.PBEKey.type:Ljava/lang/String;
19: iload 3
ifeq 24
20: aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
astore 5
start local 5 21: invokestatic jdk.internal.ref.CleanerFactory.cleaner:()Ljava/lang/ref/Cleaner;
aload 0
22: aload 5
invokedynamic run([B)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
com/sun/crypto/provider/PBEKey.lambda$0([B)V (6)
()V
23: invokevirtual java.lang.ref.Cleaner.register:(Ljava/lang/Object;Ljava/lang/Runnable;)Ljava/lang/ref/Cleaner$Cleanable;
pop
end local 5 24: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/crypto/provider/PBEKey;
0 25 1 keySpec Ljavax/crypto/spec/PBEKeySpec;
0 25 2 keytype Ljava/lang/String;
0 25 3 useCleaner Z
2 25 4 passwd [C
6 11 5 i I
13 17 5 i I
21 24 5 k [B
Exceptions:
throws java.security.spec.InvalidKeySpecException
MethodParameters:
Name Flags
keySpec
keytype
useCleaner
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 1
start local 1 1: aload 0
invokestatic java.lang.ref.Reference.reachabilityFence:(Ljava/lang/Object;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/PBEKey;
1 3 1 result [B
public java.lang.String getAlgorithm();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.PBEKey.type:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/PBEKey;
public java.lang.String getFormat();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "RAW"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/PBEKey;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_1
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 1
aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
iload 2
baload
iload 2
imul
iadd
istore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
arraylength
if_icmplt 3
end local 2 6: iload 1
aload 0
invokevirtual com.sun.crypto.provider.PBEKey.getAlgorithm:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ixor
dup
istore 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/crypto/provider/PBEKey;
1 7 1 retval I
2 6 2 i I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.crypto.SecretKey
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.crypto.SecretKey
astore 2
start local 2 5: aload 2
invokeinterface javax.crypto.SecretKey.getAlgorithm:()Ljava/lang/String;
aload 0
getfield com.sun.crypto.provider.PBEKey.type:Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: javax.crypto.SecretKey
StackMap stack:
aload 2
invokeinterface javax.crypto.SecretKey.getEncoded:()[B
astore 3
start local 3 8: aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
aload 3
invokestatic java.security.MessageDigest.isEqual:([B[B)Z
istore 4
start local 4 9: aload 3
iconst_0
invokestatic java.util.Arrays.fill:([BB)V
10: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/crypto/provider/PBEKey;
0 11 1 obj Ljava/lang/Object;
5 11 2 that Ljavax/crypto/SecretKey;
8 11 3 thatEncoded [B
9 11 4 ret Z
MethodParameters:
Name Flags
obj
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
ifnull 3
1: aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
iconst_0
invokestatic java.util.Arrays.fill:([BB)V
2: aload 0
aconst_null
putfield com.sun.crypto.provider.PBEKey.key:[B
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/crypto/provider/PBEKey;
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield com.sun.crypto.provider.PBEKey.key:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/PBEKey;
0 3 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
private java.lang.Object writeReplace();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=1, args_size=1
start local 0 0: new java.security.KeyRep
dup
getstatic java.security.KeyRep$Type.SECRET:Ljava/security/KeyRep$Type;
1: aload 0
invokevirtual com.sun.crypto.provider.PBEKey.getAlgorithm:()Ljava/lang/String;
2: aload 0
invokevirtual com.sun.crypto.provider.PBEKey.getFormat:()Ljava/lang/String;
3: aload 0
invokevirtual com.sun.crypto.provider.PBEKey.getEncoded:()[B
4: invokespecial java.security.KeyRep.<init>:(Ljava/security/KeyRep$Type;Ljava/lang/String;Ljava/lang/String;[B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/crypto/provider/PBEKey;
Exceptions:
throws java.io.ObjectStreamException
private static void lambda$0(byte[]);
descriptor: ([B)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
iconst_0
invokestatic java.util.Arrays.fill:([BB)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "PBEKey.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Cleanable = java.lang.ref.Cleaner$Cleanable of java.lang.ref.Cleaner
public final Type = java.security.KeyRep$Type of java.security.KeyRep