class sun.security.jgss.krb5.AcceptSecContextToken extends sun.security.jgss.krb5.InitialToken
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.jgss.krb5.AcceptSecContextToken
super_class: sun.security.jgss.krb5.InitialToken
{
private sun.security.krb5.KrbApRep apRep;
descriptor: Lsun/security/krb5/KrbApRep;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.security.jgss.krb5.Krb5Context, sun.security.krb5.KrbApReq);
descriptor: (Lsun/security/jgss/krb5/Krb5Context;Lsun/security/krb5/KrbApReq;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.security.jgss.krb5.InitialToken.<init>:()V
1: aload 0
aconst_null
putfield sun.security.jgss.krb5.AcceptSecContextToken.apRep:Lsun/security/krb5/KrbApRep;
2: ldc "sun.security.krb5.acceptor.subkey"
invokestatic sun.security.action.GetBooleanAction.privilegedGetProperty:(Ljava/lang/String;)Z
3: istore 3
start local 3 4: iconst_1
istore 4
start local 4 5: aconst_null
astore 5
start local 5 6: iload 3
ifeq 9
7: new sun.security.krb5.EncryptionKey
dup
aload 2
invokevirtual sun.security.krb5.KrbApReq.getCreds:()Lsun/security/krb5/Credentials;
invokevirtual sun.security.krb5.Credentials.getSessionKey:()Lsun/security/krb5/EncryptionKey;
invokespecial sun.security.krb5.EncryptionKey.<init>:(Lsun/security/krb5/EncryptionKey;)V
astore 5
8: aload 1
iconst_2
aload 5
invokevirtual sun.security.jgss.krb5.Krb5Context.setKey:(ILsun/security/krb5/EncryptionKey;)V
9: StackMap locals: sun.security.jgss.krb5.AcceptSecContextToken sun.security.jgss.krb5.Krb5Context sun.security.krb5.KrbApReq int int sun.security.krb5.EncryptionKey
StackMap stack:
aload 0
new sun.security.krb5.KrbApRep
dup
aload 2
iload 4
aload 5
invokespecial sun.security.krb5.KrbApRep.<init>:(Lsun/security/krb5/KrbApReq;ZLsun/security/krb5/EncryptionKey;)V
putfield sun.security.jgss.krb5.AcceptSecContextToken.apRep:Lsun/security/krb5/KrbApRep;
10: aload 1
aload 0
getfield sun.security.jgss.krb5.AcceptSecContextToken.apRep:Lsun/security/krb5/KrbApRep;
invokevirtual sun.security.krb5.KrbApRep.getSeqNumber:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual sun.security.jgss.krb5.Krb5Context.resetMySequenceNumber:(I)V
11: return
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 12 0 this Lsun/security/jgss/krb5/AcceptSecContextToken;
0 12 1 context Lsun/security/jgss/krb5/Krb5Context;
0 12 2 apReq Lsun/security/krb5/KrbApReq;
4 12 3 useSubkey Z
5 12 4 useSequenceNumber Z
6 12 5 subKey Lsun/security/krb5/EncryptionKey;
Exceptions:
throws sun.security.krb5.KrbException, java.io.IOException, org.ietf.jgss.GSSException
MethodParameters:
Name Flags
context
apReq
public void <init>(sun.security.jgss.krb5.Krb5Context, sun.security.krb5.Credentials, sun.security.krb5.KrbApReq, java.io.InputStream);
descriptor: (Lsun/security/jgss/krb5/Krb5Context;Lsun/security/krb5/Credentials;Lsun/security/krb5/KrbApReq;Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial sun.security.jgss.krb5.InitialToken.<init>:()V
1: aload 0
aconst_null
putfield sun.security.jgss.krb5.AcceptSecContextToken.apRep:Lsun/security/krb5/KrbApRep;
2: aload 4
invokevirtual java.io.InputStream.read:()I
bipush 8
ishl
aload 4
invokevirtual java.io.InputStream.read:()I
ior
istore 5
start local 5 3: iload 5
sipush 512
if_icmpeq 7
4: new org.ietf.jgss.GSSException
dup
bipush 10
iconst_m1
5: ldc "AP_REP token id does not match!"
6: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
7: StackMap locals: sun.security.jgss.krb5.AcceptSecContextToken sun.security.jgss.krb5.Krb5Context sun.security.krb5.Credentials sun.security.krb5.KrbApReq java.io.InputStream int
StackMap stack:
new sun.security.util.DerValue
dup
aload 4
invokespecial sun.security.util.DerValue.<init>:(Ljava/io/InputStream;)V
invokevirtual sun.security.util.DerValue.toByteArray:()[B
8: astore 6
start local 6 9: new sun.security.krb5.KrbApRep
dup
aload 6
aload 2
aload 3
invokespecial sun.security.krb5.KrbApRep.<init>:([BLsun/security/krb5/Credentials;Lsun/security/krb5/KrbApReq;)V
astore 7
start local 7 10: aload 7
invokevirtual sun.security.krb5.KrbApRep.getSubKey:()Lsun/security/krb5/EncryptionKey;
astore 8
start local 8 11: aload 8
ifnull 13
12: aload 1
iconst_2
aload 8
invokevirtual sun.security.jgss.krb5.Krb5Context.setKey:(ILsun/security/krb5/EncryptionKey;)V
13: StackMap locals: byte[] sun.security.krb5.KrbApRep sun.security.krb5.EncryptionKey
StackMap stack:
aload 7
invokevirtual sun.security.krb5.KrbApRep.getSeqNumber:()Ljava/lang/Integer;
astore 9
start local 9 14: aload 9
ifnull 16
15: aload 9
invokevirtual java.lang.Integer.intValue:()I
goto 17
16: StackMap locals: java.lang.Integer
StackMap stack:
iconst_0
17: StackMap locals:
StackMap stack: int
istore 10
start local 10 18: aload 1
iload 10
invokevirtual sun.security.jgss.krb5.Krb5Context.resetPeerSequenceNumber:(I)V
19: return
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 20 0 this Lsun/security/jgss/krb5/AcceptSecContextToken;
0 20 1 context Lsun/security/jgss/krb5/Krb5Context;
0 20 2 serviceCreds Lsun/security/krb5/Credentials;
0 20 3 apReq Lsun/security/krb5/KrbApReq;
0 20 4 is Ljava/io/InputStream;
3 20 5 tokenId I
9 20 6 apRepBytes [B
10 20 7 apRep Lsun/security/krb5/KrbApRep;
11 20 8 subKey Lsun/security/krb5/EncryptionKey;
14 20 9 apRepSeqNumber Ljava/lang/Integer;
18 20 10 peerSeqNumber I
Exceptions:
throws java.io.IOException, org.ietf.jgss.GSSException, sun.security.krb5.KrbException
MethodParameters:
Name Flags
context
serviceCreds
apReq
is
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.AcceptSecContextToken.apRep:Lsun/security/krb5/KrbApRep;
invokevirtual sun.security.krb5.KrbApRep.getMessage:()[B
astore 1
start local 1 1: iconst_2
aload 1
arraylength
iadd
newarray 8
astore 2
start local 2 2: sipush 512
aload 2
iconst_0
invokestatic sun.security.jgss.krb5.AcceptSecContextToken.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/AcceptSecContextToken;
1 5 1 apRepBytes [B
2 5 2 retVal [B
Exceptions:
throws java.io.IOException
}
SourceFile: "AcceptSecContextToken.java"