public class javax.security.auth.kerberos.KerberosKey implements javax.crypto.SecretKey
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.security.auth.kerberos.KerberosKey
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -4625402278148246993
private javax.security.auth.kerberos.KerberosPrincipal principal;
descriptor: Ljavax/security/auth/kerberos/KerberosPrincipal;
flags: (0x0002) ACC_PRIVATE
private final int versionNum;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private javax.security.auth.kerberos.KeyImpl key;
descriptor: Ljavax/security/auth/kerberos/KeyImpl;
flags: (0x0002) ACC_PRIVATE
private transient boolean destroyed;
descriptor: Z
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public void <init>(javax.security.auth.kerberos.KerberosPrincipal, byte[], int, int);
descriptor: (Ljavax/security/auth/kerberos/KerberosPrincipal;[BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield javax.security.auth.kerberos.KerberosKey.destroyed:Z
2: aload 0
aload 1
putfield javax.security.auth.kerberos.KerberosKey.principal:Ljavax/security/auth/kerberos/KerberosPrincipal;
3: aload 0
iload 4
putfield javax.security.auth.kerberos.KerberosKey.versionNum:I
4: aload 0
new javax.security.auth.kerberos.KeyImpl
dup
aload 2
iload 3
invokespecial javax.security.auth.kerberos.KeyImpl.<init>:([BI)V
putfield javax.security.auth.kerberos.KerberosKey.key:Ljavax/security/auth/kerberos/KeyImpl;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/security/auth/kerberos/KerberosKey;
0 6 1 principal Ljavax/security/auth/kerberos/KerberosPrincipal;
0 6 2 keyBytes [B
0 6 3 keyType I
0 6 4 versionNum I
MethodParameters:
Name Flags
principal
keyBytes
keyType
versionNum
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=6, 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
iconst_0
putfield javax.security.auth.kerberos.KerberosKey.destroyed:Z
2: aload 0
aload 1
putfield javax.security.auth.kerberos.KerberosKey.principal:Ljavax/security/auth/kerberos/KerberosPrincipal;
3: aload 0
iconst_0
putfield javax.security.auth.kerberos.KerberosKey.versionNum:I
4: aload 0
new javax.security.auth.kerberos.KeyImpl
dup
aload 1
aload 2
aload 3
invokespecial javax.security.auth.kerberos.KeyImpl.<init>:(Ljavax/security/auth/kerberos/KerberosPrincipal;[CLjava/lang/String;)V
putfield javax.security.auth.kerberos.KerberosKey.key:Ljavax/security/auth/kerberos/KeyImpl;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/security/auth/kerberos/KerberosKey;
0 6 1 principal Ljavax/security/auth/kerberos/KerberosPrincipal;
0 6 2 password [C
0 6 3 algorithm Ljava/lang/String;
MethodParameters:
Name Flags
principal
password
algorithm
public final javax.security.auth.kerberos.KerberosPrincipal getPrincipal();
descriptor: ()Ljavax/security/auth/kerberos/KerberosPrincipal;
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.KerberosKey.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.KerberosKey.principal:Ljavax/security/auth/kerberos/KerberosPrincipal;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/kerberos/KerberosKey;
public final int getVersionNumber();
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.KerberosKey.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.KerberosKey.versionNum:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/kerberos/KerberosKey;
public final int getKeyType();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KerberosKey.key:Ljavax/security/auth/kerberos/KeyImpl;
invokevirtual javax.security.auth.kerberos.KeyImpl.getKeyType:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KerberosKey;
public final java.lang.String getAlgorithm();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KerberosKey.key:Ljavax/security/auth/kerberos/KeyImpl;
invokevirtual javax.security.auth.kerberos.KeyImpl.getAlgorithm:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KerberosKey;
public final java.lang.String getFormat();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KerberosKey.key:Ljavax/security/auth/kerberos/KeyImpl;
invokevirtual javax.security.auth.kerberos.KeyImpl.getFormat:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KerberosKey;
public final byte[] getEncoded();
descriptor: ()[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KerberosKey.key:Ljavax/security/auth/kerberos/KeyImpl;
invokevirtual javax.security.auth.kerberos.KeyImpl.getEncoded:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KerberosKey;
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.KerberosKey.destroyed:Z
ifne 4
1: aload 0
getfield javax.security.auth.kerberos.KerberosKey.key:Ljavax/security/auth/kerberos/KeyImpl;
invokevirtual javax.security.auth.kerberos.KeyImpl.destroy:()V
2: aload 0
aconst_null
putfield javax.security.auth.kerberos.KerberosKey.principal:Ljavax/security/auth/kerberos/KerberosPrincipal;
3: aload 0
iconst_1
putfield javax.security.auth.kerberos.KerberosKey.destroyed:Z
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/security/auth/kerberos/KerberosKey;
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.KerberosKey.destroyed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KerberosKey;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KerberosKey.destroyed:Z
ifeq 2
1: ldc "Destroyed KerberosKey"
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Kerberos Principal "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.security.auth.kerberos.KerberosKey.principal:Ljavax/security/auth/kerberos/KerberosPrincipal;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc "Key Version "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.security.auth.kerberos.KerberosKey.versionNum:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: ldc "key "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.security.auth.kerberos.KerberosKey.key:Ljavax/security/auth/kerberos/KeyImpl;
invokevirtual javax.security.auth.kerberos.KeyImpl.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/security/auth/kerberos/KerberosKey;
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.KerberosKey.isDestroyed:()Z
ifeq 3
2: iload 1
ireturn
3: StackMap locals: int
StackMap stack:
bipush 37
iload 1
imul
aload 0
invokevirtual javax.security.auth.kerberos.KerberosKey.getEncoded:()[B
invokestatic java.util.Arrays.hashCode:([B)I
iadd
istore 1
4: bipush 37
iload 1
imul
aload 0
invokevirtual javax.security.auth.kerberos.KerberosKey.getKeyType:()I
iadd
istore 1
5: aload 0
getfield javax.security.auth.kerberos.KerberosKey.principal:Ljavax/security/auth/kerberos/KerberosPrincipal;
ifnull 7
6: bipush 37
iload 1
imul
aload 0
getfield javax.security.auth.kerberos.KerberosKey.principal:Ljavax/security/auth/kerberos/KerberosPrincipal;
invokevirtual javax.security.auth.kerberos.KerberosPrincipal.hashCode:()I
iadd
istore 1
7: StackMap locals:
StackMap stack:
iload 1
bipush 37
imul
aload 0
getfield javax.security.auth.kerberos.KerberosKey.versionNum:I
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/security/auth/kerberos/KerberosKey;
1 8 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.KerberosKey
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.security.auth.kerberos.KerberosKey
astore 2
start local 2 5: aload 0
invokevirtual javax.security.auth.kerberos.KerberosKey.isDestroyed:()Z
ifne 6
aload 2
invokevirtual javax.security.auth.kerberos.KerberosKey.isDestroyed:()Z
ifeq 7
6: StackMap locals: javax.security.auth.kerberos.KerberosKey
StackMap stack:
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.security.auth.kerberos.KerberosKey.versionNum:I
aload 2
invokevirtual javax.security.auth.kerberos.KerberosKey.getVersionNumber:()I
if_icmpne 10
8: aload 0
invokevirtual javax.security.auth.kerberos.KerberosKey.getKeyType:()I
aload 2
invokevirtual javax.security.auth.kerberos.KerberosKey.getKeyType:()I
if_icmpne 10
9: aload 0
invokevirtual javax.security.auth.kerberos.KerberosKey.getEncoded:()[B
aload 2
invokevirtual javax.security.auth.kerberos.KerberosKey.getEncoded:()[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifne 11
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield javax.security.auth.kerberos.KerberosKey.principal:Ljavax/security/auth/kerberos/KerberosPrincipal;
ifnonnull 14
12: aload 2
invokevirtual javax.security.auth.kerberos.KerberosKey.getPrincipal:()Ljavax/security/auth/kerberos/KerberosPrincipal;
ifnull 16
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 0
getfield javax.security.auth.kerberos.KerberosKey.principal:Ljavax/security/auth/kerberos/KerberosPrincipal;
aload 2
invokevirtual javax.security.auth.kerberos.KerberosKey.getPrincipal:()Ljavax/security/auth/kerberos/KerberosPrincipal;
invokevirtual javax.security.auth.kerberos.KerberosPrincipal.equals:(Ljava/lang/Object;)Z
ifne 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/security/auth/kerberos/KerberosKey;
0 17 1 other Ljava/lang/Object;
5 17 2 otherKey Ljavax/security/auth/kerberos/KerberosKey;
MethodParameters:
Name Flags
other
}
SourceFile: "KerberosKey.java"