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);
descriptor: (Ljavax/crypto/spec/PBEKeySpec;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual javax.crypto.spec.PBEKeySpec.getPassword:()[C
astore 3
start local 3 2: aload 3
ifnonnull 4
3: iconst_0
newarray 5
astore 3
4: StackMap locals: com.sun.crypto.provider.PBEKey javax.crypto.spec.PBEKeySpec java.lang.String char[]
StackMap stack:
aload 3
arraylength
iconst_1
if_icmpne 5
aload 3
iconst_0
caload
ifeq 11
5: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 6: goto 10
7: StackMap locals: int
StackMap stack:
aload 3
iload 4
caload
bipush 32
if_icmplt 8
aload 3
iload 4
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 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 3
arraylength
if_icmplt 7
end local 4 11: StackMap locals:
StackMap stack:
aload 0
aload 3
arraylength
newarray 8
putfield com.sun.crypto.provider.PBEKey.key:[B
12: iconst_0
istore 4
start local 4 13: goto 16
14: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
iload 4
aload 3
iload 4
caload
bipush 127
iand
i2b
bastore
15: iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
aload 3
arraylength
if_icmplt 14
end local 4 17: aload 3
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: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/crypto/provider/PBEKey;
0 20 1 keySpec Ljavax/crypto/spec/PBEKeySpec;
0 20 2 keytype Ljava/lang/String;
2 20 3 passwd [C
6 11 4 i I
13 17 4 i I
Exceptions:
throws java.security.spec.InvalidKeySpecException
MethodParameters:
Name Flags
keySpec
keytype
public synchronized byte[] getEncoded();
descriptor: ()[B
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, 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[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/PBEKey;
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
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
ifnull 4
2: aload 0
getfield com.sun.crypto.provider.PBEKey.key:[B
iconst_0
invokestatic java.util.Arrays.fill:([BB)V
3: aload 0
aconst_null
putfield com.sun.crypto.provider.PBEKey.key:[B
4: StackMap locals: com.sun.crypto.provider.PBEKey
StackMap stack:
aload 1
monitorexit
5: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals: com.sun.crypto.provider.PBEKey
StackMap stack: java.lang.Throwable
astore 2
9: aload 0
invokespecial java.lang.Object.finalize:()V
10: aload 2
athrow
11: StackMap locals:
StackMap stack:
aload 0
invokespecial java.lang.Object.finalize:()V
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/crypto/provider/PBEKey;
Exception table:
from to target type
1 5 6 any
6 7 6 any
0 8 8 any
Exceptions:
throws java.lang.Throwable
}
SourceFile: "PBEKey.java"
InnerClasses:
public final Type = java.security.KeyRep$Type of java.security.KeyRep