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
private final javax.security.auth.kerberos.KerberosPrincipal princ;
descriptor: Ljavax/security/auth/kerberos/KerberosPrincipal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean bound;
descriptor: Z
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.security.krb5.KerberosSecrets.setJavaxSecurityAuthKerberosAccess:(Lsun/security/krb5/JavaxSecurityAuthKerberosAccess;)V
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(javax.security.auth.kerberos.KerberosPrincipal, java.io.File, boolean);
descriptor: (Ljavax/security/auth/kerberos/KerberosPrincipal;Ljava/io/File;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, 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
aload 1
putfield javax.security.auth.kerberos.KeyTab.princ:Ljavax/security/auth/kerberos/KerberosPrincipal;
2: aload 0
aload 2
putfield javax.security.auth.kerberos.KeyTab.file:Ljava/io/File;
3: aload 0
iload 3
putfield javax.security.auth.kerberos.KeyTab.bound:Z
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/security/auth/kerberos/KeyTab;
0 5 1 princ Ljavax/security/auth/kerberos/KerberosPrincipal;
0 5 2 file Ljava/io/File;
0 5 3 bound Z
MethodParameters:
Name Flags
princ
file
bound
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=5, 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
aconst_null
aload 0
iconst_1
invokespecial javax.security.auth.kerberos.KeyTab.<init>:(Ljavax/security/auth/kerberos/KerberosPrincipal;Ljava/io/File;Z)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 getUnboundInstance(java.io.File);
descriptor: (Ljava/io/File;)Ljavax/security/auth/kerberos/KeyTab;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, 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
aconst_null
aload 0
iconst_0
invokespecial javax.security.auth.kerberos.KeyTab.<init>:(Ljavax/security/auth/kerberos/KerberosPrincipal;Ljava/io/File;Z)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(javax.security.auth.kerberos.KerberosPrincipal, java.io.File);
descriptor: (Ljavax/security/auth/kerberos/KerberosPrincipal;Ljava/io/File;)Ljavax/security/auth/kerberos/KeyTab;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "princ must be non null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "file must be non null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new javax.security.auth.kerberos.KeyTab
dup
aload 0
aload 1
iconst_1
invokespecial javax.security.auth.kerberos.KeyTab.<init>:(Ljavax/security/auth/kerberos/KerberosPrincipal;Ljava/io/File;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 princ Ljavax/security/auth/kerberos/KerberosPrincipal;
0 5 1 file Ljava/io/File;
MethodParameters:
Name Flags
princ
file
public static javax.security.auth.kerberos.KeyTab getInstance();
descriptor: ()Ljavax/security/auth/kerberos/KeyTab;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new javax.security.auth.kerberos.KeyTab
dup
aconst_null
aconst_null
iconst_1
invokespecial javax.security.auth.kerberos.KeyTab.<init>:(Ljavax/security/auth/kerberos/KerberosPrincipal;Ljava/io/File;Z)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static javax.security.auth.kerberos.KeyTab getUnboundInstance();
descriptor: ()Ljavax/security/auth/kerberos/KeyTab;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new javax.security.auth.kerberos.KeyTab
dup
aconst_null
aconst_null
iconst_0
invokespecial javax.security.auth.kerberos.KeyTab.<init>:(Ljavax/security/auth/kerberos/KerberosPrincipal;Ljava/io/File;Z)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static javax.security.auth.kerberos.KeyTab getInstance(javax.security.auth.kerberos.KerberosPrincipal);
descriptor: (Ljavax/security/auth/kerberos/KerberosPrincipal;)Ljavax/security/auth/kerberos/KeyTab;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "princ 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
aconst_null
iconst_1
invokespecial javax.security.auth.kerberos.KeyTab.<init>:(Ljavax/security/auth/kerberos/KerberosPrincipal;Ljava/io/File;Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 princ Ljavax/security/auth/kerberos/KerberosPrincipal;
MethodParameters:
Name Flags
princ
sun.security.krb5.internal.ktab.KeyTab takeSnapshot();
descriptor: ()Lsun/security/krb5/internal/ktab/KeyTab;
flags: (0x0000)
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=7, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.security.auth.kerberos.KeyTab.princ:Ljavax/security/auth/kerberos/KerberosPrincipal;
ifnull 3
aload 1
aload 0
getfield javax.security.auth.kerberos.KeyTab.princ:Ljavax/security/auth/kerberos/KerberosPrincipal;
invokevirtual javax.security.auth.kerberos.KerberosPrincipal.equals:(Ljava/lang/Object;)Z
ifne 3
1: iconst_0
anewarray javax.security.auth.kerberos.KerberosKey
2: areturn
3: StackMap locals:
StackMap stack:
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 2
start local 2 4: aload 0
invokevirtual javax.security.auth.kerberos.KeyTab.takeSnapshot:()Lsun/security/krb5/internal/ktab/KeyTab;
aload 2
invokevirtual sun.security.krb5.internal.ktab.KeyTab.readServiceKeys:(Lsun/security/krb5/PrincipalName;)[Lsun/security/krb5/EncryptionKey;
astore 3
start local 3 5: aload 3
arraylength
anewarray javax.security.auth.kerberos.KerberosKey
astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 20
8: StackMap locals: javax.security.auth.kerberos.KeyTab javax.security.auth.kerberos.KerberosPrincipal sun.security.krb5.PrincipalName sun.security.krb5.EncryptionKey[] javax.security.auth.kerberos.KerberosKey[] int
StackMap stack:
aload 3
iload 5
aaload
invokevirtual sun.security.krb5.EncryptionKey.getKeyVersionNumber:()Ljava/lang/Integer;
astore 6
start local 6 9: aload 4
iload 5
10: new javax.security.auth.kerberos.KerberosKey
dup
11: aload 1
12: aload 3
iload 5
aaload
invokevirtual sun.security.krb5.EncryptionKey.getBytes:()[B
13: aload 3
iload 5
aaload
invokevirtual sun.security.krb5.EncryptionKey.getEType:()I
14: aload 6
ifnonnull 15
iconst_0
goto 16
StackMap locals: javax.security.auth.kerberos.KeyTab javax.security.auth.kerberos.KerberosPrincipal sun.security.krb5.PrincipalName sun.security.krb5.EncryptionKey[] javax.security.auth.kerberos.KerberosKey[] int java.lang.Integer
StackMap stack: javax.security.auth.kerberos.KerberosKey[] int new 10 new 10 javax.security.auth.kerberos.KerberosPrincipal byte[] int
15: aload 6
invokevirtual java.lang.Integer.intValue:()I
StackMap locals: javax.security.auth.kerberos.KeyTab javax.security.auth.kerberos.KerberosPrincipal sun.security.krb5.PrincipalName sun.security.krb5.EncryptionKey[] javax.security.auth.kerberos.KerberosKey[] int java.lang.Integer
StackMap stack: javax.security.auth.kerberos.KerberosKey[] int new 10 new 10 javax.security.auth.kerberos.KerberosPrincipal byte[] int int
16: invokespecial javax.security.auth.kerberos.KerberosKey.<init>:(Ljavax/security/auth/kerberos/KerberosPrincipal;[BII)V
17: aastore
18: aload 3
iload 5
aaload
invokevirtual sun.security.krb5.EncryptionKey.destroy:()V
end local 6 19: iinc 5 1
StackMap locals:
StackMap stack:
20: iload 5
aload 4
arraylength
if_icmplt 8
end local 5 21: aload 4
22: areturn
end local 4 end local 3 end local 2 23: StackMap locals: javax.security.auth.kerberos.KeyTab javax.security.auth.kerberos.KerberosPrincipal
StackMap stack: sun.security.krb5.RealmException
pop
24: iconst_0
anewarray javax.security.auth.kerberos.KerberosKey
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljavax/security/auth/kerberos/KeyTab;
0 25 1 principal Ljavax/security/auth/kerberos/KerberosPrincipal;
4 23 2 pn Lsun/security/krb5/PrincipalName;
5 23 3 keys [Lsun/security/krb5/EncryptionKey;
6 23 4 kks [Ljavax/security/auth/kerberos/KerberosKey;
7 21 5 i I
9 19 6 tmp Ljava/lang/Integer;
Exception table:
from to target type
0 2 23 Class sun.security.krb5.RealmException
3 22 23 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=3, locals=2, 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: astore 1
start local 1 3: aload 0
getfield javax.security.auth.kerberos.KeyTab.bound:Z
ifne 4
aload 1
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield javax.security.auth.kerberos.KeyTab.princ:Ljavax/security/auth/kerberos/KerberosPrincipal;
ifnonnull 5
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " for someone"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.security.auth.kerberos.KeyTab.princ:Ljavax/security/auth/kerberos/KerberosPrincipal;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/security/auth/kerberos/KeyTab;
3 6 1 s Ljava/lang/String;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield javax.security.auth.kerberos.KeyTab.file:Ljava/io/File;
aastore
dup
iconst_1
aload 0
getfield javax.security.auth.kerberos.KeyTab.princ:Ljavax/security/auth/kerberos/KerberosPrincipal;
aastore
dup
iconst_2
aload 0
getfield javax.security.auth.kerberos.KeyTab.bound:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
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.princ:Ljavax/security/auth/kerberos/KerberosPrincipal;
aload 0
getfield javax.security.auth.kerberos.KeyTab.princ:Ljavax/security/auth/kerberos/KerberosPrincipal;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 9
6: 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
ifeq 9
7: aload 0
getfield javax.security.auth.kerberos.KeyTab.bound:Z
aload 2
getfield javax.security.auth.kerberos.KeyTab.bound:Z
if_icmpne 9
8: iconst_1
ireturn
StackMap locals: javax.security.auth.kerberos.KeyTab
StackMap stack:
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/security/auth/kerberos/KeyTab;
0 10 1 other Ljava/lang/Object;
5 10 2 otherKtab Ljavax/security/auth/kerberos/KeyTab;
MethodParameters:
Name Flags
other
public javax.security.auth.kerberos.KerberosPrincipal getPrincipal();
descriptor: ()Ljavax/security/auth/kerberos/KerberosPrincipal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KeyTab.princ:Ljavax/security/auth/kerberos/KerberosPrincipal;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KeyTab;
public boolean isBound();
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.KeyTab.bound:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KeyTab;
}
SourceFile: "KeyTab.java"