final class com.sun.crypto.provider.DESKey implements javax.crypto.SecretKey
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.DESKey
super_class: java.lang.Object
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 7724971015953279128
private byte[] key;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
void <init>(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial com.sun.crypto.provider.DESKey.<init>:([BI)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/DESKey;
0 2 1 key [B
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
void <init>(byte[], int);
descriptor: ([BI)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnull 2
aload 1
arraylength
iload 2
isub
bipush 8
if_icmpge 3
2: StackMap locals: com.sun.crypto.provider.DESKey byte[] int
StackMap stack:
new java.security.InvalidKeyException
dup
ldc "Wrong key size"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
bipush 8
newarray 8
putfield com.sun.crypto.provider.DESKey.key:[B
4: aload 1
iload 2
aload 0
getfield com.sun.crypto.provider.DESKey.key:[B
iconst_0
bipush 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 0
getfield com.sun.crypto.provider.DESKey.key:[B
iconst_0
invokestatic com.sun.crypto.provider.DESKeyGenerator.setParityBit:([BI)V
6: aload 0
getfield com.sun.crypto.provider.DESKey.key:[B
astore 3
start local 3 7: invokestatic jdk.internal.ref.CleanerFactory.cleaner:()Ljava/lang/ref/Cleaner;
aload 0
8: aload 3
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/DESKey.lambda$0([B)V (6)
()V
9: invokevirtual java.lang.ref.Cleaner.register:(Ljava/lang/Object;Ljava/lang/Runnable;)Ljava/lang/ref/Cleaner$Cleanable;
pop
10: return
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/DESKey;
0 11 1 key [B
0 11 2 offset I
7 11 3 k [B
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
offset
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.DESKey.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/DESKey;
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: ldc "DES"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/DESKey;
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/DESKey;
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.DESKey.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.DESKey.key:[B
arraylength
if_icmplt 3
end local 2 6: iload 1
ldc "des"
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/DESKey;
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 0
aload 1
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
invokeinterface javax.crypto.SecretKey.getAlgorithm:()Ljava/lang/String;
astore 2
start local 2 5: aload 2
ldc "DES"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: java.lang.String
StackMap stack:
aload 1
checkcast javax.crypto.SecretKey
invokeinterface javax.crypto.SecretKey.getEncoded:()[B
astore 3
start local 3 8: aload 0
getfield com.sun.crypto.provider.DESKey.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/DESKey;
0 11 1 obj Ljava/lang/Object;
5 11 2 thatAlg Ljava/lang/String;
8 11 3 thatKey [B
9 11 4 ret Z
MethodParameters:
Name Flags
obj
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.DESKey.key:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield com.sun.crypto.provider.DESKey.key:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/DESKey;
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.DESKey.getAlgorithm:()Ljava/lang/String;
2: aload 0
invokevirtual com.sun.crypto.provider.DESKey.getFormat:()Ljava/lang/String;
3: aload 0
invokevirtual com.sun.crypto.provider.DESKey.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/DESKey;
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: "DESKey.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