class javax.security.auth.kerberos.KeyImpl implements javax.crypto.SecretKey, javax.security.auth.Destroyable, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.security.auth.kerberos.KeyImpl
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7889313790214321193
private transient byte[] keyBytes;
descriptor: [B
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient int keyType;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private volatile transient boolean destroyed;
descriptor: Z
flags: (0x00c2) ACC_PRIVATE, ACC_VOLATILE, ACC_TRANSIENT
public void <init>(byte[], int);
descriptor: ([BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield javax.security.auth.kerberos.KeyImpl.destroyed:Z
2: aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield javax.security.auth.kerberos.KeyImpl.keyBytes:[B
3: aload 0
iload 2
putfield javax.security.auth.kerberos.KeyImpl.keyType:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/security/auth/kerberos/KeyImpl;
0 5 1 keyBytes [B
0 5 2 keyType I
MethodParameters:
Name Flags
keyBytes
keyType
public void <init>(javax.security.auth.kerberos.KerberosPrincipal, char[], java.lang.String);
descriptor: (Ljavax/security/auth/kerberos/KerberosPrincipal;[CLjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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 0
iconst_0
putfield javax.security.auth.kerberos.KeyImpl.destroyed:Z
2: new sun.security.krb5.PrincipalName
dup
aload 1
invokevirtual javax.security.auth.kerberos.KerberosPrincipal.getName:()Ljava/lang/String;
invokespecial sun.security.krb5.PrincipalName.<init>:(Ljava/lang/String;)V
astore 4
start local 4 3: ldc "none"
aload 3
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
4: getstatic sun.security.krb5.EncryptionKey.NULL_KEY:Lsun/security/krb5/EncryptionKey;
astore 5
start local 5 5: goto 7
end local 5 6: StackMap locals: javax.security.auth.kerberos.KeyImpl javax.security.auth.kerberos.KerberosPrincipal char[] java.lang.String sun.security.krb5.PrincipalName
StackMap stack:
new sun.security.krb5.EncryptionKey
dup
aload 2
aload 4
invokevirtual sun.security.krb5.PrincipalName.getSalt:()Ljava/lang/String;
aload 3
invokespecial sun.security.krb5.EncryptionKey.<init>:([CLjava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 7: StackMap locals: sun.security.krb5.EncryptionKey
StackMap stack:
aload 0
aload 5
invokevirtual sun.security.krb5.EncryptionKey.getBytes:()[B
putfield javax.security.auth.kerberos.KeyImpl.keyBytes:[B
8: aload 0
aload 5
invokevirtual sun.security.krb5.EncryptionKey.getEType:()I
putfield javax.security.auth.kerberos.KeyImpl.keyType:I
end local 5 end local 4 9: goto 12
StackMap locals: javax.security.auth.kerberos.KeyImpl javax.security.auth.kerberos.KerberosPrincipal char[] java.lang.String
StackMap stack: sun.security.krb5.KrbException
10: astore 4
start local 4 11: new java.lang.IllegalArgumentException
dup
aload 4
invokevirtual sun.security.krb5.KrbException.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/security/auth/kerberos/KeyImpl;
0 13 1 principal Ljavax/security/auth/kerberos/KerberosPrincipal;
0 13 2 password [C
0 13 3 algorithm Ljava/lang/String;
3 9 4 princ Lsun/security/krb5/PrincipalName;
5 6 5 key Lsun/security/krb5/EncryptionKey;
7 9 5 key Lsun/security/krb5/EncryptionKey;
11 12 4 e Lsun/security/krb5/KrbException;
Exception table:
from to target type
2 9 10 Class sun.security.krb5.KrbException
MethodParameters:
Name Flags
principal
password
algorithm
public final int getKeyType();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KeyImpl.destroyed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "This key is no longer valid"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyType:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/kerberos/KeyImpl;
public final java.lang.String getAlgorithm();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyType:I
invokevirtual javax.security.auth.kerberos.KeyImpl.getAlgorithmName:(I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KeyImpl;
private java.lang.String getAlgorithmName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.security.auth.kerberos.KeyImpl.destroyed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "This key is no longer valid"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
lookupswitch { // 7
0: 9
1: 3
3: 4
16: 5
17: 7
18: 8
23: 6
default: 10
}
3: StackMap locals:
StackMap stack:
ldc "des-cbc-crc"
areturn
4: StackMap locals:
StackMap stack:
ldc "des-cbc-md5"
areturn
5: StackMap locals:
StackMap stack:
ldc "des3-cbc-sha1-kd"
areturn
6: StackMap locals:
StackMap stack:
ldc "rc4-hmac"
areturn
7: StackMap locals:
StackMap stack:
ldc "aes128-cts-hmac-sha1-96"
areturn
8: StackMap locals:
StackMap stack:
ldc "aes256-cts-hmac-sha1-96"
areturn
9: StackMap locals:
StackMap stack:
ldc "none"
areturn
10: StackMap locals:
StackMap stack:
iload 1
ifle 11
ldc "unknown"
goto 12
StackMap locals:
StackMap stack:
11: ldc "private"
StackMap locals:
StackMap stack: java.lang.String
12: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/security/auth/kerberos/KeyImpl;
0 13 1 eType I
MethodParameters:
Name Flags
eType
public final java.lang.String getFormat();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KeyImpl.destroyed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "This key is no longer valid"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc "RAW"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/kerberos/KeyImpl;
public final byte[] getEncoded();
descriptor: ()[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KeyImpl.destroyed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "This key is no longer valid"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyBytes:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/kerberos/KeyImpl;
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KeyImpl.destroyed:Z
ifne 3
1: aload 0
iconst_1
putfield javax.security.auth.kerberos.KeyImpl.destroyed:Z
2: aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyBytes:[B
iconst_0
invokestatic java.util.Arrays.fill:([BB)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/security/auth/kerberos/KeyImpl;
Exceptions:
throws javax.security.auth.DestroyFailedException
public boolean isDestroyed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KeyImpl.destroyed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KeyImpl;
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.security.auth.kerberos.KeyImpl.destroyed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "This key is no longer valid"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
new sun.security.krb5.EncryptionKey
dup
aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyType:I
aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyBytes:[B
invokespecial sun.security.krb5.EncryptionKey.<init>:(I[B)V
invokevirtual sun.security.krb5.EncryptionKey.asn1Encode:()[B
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
3: goto 6
StackMap locals:
StackMap stack: sun.security.krb5.Asn1Exception
4: astore 2
start local 2 5: new java.io.IOException
dup
aload 2
invokevirtual sun.security.krb5.Asn1Exception.getMessage:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/security/auth/kerberos/KeyImpl;
0 7 1 ois Ljava/io/ObjectOutputStream;
5 6 2 ae Lsun/security/krb5/Asn1Exception;
Exception table:
from to target type
2 3 4 Class sun.security.krb5.Asn1Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ois
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new sun.security.krb5.EncryptionKey
dup
1: new sun.security.util.DerValue
dup
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast byte[]
2: invokespecial sun.security.util.DerValue.<init>:([B)V
invokespecial sun.security.krb5.EncryptionKey.<init>:(Lsun/security/util/DerValue;)V
astore 2
start local 2 3: aload 0
aload 2
invokevirtual sun.security.krb5.EncryptionKey.getEType:()I
putfield javax.security.auth.kerberos.KeyImpl.keyType:I
4: aload 0
aload 2
invokevirtual sun.security.krb5.EncryptionKey.getBytes:()[B
putfield javax.security.auth.kerberos.KeyImpl.keyBytes:[B
end local 2 5: goto 8
StackMap locals:
StackMap stack: sun.security.krb5.Asn1Exception
6: astore 2
start local 2 7: new java.io.IOException
dup
aload 2
invokevirtual sun.security.krb5.Asn1Exception.getMessage:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/security/auth/kerberos/KeyImpl;
0 9 1 ois Ljava/io/ObjectInputStream;
3 5 2 encKey Lsun/security/krb5/EncryptionKey;
7 8 2 ae Lsun/security/krb5/Asn1Exception;
Exception table:
from to target type
0 5 6 Class sun.security.krb5.Asn1Exception
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
ois
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new sun.security.util.HexDumpEncoder
dup
invokespecial sun.security.util.HexDumpEncoder.<init>:()V
astore 1
start local 1 1: new java.lang.StringBuilder
dup
ldc "EncryptionKey: keyType="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyType:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: ldc " keyBytes (hex dump)="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyBytes:[B
ifnull 4
aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyBytes:[B
arraylength
ifne 5
4: StackMap locals: javax.security.auth.kerberos.KeyImpl sun.security.util.HexDumpEncoder
StackMap stack: java.lang.StringBuilder
ldc " Empty Key"
goto 8
5: StackMap locals:
StackMap stack: java.lang.StringBuilder
new java.lang.StringBuilder
dup
bipush 10
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyBytes:[B
invokevirtual sun.security.util.HexDumpEncoder.encodeBuffer:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: StackMap locals: javax.security.auth.kerberos.KeyImpl sun.security.util.HexDumpEncoder
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/security/auth/kerberos/KeyImpl;
1 10 1 hd Lsun/security/util/HexDumpEncoder;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 17
istore 1
start local 1 1: aload 0
invokevirtual javax.security.auth.kerberos.KeyImpl.isDestroyed:()Z
ifeq 3
2: iload 1
ireturn
3: StackMap locals: int
StackMap stack:
bipush 37
iload 1
imul
aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyBytes:[B
invokestatic java.util.Arrays.hashCode:([B)I
iadd
istore 1
4: bipush 37
iload 1
imul
aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyType:I
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/security/auth/kerberos/KeyImpl;
1 5 1 result I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, 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.security.auth.kerberos.KeyImpl
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.security.auth.kerberos.KeyImpl
astore 2
start local 2 5: aload 0
invokevirtual javax.security.auth.kerberos.KeyImpl.isDestroyed:()Z
ifne 6
aload 2
invokevirtual javax.security.auth.kerberos.KeyImpl.isDestroyed:()Z
ifeq 7
6: StackMap locals: javax.security.auth.kerberos.KeyImpl
StackMap stack:
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyType:I
aload 2
invokevirtual javax.security.auth.kerberos.KeyImpl.getKeyType:()I
if_icmpne 9
8: aload 0
getfield javax.security.auth.kerberos.KeyImpl.keyBytes:[B
aload 2
invokevirtual javax.security.auth.kerberos.KeyImpl.getEncoded:()[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifne 10
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/security/auth/kerberos/KeyImpl;
0 11 1 other Ljava/lang/Object;
5 11 2 otherKey Ljavax/security/auth/kerberos/KeyImpl;
MethodParameters:
Name Flags
other
}
SourceFile: "KeyImpl.java"