public class sun.security.krb5.KrbCred
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.krb5.KrbCred
super_class: java.lang.Object
{
private static boolean DEBUG;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private byte[] obuf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private sun.security.krb5.internal.KRBCred credMessg;
descriptor: Lsun/security/krb5/internal/KRBCred;
flags: (0x0002) ACC_PRIVATE
private sun.security.krb5.internal.Ticket ticket;
descriptor: Lsun/security/krb5/internal/Ticket;
flags: (0x0002) ACC_PRIVATE
private sun.security.krb5.internal.EncKrbCredPart encPart;
descriptor: Lsun/security/krb5/internal/EncKrbCredPart;
flags: (0x0002) ACC_PRIVATE
private sun.security.krb5.Credentials creds;
descriptor: Lsun/security/krb5/Credentials;
flags: (0x0002) ACC_PRIVATE
private sun.security.krb5.internal.KerberosTime timeStamp;
descriptor: Lsun/security/krb5/internal/KerberosTime;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.security.krb5.internal.Krb5.DEBUG:Z
putstatic sun.security.krb5.KrbCred.DEBUG:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(sun.security.krb5.Credentials, sun.security.krb5.Credentials, sun.security.krb5.EncryptionKey);
descriptor: (Lsun/security/krb5/Credentials;Lsun/security/krb5/Credentials;Lsun/security/krb5/EncryptionKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=8, 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
aconst_null
putfield sun.security.krb5.KrbCred.obuf:[B
2: aload 0
aconst_null
putfield sun.security.krb5.KrbCred.credMessg:Lsun/security/krb5/internal/KRBCred;
3: aload 0
aconst_null
putfield sun.security.krb5.KrbCred.ticket:Lsun/security/krb5/internal/Ticket;
4: aload 0
aconst_null
putfield sun.security.krb5.KrbCred.encPart:Lsun/security/krb5/internal/EncKrbCredPart;
5: aload 0
aconst_null
putfield sun.security.krb5.KrbCred.creds:Lsun/security/krb5/Credentials;
6: aload 0
aconst_null
putfield sun.security.krb5.KrbCred.timeStamp:Lsun/security/krb5/internal/KerberosTime;
7: aload 1
invokevirtual sun.security.krb5.Credentials.getClient:()Lsun/security/krb5/PrincipalName;
astore 4
start local 4 8: aload 1
invokevirtual sun.security.krb5.Credentials.getServer:()Lsun/security/krb5/PrincipalName;
astore 5
start local 5 9: aload 2
invokevirtual sun.security.krb5.Credentials.getClient:()Lsun/security/krb5/PrincipalName;
aload 4
invokevirtual sun.security.krb5.PrincipalName.equals:(Ljava/lang/Object;)Z
ifne 13
10: new sun.security.krb5.KrbException
dup
bipush 60
11: ldc "Client principal does not match"
12: invokespecial sun.security.krb5.KrbException.<init>:(ILjava/lang/String;)V
athrow
13: StackMap locals: sun.security.krb5.KrbCred sun.security.krb5.Credentials sun.security.krb5.Credentials sun.security.krb5.EncryptionKey sun.security.krb5.PrincipalName sun.security.krb5.PrincipalName
StackMap stack:
new sun.security.krb5.internal.KDCOptions
dup
invokespecial sun.security.krb5.internal.KDCOptions.<init>:()V
astore 6
start local 6 14: aload 6
iconst_2
iconst_1
invokevirtual sun.security.krb5.internal.KDCOptions.set:(IZ)V
15: aload 6
iconst_1
iconst_1
invokevirtual sun.security.krb5.internal.KDCOptions.set:(IZ)V
16: new sun.security.krb5.KrbTgsReq
dup
aload 6
aload 1
aload 5
17: aconst_null
aconst_null
aconst_null
aconst_null
18: aconst_null
19: aconst_null
aconst_null
aconst_null
20: invokespecial sun.security.krb5.KrbTgsReq.<init>:(Lsun/security/krb5/internal/KDCOptions;Lsun/security/krb5/Credentials;Lsun/security/krb5/PrincipalName;Lsun/security/krb5/internal/KerberosTime;Lsun/security/krb5/internal/KerberosTime;Lsun/security/krb5/internal/KerberosTime;[ILsun/security/krb5/internal/HostAddresses;Lsun/security/krb5/internal/AuthorizationData;[Lsun/security/krb5/internal/Ticket;Lsun/security/krb5/EncryptionKey;)V
astore 7
start local 7 21: aload 0
aload 0
aload 7
invokevirtual sun.security.krb5.KrbTgsReq.sendAndGetCreds:()Lsun/security/krb5/Credentials;
aload 3
invokevirtual sun.security.krb5.KrbCred.createMessage:(Lsun/security/krb5/Credentials;Lsun/security/krb5/EncryptionKey;)Lsun/security/krb5/internal/KRBCred;
putfield sun.security.krb5.KrbCred.credMessg:Lsun/security/krb5/internal/KRBCred;
22: aload 0
aload 0
getfield sun.security.krb5.KrbCred.credMessg:Lsun/security/krb5/internal/KRBCred;
invokevirtual sun.security.krb5.internal.KRBCred.asn1Encode:()[B
putfield sun.security.krb5.KrbCred.obuf:[B
23: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/security/krb5/KrbCred;
0 24 1 tgt Lsun/security/krb5/Credentials;
0 24 2 serviceTicket Lsun/security/krb5/Credentials;
0 24 3 key Lsun/security/krb5/EncryptionKey;
8 24 4 client Lsun/security/krb5/PrincipalName;
9 24 5 tgService Lsun/security/krb5/PrincipalName;
14 24 6 options Lsun/security/krb5/internal/KDCOptions;
21 24 7 tgsReq Lsun/security/krb5/KrbTgsReq;
Exceptions:
throws sun.security.krb5.KrbException, java.io.IOException
MethodParameters:
Name Flags
tgt
serviceTicket
key
sun.security.krb5.internal.KRBCred createMessage(sun.security.krb5.Credentials, sun.security.krb5.EncryptionKey);
descriptor: (Lsun/security/krb5/Credentials;Lsun/security/krb5/EncryptionKey;)Lsun/security/krb5/internal/KRBCred;
flags: (0x0000)
Code:
stack=11, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual sun.security.krb5.Credentials.getSessionKey:()Lsun/security/krb5/EncryptionKey;
1: astore 3
start local 3 2: aload 1
invokevirtual sun.security.krb5.Credentials.getClient:()Lsun/security/krb5/PrincipalName;
astore 4
start local 4 3: aload 1
invokevirtual sun.security.krb5.Credentials.getServer:()Lsun/security/krb5/PrincipalName;
astore 5
start local 5 4: new sun.security.krb5.internal.KrbCredInfo
dup
aload 3
5: aload 4
aload 1
getfield sun.security.krb5.Credentials.flags:Lsun/security/krb5/internal/TicketFlags;
aload 1
getfield sun.security.krb5.Credentials.authTime:Lsun/security/krb5/internal/KerberosTime;
6: aload 1
getfield sun.security.krb5.Credentials.startTime:Lsun/security/krb5/internal/KerberosTime;
aload 1
getfield sun.security.krb5.Credentials.endTime:Lsun/security/krb5/internal/KerberosTime;
7: aload 1
getfield sun.security.krb5.Credentials.renewTill:Lsun/security/krb5/internal/KerberosTime;
aload 5
8: aload 1
getfield sun.security.krb5.Credentials.cAddr:Lsun/security/krb5/internal/HostAddresses;
9: invokespecial sun.security.krb5.internal.KrbCredInfo.<init>:(Lsun/security/krb5/EncryptionKey;Lsun/security/krb5/PrincipalName;Lsun/security/krb5/internal/TicketFlags;Lsun/security/krb5/internal/KerberosTime;Lsun/security/krb5/internal/KerberosTime;Lsun/security/krb5/internal/KerberosTime;Lsun/security/krb5/internal/KerberosTime;Lsun/security/krb5/PrincipalName;Lsun/security/krb5/internal/HostAddresses;)V
astore 6
start local 6 10: aload 0
invokestatic sun.security.krb5.internal.KerberosTime.now:()Lsun/security/krb5/internal/KerberosTime;
putfield sun.security.krb5.KrbCred.timeStamp:Lsun/security/krb5/internal/KerberosTime;
11: iconst_1
anewarray sun.security.krb5.internal.KrbCredInfo
dup
iconst_0
aload 6
aastore
astore 7
start local 7 12: new sun.security.krb5.internal.EncKrbCredPart
dup
aload 7
13: aload 0
getfield sun.security.krb5.KrbCred.timeStamp:Lsun/security/krb5/internal/KerberosTime;
aconst_null
aconst_null
aconst_null
aconst_null
14: invokespecial sun.security.krb5.internal.EncKrbCredPart.<init>:([Lsun/security/krb5/internal/KrbCredInfo;Lsun/security/krb5/internal/KerberosTime;Ljava/lang/Integer;Ljava/lang/Integer;Lsun/security/krb5/internal/HostAddress;Lsun/security/krb5/internal/HostAddresses;)V
15: astore 8
start local 8 16: new sun.security.krb5.EncryptedData
dup
aload 2
17: aload 8
invokevirtual sun.security.krb5.internal.EncKrbCredPart.asn1Encode:()[B
bipush 14
18: invokespecial sun.security.krb5.EncryptedData.<init>:(Lsun/security/krb5/EncryptionKey;[BI)V
astore 9
start local 9 19: iconst_1
anewarray sun.security.krb5.internal.Ticket
dup
iconst_0
aload 1
getfield sun.security.krb5.Credentials.ticket:Lsun/security/krb5/internal/Ticket;
aastore
astore 10
start local 10 20: aload 0
new sun.security.krb5.internal.KRBCred
dup
aload 10
aload 9
invokespecial sun.security.krb5.internal.KRBCred.<init>:([Lsun/security/krb5/internal/Ticket;Lsun/security/krb5/EncryptedData;)V
putfield sun.security.krb5.KrbCred.credMessg:Lsun/security/krb5/internal/KRBCred;
21: aload 0
getfield sun.security.krb5.KrbCred.credMessg:Lsun/security/krb5/internal/KRBCred;
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/security/krb5/KrbCred;
0 22 1 delegatedCreds Lsun/security/krb5/Credentials;
0 22 2 key Lsun/security/krb5/EncryptionKey;
2 22 3 sessionKey Lsun/security/krb5/EncryptionKey;
3 22 4 princ Lsun/security/krb5/PrincipalName;
4 22 5 tgService Lsun/security/krb5/PrincipalName;
10 22 6 credInfo Lsun/security/krb5/internal/KrbCredInfo;
12 22 7 credInfos [Lsun/security/krb5/internal/KrbCredInfo;
16 22 8 encPart Lsun/security/krb5/internal/EncKrbCredPart;
19 22 9 encEncPart Lsun/security/krb5/EncryptedData;
20 22 10 tickets [Lsun/security/krb5/internal/Ticket;
Exceptions:
throws sun.security.krb5.KrbException, java.io.IOException
MethodParameters:
Name Flags
delegatedCreds
key
public void <init>(byte[], sun.security.krb5.EncryptionKey);
descriptor: ([BLsun/security/krb5/EncryptionKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=17, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.security.krb5.KrbCred.obuf:[B
2: aload 0
aconst_null
putfield sun.security.krb5.KrbCred.credMessg:Lsun/security/krb5/internal/KRBCred;
3: aload 0
aconst_null
putfield sun.security.krb5.KrbCred.ticket:Lsun/security/krb5/internal/Ticket;
4: aload 0
aconst_null
putfield sun.security.krb5.KrbCred.encPart:Lsun/security/krb5/internal/EncKrbCredPart;
5: aload 0
aconst_null
putfield sun.security.krb5.KrbCred.creds:Lsun/security/krb5/Credentials;
6: aload 0
aconst_null
putfield sun.security.krb5.KrbCred.timeStamp:Lsun/security/krb5/internal/KerberosTime;
7: aload 0
new sun.security.krb5.internal.KRBCred
dup
aload 1
invokespecial sun.security.krb5.internal.KRBCred.<init>:([B)V
putfield sun.security.krb5.KrbCred.credMessg:Lsun/security/krb5/internal/KRBCred;
8: aload 0
aload 0
getfield sun.security.krb5.KrbCred.credMessg:Lsun/security/krb5/internal/KRBCred;
getfield sun.security.krb5.internal.KRBCred.tickets:[Lsun/security/krb5/internal/Ticket;
iconst_0
aaload
putfield sun.security.krb5.KrbCred.ticket:Lsun/security/krb5/internal/Ticket;
9: aload 0
getfield sun.security.krb5.KrbCred.credMessg:Lsun/security/krb5/internal/KRBCred;
getfield sun.security.krb5.internal.KRBCred.encPart:Lsun/security/krb5/EncryptedData;
aload 2
10: bipush 14
11: invokevirtual sun.security.krb5.EncryptedData.decrypt:(Lsun/security/krb5/EncryptionKey;I)[B
astore 3
start local 3 12: aload 0
getfield sun.security.krb5.KrbCred.credMessg:Lsun/security/krb5/internal/KRBCred;
getfield sun.security.krb5.internal.KRBCred.encPart:Lsun/security/krb5/EncryptedData;
aload 3
invokevirtual sun.security.krb5.EncryptedData.reset:([B)[B
astore 4
start local 4 13: new sun.security.util.DerValue
dup
aload 4
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 5
start local 5 14: new sun.security.krb5.internal.EncKrbCredPart
dup
aload 5
invokespecial sun.security.krb5.internal.EncKrbCredPart.<init>:(Lsun/security/util/DerValue;)V
astore 6
start local 6 15: aload 0
aload 6
getfield sun.security.krb5.internal.EncKrbCredPart.timeStamp:Lsun/security/krb5/internal/KerberosTime;
putfield sun.security.krb5.KrbCred.timeStamp:Lsun/security/krb5/internal/KerberosTime;
16: aload 6
getfield sun.security.krb5.internal.EncKrbCredPart.ticketInfo:[Lsun/security/krb5/internal/KrbCredInfo;
iconst_0
aaload
astore 7
start local 7 17: aload 7
getfield sun.security.krb5.internal.KrbCredInfo.key:Lsun/security/krb5/EncryptionKey;
astore 8
start local 8 18: aload 7
getfield sun.security.krb5.internal.KrbCredInfo.pname:Lsun/security/krb5/PrincipalName;
astore 9
start local 9 19: aload 7
getfield sun.security.krb5.internal.KrbCredInfo.flags:Lsun/security/krb5/internal/TicketFlags;
astore 10
start local 10 20: aload 7
getfield sun.security.krb5.internal.KrbCredInfo.authtime:Lsun/security/krb5/internal/KerberosTime;
astore 11
start local 11 21: aload 7
getfield sun.security.krb5.internal.KrbCredInfo.starttime:Lsun/security/krb5/internal/KerberosTime;
astore 12
start local 12 22: aload 7
getfield sun.security.krb5.internal.KrbCredInfo.endtime:Lsun/security/krb5/internal/KerberosTime;
astore 13
start local 13 23: aload 7
getfield sun.security.krb5.internal.KrbCredInfo.renewTill:Lsun/security/krb5/internal/KerberosTime;
astore 14
start local 14 24: aload 7
getfield sun.security.krb5.internal.KrbCredInfo.sname:Lsun/security/krb5/PrincipalName;
astore 15
start local 15 25: aload 7
getfield sun.security.krb5.internal.KrbCredInfo.caddr:Lsun/security/krb5/internal/HostAddresses;
astore 16
start local 16 26: getstatic sun.security.krb5.KrbCred.DEBUG:Z
ifeq 34
27: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc ">>>Delegated Creds have pname="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
28: ldc " sname="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
29: ldc " authtime="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
30: ldc " starttime="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
31: ldc " endtime="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
32: ldc "renewTill="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 14
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
34: StackMap locals: sun.security.krb5.KrbCred byte[] sun.security.krb5.EncryptionKey byte[] byte[] sun.security.util.DerValue sun.security.krb5.internal.EncKrbCredPart sun.security.krb5.internal.KrbCredInfo sun.security.krb5.EncryptionKey sun.security.krb5.PrincipalName sun.security.krb5.internal.TicketFlags sun.security.krb5.internal.KerberosTime sun.security.krb5.internal.KerberosTime sun.security.krb5.internal.KerberosTime sun.security.krb5.internal.KerberosTime sun.security.krb5.PrincipalName sun.security.krb5.internal.HostAddresses
StackMap stack:
aload 0
new sun.security.krb5.Credentials
dup
aload 0
getfield sun.security.krb5.KrbCred.ticket:Lsun/security/krb5/internal/Ticket;
aload 9
aload 15
aload 8
35: aload 10
aload 11
aload 12
aload 13
aload 14
aload 16
invokespecial sun.security.krb5.Credentials.<init>:(Lsun/security/krb5/internal/Ticket;Lsun/security/krb5/PrincipalName;Lsun/security/krb5/PrincipalName;Lsun/security/krb5/EncryptionKey;Lsun/security/krb5/internal/TicketFlags;Lsun/security/krb5/internal/KerberosTime;Lsun/security/krb5/internal/KerberosTime;Lsun/security/krb5/internal/KerberosTime;Lsun/security/krb5/internal/KerberosTime;Lsun/security/krb5/internal/HostAddresses;)V
36: putfield sun.security.krb5.KrbCred.creds:Lsun/security/krb5/Credentials;
37: return
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lsun/security/krb5/KrbCred;
0 38 1 asn1Message [B
0 38 2 key Lsun/security/krb5/EncryptionKey;
12 38 3 temp [B
13 38 4 plainText [B
14 38 5 encoding Lsun/security/util/DerValue;
15 38 6 encPart Lsun/security/krb5/internal/EncKrbCredPart;
17 38 7 credInfo Lsun/security/krb5/internal/KrbCredInfo;
18 38 8 credInfoKey Lsun/security/krb5/EncryptionKey;
19 38 9 pname Lsun/security/krb5/PrincipalName;
20 38 10 flags Lsun/security/krb5/internal/TicketFlags;
21 38 11 authtime Lsun/security/krb5/internal/KerberosTime;
22 38 12 starttime Lsun/security/krb5/internal/KerberosTime;
23 38 13 endtime Lsun/security/krb5/internal/KerberosTime;
24 38 14 renewTill Lsun/security/krb5/internal/KerberosTime;
25 38 15 sname Lsun/security/krb5/PrincipalName;
26 38 16 caddr Lsun/security/krb5/internal/HostAddresses;
Exceptions:
throws sun.security.krb5.KrbException, java.io.IOException
MethodParameters:
Name Flags
asn1Message
key
public sun.security.krb5.Credentials[] getDelegatedCreds();
descriptor: ()[Lsun/security/krb5/Credentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: iconst_1
anewarray sun.security.krb5.Credentials
dup
iconst_0
aload 0
getfield sun.security.krb5.KrbCred.creds:Lsun/security/krb5/Credentials;
aastore
astore 1
start local 1 1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/krb5/KrbCred;
1 2 1 allCreds [Lsun/security/krb5/Credentials;
public byte[] getMessage();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.krb5.KrbCred.obuf:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/krb5/KrbCred;
}
SourceFile: "KrbCred.java"