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 sun.security.krb5.KrbApReq apReq;
descriptor: Lsun/security/krb5/KrbApReq;
flags: (0x0002) ACC_PRIVATE
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 25
24: aload 1
iconst_0
invokevirtual sun.security.jgss.krb5.Krb5Context.resetPeerSequenceNumber:(I)V
25: 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 26 0 this Lsun/security/jgss/krb5/InitSecContextToken;
0 26 1 context Lsun/security/jgss/krb5/Krb5Context;
0 26 2 tgt Lsun/security/krb5/Credentials;
0 26 3 serviceTicket Lsun/security/krb5/Credentials;
3 26 4 mutualRequired Z
4 26 5 useSubkey Z
5 26 6 useSequenceNumber Z
7 26 7 gssChecksum Lsun/security/jgss/krb5/InitialToken$OverloadedChecksum;
8 26 8 checksum Lsun/security/krb5/Checksum;
20 26 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.jgss.krb5.Krb5AcceptCredential, java.io.InputStream);
descriptor: (Lsun/security/jgss/krb5/Krb5Context;Lsun/security/jgss/krb5/Krb5AcceptCredential;Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=7, locals=14, 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.jgss.krb5.Krb5AcceptCredential 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>:([BLsun/security/jgss/krb5/Krb5AcceptCredential;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 38
37: aload 1
iload 12
invokevirtual sun.security.jgss.krb5.Krb5Context.resetMySequenceNumber:(I)V
38: StackMap locals: int
StackMap stack:
aload 1
39: 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;
40: invokevirtual sun.security.jgss.krb5.Krb5Context.setAuthTime:(Ljava/lang/String;)V
41: 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
42: 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 43: aload 1
aload 13
invokevirtual sun.security.jgss.krb5.Krb5Context.setAuthzData:(Lsun/security/krb5/internal/AuthorizationData;)V
44: 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 45 0 this Lsun/security/jgss/krb5/InitSecContextToken;
0 45 1 context Lsun/security/jgss/krb5/Krb5Context;
0 45 2 cred Lsun/security/jgss/krb5/Krb5AcceptCredential;
0 45 3 is Ljava/io/InputStream;
3 45 4 tokenId I
9 45 5 apReqBytes [B
10 45 6 addr Ljava/net/InetAddress;
14 45 7 sessionKey Lsun/security/krb5/EncryptionKey;
15 45 8 subKey Lsun/security/krb5/EncryptionKey;
22 45 9 gssChecksum Lsun/security/jgss/krb5/InitialToken$OverloadedChecksum;
24 45 10 delegCred Lsun/security/krb5/Credentials;
29 30 11 credElement Lsun/security/jgss/krb5/Krb5CredElement;
31 45 11 apReqSeqNumber Ljava/lang/Integer;
35 45 12 peerSeqNumber I
43 45 13 ad Lsun/security/krb5/internal/AuthorizationData;
Exceptions:
throws java.io.IOException, org.ietf.jgss.GSSException, sun.security.krb5.KrbException
MethodParameters:
Name Flags
context
cred
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