public final class javax.security.auth.kerberos.KeyTab
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javax.security.auth.kerberos.KeyTab
super_class: java.lang.Object
{
private final java.io.File file;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javax.security.auth.kerberos.JavaxSecurityAuthKerberosAccessImpl
dup
invokespecial javax.security.auth.kerberos.JavaxSecurityAuthKerberosAccessImpl.<init>:()V
1: invokestatic sun.misc.SharedSecrets.setJavaxSecurityAuthKerberosAccess:(Lsun/misc/JavaxSecurityAuthKerberosAccess;)V
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0002) ACC_PRIVATE
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
aload 1
putfield javax.security.auth.kerberos.KeyTab.file:Ljava/io/File;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/kerberos/KeyTab;
0 3 1 file Ljava/io/File;
MethodParameters:
Name Flags
file
public static javax.security.auth.kerberos.KeyTab getInstance(java.io.File);
descriptor: (Ljava/io/File;)Ljavax/security/auth/kerberos/KeyTab;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "file must be non null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new javax.security.auth.kerberos.KeyTab
dup
aload 0
invokespecial javax.security.auth.kerberos.KeyTab.<init>:(Ljava/io/File;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 file Ljava/io/File;
MethodParameters:
Name Flags
file
public static javax.security.auth.kerberos.KeyTab getInstance();
descriptor: ()Ljavax/security/auth/kerberos/KeyTab;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new javax.security.auth.kerberos.KeyTab
dup
aconst_null
invokespecial javax.security.auth.kerberos.KeyTab.<init>:(Ljava/io/File;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private sun.security.krb5.internal.ktab.KeyTab takeSnapshot();
descriptor: ()Lsun/security/krb5/internal/ktab/KeyTab;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KeyTab.file:Ljava/io/File;
invokestatic sun.security.krb5.internal.ktab.KeyTab.getInstance:(Ljava/io/File;)Lsun/security/krb5/internal/ktab/KeyTab;
1: areturn
2: StackMap locals:
StackMap stack: java.security.AccessControlException
astore 1
start local 1 3: aload 0
getfield javax.security.auth.kerberos.KeyTab.file:Ljava/io/File;
ifnull 5
4: aload 1
athrow
5: StackMap locals: java.security.AccessControlException
StackMap stack:
new java.security.AccessControlException
dup
6: ldc "Access to default keytab denied (modified exception)"
7: invokespecial java.security.AccessControlException.<init>:(Ljava/lang/String;)V
astore 2
start local 2 8: aload 2
aload 1
invokevirtual java.security.AccessControlException.getStackTrace:()[Ljava/lang/StackTraceElement;
invokevirtual java.security.AccessControlException.setStackTrace:([Ljava/lang/StackTraceElement;)V
9: aload 2
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/security/auth/kerberos/KeyTab;
3 10 1 ace Ljava/security/AccessControlException;
8 10 2 ace2 Ljava/security/AccessControlException;
Exception table:
from to target type
0 1 2 Class java.security.AccessControlException
public javax.security.auth.kerberos.KerberosKey[] getKeys(javax.security.auth.kerberos.KerberosPrincipal);
descriptor: (Ljavax/security/auth/kerberos/KerberosPrincipal;)[Ljavax/security/auth/kerberos/KerberosKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.security.auth.kerberos.KeyTab.takeSnapshot:()Lsun/security/krb5/internal/ktab/KeyTab;
1: 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
2: invokevirtual sun.security.krb5.internal.ktab.KeyTab.readServiceKeys:(Lsun/security/krb5/PrincipalName;)[Lsun/security/krb5/EncryptionKey;
astore 2
start local 2 3: aload 2
arraylength
anewarray javax.security.auth.kerberos.KerberosKey
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 18
6: StackMap locals: sun.security.krb5.EncryptionKey[] javax.security.auth.kerberos.KerberosKey[] int
StackMap stack:
aload 2
iload 4
aaload
invokevirtual sun.security.krb5.EncryptionKey.getKeyVersionNumber:()Ljava/lang/Integer;
astore 5
start local 5 7: aload 3
iload 4
8: new javax.security.auth.kerberos.KerberosKey
dup
9: aload 1
10: aload 2
iload 4
aaload
invokevirtual sun.security.krb5.EncryptionKey.getBytes:()[B
11: aload 2
iload 4
aaload
invokevirtual sun.security.krb5.EncryptionKey.getEType:()I
12: aload 5
ifnonnull 13
iconst_0
goto 14
StackMap locals: javax.security.auth.kerberos.KeyTab javax.security.auth.kerberos.KerberosPrincipal sun.security.krb5.EncryptionKey[] javax.security.auth.kerberos.KerberosKey[] int java.lang.Integer
StackMap stack: javax.security.auth.kerberos.KerberosKey[] int new 8 new 8 javax.security.auth.kerberos.KerberosPrincipal byte[] int
13: aload 5
invokevirtual java.lang.Integer.intValue:()I
StackMap locals: javax.security.auth.kerberos.KeyTab javax.security.auth.kerberos.KerberosPrincipal sun.security.krb5.EncryptionKey[] javax.security.auth.kerberos.KerberosKey[] int java.lang.Integer
StackMap stack: javax.security.auth.kerberos.KerberosKey[] int new 8 new 8 javax.security.auth.kerberos.KerberosPrincipal byte[] int int
14: invokespecial javax.security.auth.kerberos.KerberosKey.<init>:(Ljavax/security/auth/kerberos/KerberosPrincipal;[BII)V
15: aastore
16: aload 2
iload 4
aaload
invokevirtual sun.security.krb5.EncryptionKey.destroy:()V
end local 5 17: iinc 4 1
StackMap locals:
StackMap stack:
18: iload 4
aload 3
arraylength
if_icmplt 6
end local 4 19: aload 3
20: areturn
end local 3 end local 2 21: StackMap locals: javax.security.auth.kerberos.KeyTab javax.security.auth.kerberos.KerberosPrincipal
StackMap stack: sun.security.krb5.RealmException
pop
22: iconst_0
anewarray javax.security.auth.kerberos.KerberosKey
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljavax/security/auth/kerberos/KeyTab;
0 23 1 principal Ljavax/security/auth/kerberos/KerberosPrincipal;
3 21 2 keys [Lsun/security/krb5/EncryptionKey;
4 21 3 kks [Ljavax/security/auth/kerberos/KerberosKey;
5 19 4 i I
7 17 5 tmp Ljava/lang/Integer;
Exception table:
from to target type
0 20 21 Class sun.security.krb5.RealmException
MethodParameters:
Name Flags
principal
sun.security.krb5.EncryptionKey[] getEncryptionKeys(sun.security.krb5.PrincipalName);
descriptor: (Lsun/security/krb5/PrincipalName;)[Lsun/security/krb5/EncryptionKey;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.security.auth.kerberos.KeyTab.takeSnapshot:()Lsun/security/krb5/internal/ktab/KeyTab;
aload 1
invokevirtual sun.security.krb5.internal.ktab.KeyTab.readServiceKeys:(Lsun/security/krb5/PrincipalName;)[Lsun/security/krb5/EncryptionKey;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KeyTab;
0 1 1 principal Lsun/security/krb5/PrincipalName;
MethodParameters:
Name Flags
principal
public boolean exists();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.security.auth.kerberos.KeyTab.takeSnapshot:()Lsun/security/krb5/internal/ktab/KeyTab;
invokevirtual sun.security.krb5.internal.ktab.KeyTab.isMissing:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/kerberos/KeyTab;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KeyTab.file:Ljava/io/File;
ifnonnull 1
ldc "Default keytab"
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javax.security.auth.kerberos.KeyTab.file:Ljava/io/File;
invokevirtual java.io.File.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/kerberos/KeyTab;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield javax.security.auth.kerberos.KeyTab.file:Ljava/io/File;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KeyTab;
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.KeyTab
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.security.auth.kerberos.KeyTab
astore 2
start local 2 5: aload 2
getfield javax.security.auth.kerberos.KeyTab.file:Ljava/io/File;
aload 0
getfield javax.security.auth.kerberos.KeyTab.file:Ljava/io/File;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/security/auth/kerberos/KeyTab;
0 6 1 other Ljava/lang/Object;
5 6 2 otherKtab Ljavax/security/auth/kerberos/KeyTab;
MethodParameters:
Name Flags
other
}
SourceFile: "KeyTab.java"