class sun.security.jgss.krb5.InitSecContextToken extends sun.security.jgss.krb5.InitialToken
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.jgss.krb5.InitSecContextToken
super_class: sun.security.jgss.krb5.InitialToken
{
private static final boolean ACCEPTOR_USE_INITIATOR_SEQNUM;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private sun.security.krb5.KrbApReq apReq;
descriptor: Lsun/security/krb5/KrbApReq;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=0
0: ldc "sun.security.krb5.acceptor.sequence.number.nonmutual"
astore 0
start local 0 1: aload 0
ldc "initiator"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 2: aload 1
ldc "initiator"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: iconst_1
putstatic sun.security.jgss.krb5.InitSecContextToken.ACCEPTOR_USE_INITIATOR_SEQNUM:Z
4: goto 11
StackMap locals: java.lang.String java.lang.String
StackMap stack:
5: aload 1
ldc "zero"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
aload 1
ldc "0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: StackMap locals:
StackMap stack:
iconst_0
putstatic sun.security.jgss.krb5.InitSecContextToken.ACCEPTOR_USE_INITIATOR_SEQNUM:Z
7: goto 11
8: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Unrecognized value for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 11: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 11 0 propName Ljava/lang/String;
2 11 1 s Ljava/lang/String;
void <init>(sun.security.jgss.krb5.Krb5Context, sun.security.krb5.Credentials, sun.security.krb5.Credentials);
descriptor: (Lsun/security/jgss/krb5/Krb5Context;Lsun/security/krb5/Credentials;Lsun/security/krb5/Credentials;)V
flags: (0x0000)
Code:
stack=8, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial sun.security.jgss.krb5.InitialToken.<init>:()V
1: aload 0
aconst_null
putfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
2: aload 1
invokevirtual sun.security.jgss.krb5.Krb5Context.getMutualAuthState:()Z
istore 4
start local 4 3: iconst_1
istore 5
start local 5 4: iconst_1
istore 6
start local 6 5: new sun.security.jgss.krb5.InitialToken$OverloadedChecksum
dup
aload 0
aload 1
aload 2
aload 3
invokespecial sun.security.jgss.krb5.InitialToken$OverloadedChecksum.<init>:(Lsun/security/jgss/krb5/InitialToken;Lsun/security/jgss/krb5/Krb5Context;Lsun/security/krb5/Credentials;Lsun/security/krb5/Credentials;)V
6: astore 7
start local 7 7: aload 7
invokevirtual sun.security.jgss.krb5.InitialToken$OverloadedChecksum.getChecksum:()Lsun/security/krb5/Checksum;
astore 8
start local 8 8: aload 1
aload 3
invokevirtual sun.security.krb5.Credentials.getFlags:()[Z
invokevirtual sun.security.jgss.krb5.Krb5Context.setTktFlags:([Z)V
9: aload 1
10: new sun.security.krb5.internal.KerberosTime
dup
aload 3
invokevirtual sun.security.krb5.Credentials.getAuthTime:()Ljava/util/Date;
invokespecial sun.security.krb5.internal.KerberosTime.<init>:(Ljava/util/Date;)V
invokevirtual sun.security.krb5.internal.KerberosTime.toString:()Ljava/lang/String;
11: invokevirtual sun.security.jgss.krb5.Krb5Context.setAuthTime:(Ljava/lang/String;)V
12: aload 0
new sun.security.krb5.KrbApReq
dup
aload 3
13: iload 4
14: iload 5
15: iload 6
16: aload 8
invokespecial sun.security.krb5.KrbApReq.<init>:(Lsun/security/krb5/Credentials;ZZZLsun/security/krb5/Checksum;)V
17: putfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
18: aload 1
aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
invokevirtual sun.security.krb5.KrbApReq.getSeqNumber:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual sun.security.jgss.krb5.Krb5Context.resetMySequenceNumber:(I)V
19: aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
invokevirtual sun.security.krb5.KrbApReq.getSubKey:()Lsun/security/krb5/EncryptionKey;
astore 9
start local 9 20: aload 9
ifnull 22
21: aload 1
iconst_1
aload 9
invokevirtual sun.security.jgss.krb5.Krb5Context.setKey:(ILsun/security/krb5/EncryptionKey;)V
goto 23
22: StackMap locals: sun.security.jgss.krb5.InitSecContextToken sun.security.jgss.krb5.Krb5Context sun.security.krb5.Credentials sun.security.krb5.Credentials int int int sun.security.jgss.krb5.InitialToken$OverloadedChecksum sun.security.krb5.Checksum sun.security.krb5.EncryptionKey
StackMap stack:
aload 1
iconst_0
aload 3
invokevirtual sun.security.krb5.Credentials.getSessionKey:()Lsun/security/krb5/EncryptionKey;
invokevirtual sun.security.jgss.krb5.Krb5Context.setKey:(ILsun/security/krb5/EncryptionKey;)V
23: StackMap locals:
StackMap stack:
iload 4
ifne 29
24: aload 1
25: getstatic sun.security.jgss.krb5.InitSecContextToken.ACCEPTOR_USE_INITIATOR_SEQNUM:Z
ifeq 27
26: aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
invokevirtual sun.security.krb5.KrbApReq.getSeqNumber:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
goto 28
27: StackMap locals:
StackMap stack: sun.security.jgss.krb5.Krb5Context
iconst_0
28: StackMap locals: sun.security.jgss.krb5.InitSecContextToken sun.security.jgss.krb5.Krb5Context sun.security.krb5.Credentials sun.security.krb5.Credentials int int int sun.security.jgss.krb5.InitialToken$OverloadedChecksum sun.security.krb5.Checksum sun.security.krb5.EncryptionKey
StackMap stack: sun.security.jgss.krb5.Krb5Context int
invokevirtual sun.security.jgss.krb5.Krb5Context.resetPeerSequenceNumber:(I)V
29: StackMap locals:
StackMap stack:
return
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 30 0 this Lsun/security/jgss/krb5/InitSecContextToken;
0 30 1 context Lsun/security/jgss/krb5/Krb5Context;
0 30 2 tgt Lsun/security/krb5/Credentials;
0 30 3 serviceTicket Lsun/security/krb5/Credentials;
3 30 4 mutualRequired Z
4 30 5 useSubkey Z
5 30 6 useSequenceNumber Z
7 30 7 gssChecksum Lsun/security/jgss/krb5/InitialToken$OverloadedChecksum;
8 30 8 checksum Lsun/security/krb5/Checksum;
20 30 9 subKey Lsun/security/krb5/EncryptionKey;
Exceptions:
throws sun.security.krb5.KrbException, java.io.IOException, org.ietf.jgss.GSSException
MethodParameters:
Name Flags
context
tgt
serviceTicket
void <init>(sun.security.jgss.krb5.Krb5Context, sun.security.krb5.EncryptionKey[], java.io.InputStream);
descriptor: (Lsun/security/jgss/krb5/Krb5Context;[Lsun/security/krb5/EncryptionKey;Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=7, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial sun.security.jgss.krb5.InitialToken.<init>:()V
1: aload 0
aconst_null
putfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
2: aload 3
invokevirtual java.io.InputStream.read:()I
bipush 8
ishl
aload 3
invokevirtual java.io.InputStream.read:()I
ior
istore 4
start local 4 3: iload 4
sipush 256
if_icmpeq 7
4: new org.ietf.jgss.GSSException
dup
bipush 10
iconst_m1
5: ldc "AP_REQ token id does not match!"
6: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
7: StackMap locals: sun.security.jgss.krb5.InitSecContextToken sun.security.jgss.krb5.Krb5Context sun.security.krb5.EncryptionKey[] java.io.InputStream int
StackMap stack:
new sun.security.util.DerValue
dup
aload 3
invokespecial sun.security.util.DerValue.<init>:(Ljava/io/InputStream;)V
invokevirtual sun.security.util.DerValue.toByteArray:()[B
8: astore 5
start local 5 9: aconst_null
astore 6
start local 6 10: aload 1
invokevirtual sun.security.jgss.krb5.Krb5Context.getChannelBinding:()Lorg/ietf/jgss/ChannelBinding;
ifnull 12
11: aload 1
invokevirtual sun.security.jgss.krb5.Krb5Context.getChannelBinding:()Lorg/ietf/jgss/ChannelBinding;
invokevirtual org.ietf.jgss.ChannelBinding.getInitiatorAddress:()Ljava/net/InetAddress;
astore 6
12: StackMap locals: byte[] java.net.InetAddress
StackMap stack:
aload 0
new sun.security.krb5.KrbApReq
dup
aload 5
aload 2
aload 6
invokespecial sun.security.krb5.KrbApReq.<init>:([B[Lsun/security/krb5/EncryptionKey;Ljava/net/InetAddress;)V
putfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
13: aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
invokevirtual sun.security.krb5.KrbApReq.getCreds:()Lsun/security/krb5/Credentials;
invokevirtual sun.security.krb5.Credentials.getSessionKey:()Lsun/security/krb5/EncryptionKey;
astore 7
start local 7 14: aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
invokevirtual sun.security.krb5.KrbApReq.getSubKey:()Lsun/security/krb5/EncryptionKey;
astore 8
start local 8 15: aload 8
ifnull 18
16: aload 1
iconst_1
aload 8
invokevirtual sun.security.jgss.krb5.Krb5Context.setKey:(ILsun/security/krb5/EncryptionKey;)V
17: goto 19
18: StackMap locals: sun.security.krb5.EncryptionKey sun.security.krb5.EncryptionKey
StackMap stack:
aload 1
iconst_0
aload 7
invokevirtual sun.security.jgss.krb5.Krb5Context.setKey:(ILsun/security/krb5/EncryptionKey;)V
19: StackMap locals:
StackMap stack:
new sun.security.jgss.krb5.InitialToken$OverloadedChecksum
dup
aload 0
20: aload 1
aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
invokevirtual sun.security.krb5.KrbApReq.getChecksum:()Lsun/security/krb5/Checksum;
aload 7
aload 8
21: invokespecial sun.security.jgss.krb5.InitialToken$OverloadedChecksum.<init>:(Lsun/security/jgss/krb5/InitialToken;Lsun/security/jgss/krb5/Krb5Context;Lsun/security/krb5/Checksum;Lsun/security/krb5/EncryptionKey;Lsun/security/krb5/EncryptionKey;)V
astore 9
start local 9 22: aload 9
aload 1
invokevirtual sun.security.jgss.krb5.InitialToken$OverloadedChecksum.setContextFlags:(Lsun/security/jgss/krb5/Krb5Context;)V
23: aload 9
invokevirtual sun.security.jgss.krb5.InitialToken$OverloadedChecksum.getDelegatedCreds:()Lsun/security/krb5/Credentials;
astore 10
start local 10 24: aload 10
ifnull 30
25: aload 1
invokevirtual sun.security.jgss.krb5.Krb5Context.getSrcName:()Lsun/security/jgss/spi/GSSNameSpi;
checkcast sun.security.jgss.krb5.Krb5NameElement
26: aload 10
27: invokestatic sun.security.jgss.krb5.Krb5InitCredential.getInstance:(Lsun/security/jgss/krb5/Krb5NameElement;Lsun/security/krb5/Credentials;)Lsun/security/jgss/krb5/Krb5InitCredential;
28: astore 11
start local 11 29: aload 1
aload 11
invokevirtual sun.security.jgss.krb5.Krb5Context.setDelegCred:(Lsun/security/jgss/krb5/Krb5CredElement;)V
end local 11 30: StackMap locals: sun.security.jgss.krb5.InitialToken$OverloadedChecksum sun.security.krb5.Credentials
StackMap stack:
aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
invokevirtual sun.security.krb5.KrbApReq.getSeqNumber:()Ljava/lang/Integer;
astore 11
start local 11 31: aload 11
ifnull 33
32: aload 11
invokevirtual java.lang.Integer.intValue:()I
goto 34
33: StackMap locals: java.lang.Integer
StackMap stack:
iconst_0
34: StackMap locals:
StackMap stack: int
istore 12
start local 12 35: aload 1
iload 12
invokevirtual sun.security.jgss.krb5.Krb5Context.resetPeerSequenceNumber:(I)V
36: aload 1
invokevirtual sun.security.jgss.krb5.Krb5Context.getMutualAuthState:()Z
ifne 42
37: aload 1
38: getstatic sun.security.jgss.krb5.InitSecContextToken.ACCEPTOR_USE_INITIATOR_SEQNUM:Z
ifeq 40
39: iload 12
goto 41
40: StackMap locals: sun.security.jgss.krb5.InitSecContextToken sun.security.jgss.krb5.Krb5Context sun.security.krb5.EncryptionKey[] java.io.InputStream int byte[] java.net.InetAddress sun.security.krb5.EncryptionKey sun.security.krb5.EncryptionKey sun.security.jgss.krb5.InitialToken$OverloadedChecksum sun.security.krb5.Credentials java.lang.Integer int
StackMap stack: sun.security.jgss.krb5.Krb5Context
iconst_0
41: StackMap locals: sun.security.jgss.krb5.InitSecContextToken sun.security.jgss.krb5.Krb5Context sun.security.krb5.EncryptionKey[] java.io.InputStream int byte[] java.net.InetAddress sun.security.krb5.EncryptionKey sun.security.krb5.EncryptionKey sun.security.jgss.krb5.InitialToken$OverloadedChecksum sun.security.krb5.Credentials java.lang.Integer int
StackMap stack: sun.security.jgss.krb5.Krb5Context int
invokevirtual sun.security.jgss.krb5.Krb5Context.resetMySequenceNumber:(I)V
42: StackMap locals:
StackMap stack:
aload 1
43: new sun.security.krb5.internal.KerberosTime
dup
aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
invokevirtual sun.security.krb5.KrbApReq.getCreds:()Lsun/security/krb5/Credentials;
invokevirtual sun.security.krb5.Credentials.getAuthTime:()Ljava/util/Date;
invokespecial sun.security.krb5.internal.KerberosTime.<init>:(Ljava/util/Date;)V
invokevirtual sun.security.krb5.internal.KerberosTime.toString:()Ljava/lang/String;
44: invokevirtual sun.security.jgss.krb5.Krb5Context.setAuthTime:(Ljava/lang/String;)V
45: aload 1
aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
invokevirtual sun.security.krb5.KrbApReq.getCreds:()Lsun/security/krb5/Credentials;
invokevirtual sun.security.krb5.Credentials.getFlags:()[Z
invokevirtual sun.security.jgss.krb5.Krb5Context.setTktFlags:([Z)V
46: aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
invokevirtual sun.security.krb5.KrbApReq.getCreds:()Lsun/security/krb5/Credentials;
invokevirtual sun.security.krb5.Credentials.getAuthzData:()Lsun/security/krb5/internal/AuthorizationData;
astore 13
start local 13 47: aload 13
ifnonnull 50
48: aload 1
aconst_null
invokevirtual sun.security.jgss.krb5.Krb5Context.setAuthzData:([Lcom/sun/security/jgss/AuthorizationDataEntry;)V
49: goto 60
50: StackMap locals: sun.security.krb5.internal.AuthorizationData
StackMap stack:
aload 13
invokevirtual sun.security.krb5.internal.AuthorizationData.count:()I
anewarray com.sun.security.jgss.AuthorizationDataEntry
51: astore 14
start local 14 52: iconst_0
istore 15
start local 15 53: goto 58
54: StackMap locals: com.sun.security.jgss.AuthorizationDataEntry[] int
StackMap stack:
aload 14
iload 15
new com.sun.security.jgss.AuthorizationDataEntry
dup
55: aload 13
iload 15
invokevirtual sun.security.krb5.internal.AuthorizationData.item:(I)Lsun/security/krb5/internal/AuthorizationDataEntry;
getfield sun.security.krb5.internal.AuthorizationDataEntry.adType:I
aload 13
iload 15
invokevirtual sun.security.krb5.internal.AuthorizationData.item:(I)Lsun/security/krb5/internal/AuthorizationDataEntry;
getfield sun.security.krb5.internal.AuthorizationDataEntry.adData:[B
invokespecial com.sun.security.jgss.AuthorizationDataEntry.<init>:(I[B)V
56: aastore
57: iinc 15 1
StackMap locals:
StackMap stack:
58: iload 15
aload 13
invokevirtual sun.security.krb5.internal.AuthorizationData.count:()I
if_icmplt 54
end local 15 59: aload 1
aload 14
invokevirtual sun.security.jgss.krb5.Krb5Context.setAuthzData:([Lcom/sun/security/jgss/AuthorizationDataEntry;)V
end local 14 60: StackMap locals:
StackMap stack:
return
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 61 0 this Lsun/security/jgss/krb5/InitSecContextToken;
0 61 1 context Lsun/security/jgss/krb5/Krb5Context;
0 61 2 keys [Lsun/security/krb5/EncryptionKey;
0 61 3 is Ljava/io/InputStream;
3 61 4 tokenId I
9 61 5 apReqBytes [B
10 61 6 addr Ljava/net/InetAddress;
14 61 7 sessionKey Lsun/security/krb5/EncryptionKey;
15 61 8 subKey Lsun/security/krb5/EncryptionKey;
22 61 9 gssChecksum Lsun/security/jgss/krb5/InitialToken$OverloadedChecksum;
24 61 10 delegCred Lsun/security/krb5/Credentials;
29 30 11 credElement Lsun/security/jgss/krb5/Krb5CredElement;
31 61 11 apReqSeqNumber Ljava/lang/Integer;
35 61 12 peerSeqNumber I
47 61 13 ad Lsun/security/krb5/internal/AuthorizationData;
52 60 14 authzData [Lcom/sun/security/jgss/AuthorizationDataEntry;
53 59 15 i I
Exceptions:
throws java.io.IOException, org.ietf.jgss.GSSException, sun.security.krb5.KrbException
MethodParameters:
Name Flags
context
keys
is
public final sun.security.krb5.KrbApReq getKrbApReq();
descriptor: ()Lsun/security/krb5/KrbApReq;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/InitSecContextToken;
public final byte[] encode();
descriptor: ()[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.krb5.InitSecContextToken.apReq:Lsun/security/krb5/KrbApReq;
invokevirtual sun.security.krb5.KrbApReq.getMessage:()[B
astore 1
start local 1 1: iconst_2
aload 1
arraylength
iadd
newarray 8
astore 2
start local 2 2: sipush 256
aload 2
iconst_0
invokestatic sun.security.jgss.krb5.InitSecContextToken.writeInt:(I[BI)I
pop
3: aload 1
iconst_0
aload 2
iconst_2
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/jgss/krb5/InitSecContextToken;
1 5 1 apReqBytes [B
2 5 2 retVal [B
Exceptions:
throws java.io.IOException
}
SourceFile: "InitSecContextToken.java"
InnerClasses:
protected OverloadedChecksum = sun.security.jgss.krb5.InitialToken$OverloadedChecksum of sun.security.jgss.krb5.InitialToken