public class sun.security.jgss.spnego.NegTokenInit extends sun.security.jgss.spnego.SpNegoToken
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.jgss.spnego.NegTokenInit
super_class: sun.security.jgss.spnego.SpNegoToken
{
private byte[] mechTypes;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private org.ietf.jgss.Oid[] mechTypeList;
descriptor: [Lorg/ietf/jgss/Oid;
flags: (0x0002) ACC_PRIVATE
private sun.security.util.BitArray reqFlags;
descriptor: Lsun/security/util/BitArray;
flags: (0x0002) ACC_PRIVATE
private byte[] mechToken;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] mechListMIC;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
void <init>(byte[], sun.security.util.BitArray, byte[], byte[]);
descriptor: ([BLsun/security/util/BitArray;[B[B)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iconst_0
invokespecial sun.security.jgss.spnego.SpNegoToken.<init>:(I)V
1: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenInit.mechTypes:[B
2: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenInit.mechTypeList:[Lorg/ietf/jgss/Oid;
3: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenInit.reqFlags:Lsun/security/util/BitArray;
4: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenInit.mechToken:[B
5: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenInit.mechListMIC:[B
6: aload 0
aload 1
putfield sun.security.jgss.spnego.NegTokenInit.mechTypes:[B
7: aload 0
aload 2
putfield sun.security.jgss.spnego.NegTokenInit.reqFlags:Lsun/security/util/BitArray;
8: aload 0
aload 3
putfield sun.security.jgss.spnego.NegTokenInit.mechToken:[B
9: aload 0
aload 4
putfield sun.security.jgss.spnego.NegTokenInit.mechListMIC:[B
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/jgss/spnego/NegTokenInit;
0 11 1 mechTypes [B
0 11 2 flags Lsun/security/util/BitArray;
0 11 3 token [B
0 11 4 mechListMIC [B
MethodParameters:
Name Flags
mechTypes
flags
token
mechListMIC
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokespecial sun.security.jgss.spnego.SpNegoToken.<init>:(I)V
1: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenInit.mechTypes:[B
2: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenInit.mechTypeList:[Lorg/ietf/jgss/Oid;
3: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenInit.reqFlags:Lsun/security/util/BitArray;
4: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenInit.mechToken:[B
5: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenInit.mechListMIC:[B
6: aload 0
aload 1
invokevirtual sun.security.jgss.spnego.NegTokenInit.parseToken:([B)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/jgss/spnego/NegTokenInit;
0 8 1 in [B
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
in
final byte[] encode();
descriptor: ()[B
flags: (0x0010) ACC_FINAL
Code:
stack=7, locals=3, args_size=1
start local 0 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 1: aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechTypes:[B
ifnull 7
2: aload 1
bipush -128
3: iconst_1
iconst_0
4: invokestatic sun.security.util.DerValue.createTag:(BZB)B
5: aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechTypes:[B
6: invokevirtual sun.security.util.DerOutputStream.write:(B[B)V
7: StackMap locals: sun.security.util.DerOutputStream
StackMap stack:
aload 0
getfield sun.security.jgss.spnego.NegTokenInit.reqFlags:Lsun/security/util/BitArray;
ifnull 15
8: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 9: aload 2
aload 0
getfield sun.security.jgss.spnego.NegTokenInit.reqFlags:Lsun/security/util/BitArray;
invokevirtual sun.security.util.DerOutputStream.putUnalignedBitString:(Lsun/security/util/BitArray;)V
10: aload 1
bipush -128
11: iconst_1
iconst_1
12: invokestatic sun.security.util.DerValue.createTag:(BZB)B
13: aload 2
14: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
end local 2 15: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechToken:[B
ifnull 23
16: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 17: aload 2
aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechToken:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
18: aload 1
bipush -128
19: iconst_1
iconst_2
20: invokestatic sun.security.util.DerValue.createTag:(BZB)B
21: aload 2
22: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
end local 2 23: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechListMIC:[B
ifnull 33
24: getstatic sun.security.jgss.spnego.NegTokenInit.DEBUG:Z
ifeq 26
25: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "SpNegoToken NegTokenInit: sending MechListMIC"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
26: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 27: aload 2
aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechListMIC:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
28: aload 1
bipush -128
29: iconst_1
iconst_3
30: invokestatic sun.security.util.DerValue.createTag:(BZB)B
31: aload 2
32: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
end local 2 33: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 34: aload 2
bipush 48
aload 1
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
35: aload 2
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
36: areturn
end local 2 end local 1 37: StackMap locals: sun.security.jgss.spnego.NegTokenInit
StackMap stack: java.io.IOException
astore 1
start local 1 38: new org.ietf.jgss.GSSException
dup
bipush 10
iconst_m1
39: new java.lang.StringBuilder
dup
ldc "Invalid SPNEGO NegTokenInit token : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
40: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lsun/security/jgss/spnego/NegTokenInit;
1 37 1 initToken Lsun/security/util/DerOutputStream;
9 15 2 flags Lsun/security/util/DerOutputStream;
17 23 2 dataValue Lsun/security/util/DerOutputStream;
27 33 2 mic Lsun/security/util/DerOutputStream;
34 37 2 out Lsun/security/util/DerOutputStream;
38 41 1 e Ljava/io/IOException;
Exception table:
from to target type
0 36 37 Class java.io.IOException
Exceptions:
throws org.ietf.jgss.GSSException
private void parseToken(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: new sun.security.util.DerValue
dup
aload 1
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 2
start local 2 1: aload 2
iconst_0
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifne 3
2: new java.io.IOException
dup
ldc "SPNEGO NegoTokenInit : did not have right token type"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 3
start local 3 4: aload 3
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 6
5: new java.io.IOException
dup
ldc "SPNEGO NegoTokenInit : did not have the Sequence tag"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: sun.security.util.DerValue
StackMap stack:
iconst_m1
istore 4
start local 4 7: goto 44
8: StackMap locals: int
StackMap stack:
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 5
start local 5 9: aload 5
iconst_0
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 27
10: iload 4
iconst_0
invokestatic sun.security.jgss.spnego.NegTokenInit.checkNextField:(II)I
istore 4
11: aload 5
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
astore 6
start local 6 12: aload 0
aload 6
invokevirtual sun.security.util.DerInputStream.toByteArray:()[B
putfield sun.security.jgss.spnego.NegTokenInit.mechTypes:[B
13: aload 6
iconst_0
invokevirtual sun.security.util.DerInputStream.getSequence:(I)[Lsun/security/util/DerValue;
astore 7
start local 7 14: aload 0
aload 7
arraylength
anewarray org.ietf.jgss.Oid
putfield sun.security.jgss.spnego.NegTokenInit.mechTypeList:[Lorg/ietf/jgss/Oid;
15: aconst_null
astore 8
start local 8 16: iconst_0
istore 9
start local 9 17: goto 25
18: StackMap locals: sun.security.jgss.spnego.NegTokenInit byte[] sun.security.util.DerValue sun.security.util.DerValue int sun.security.util.DerValue sun.security.util.DerInputStream sun.security.util.DerValue[] sun.security.util.ObjectIdentifier int
StackMap stack:
aload 7
iload 9
aaload
invokevirtual sun.security.util.DerValue.getOID:()Lsun/security/util/ObjectIdentifier;
astore 8
19: getstatic sun.security.jgss.spnego.NegTokenInit.DEBUG:Z
ifeq 23
20: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "SpNegoToken NegTokenInit: reading Mechanism Oid = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
21: aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
23: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechTypeList:[Lorg/ietf/jgss/Oid;
iload 9
new org.ietf.jgss.Oid
dup
aload 8
invokevirtual sun.security.util.ObjectIdentifier.toString:()Ljava/lang/String;
invokespecial org.ietf.jgss.Oid.<init>:(Ljava/lang/String;)V
aastore
24: iinc 9 1
StackMap locals:
StackMap stack:
25: iload 9
aload 7
arraylength
if_icmplt 18
end local 9 end local 8 end local 7 end local 6 26: goto 44
StackMap locals: sun.security.jgss.spnego.NegTokenInit byte[] sun.security.util.DerValue sun.security.util.DerValue int sun.security.util.DerValue
StackMap stack:
27: aload 5
iconst_1
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 30
28: iload 4
iconst_1
invokestatic sun.security.jgss.spnego.NegTokenInit.checkNextField:(II)I
istore 4
29: goto 44
StackMap locals:
StackMap stack:
30: aload 5
iconst_2
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 36
31: iload 4
iconst_2
invokestatic sun.security.jgss.spnego.NegTokenInit.checkNextField:(II)I
istore 4
32: getstatic sun.security.jgss.spnego.NegTokenInit.DEBUG:Z
ifeq 34
33: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "SpNegoToken NegTokenInit: reading Mech Token"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
34: StackMap locals:
StackMap stack:
aload 0
aload 5
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
putfield sun.security.jgss.spnego.NegTokenInit.mechToken:[B
35: goto 44
StackMap locals:
StackMap stack:
36: aload 5
iconst_3
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 44
37: iload 4
iconst_3
invokestatic sun.security.jgss.spnego.NegTokenInit.checkNextField:(II)I
istore 4
38: invokestatic sun.security.jgss.GSSUtil.useMSInterop:()Z
ifne 44
39: aload 0
aload 5
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
putfield sun.security.jgss.spnego.NegTokenInit.mechListMIC:[B
40: getstatic sun.security.jgss.spnego.NegTokenInit.DEBUG:Z
ifeq 44
41: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "SpNegoToken NegTokenInit: MechListMIC Token = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
42: aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechListMIC:[B
invokestatic sun.security.jgss.spnego.NegTokenInit.getHexBytes:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
43: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 44: StackMap locals:
StackMap stack:
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifgt 8
end local 4 end local 3 end local 2 45: goto 50
StackMap locals: sun.security.jgss.spnego.NegTokenInit byte[]
StackMap stack: java.io.IOException
46: astore 2
start local 2 47: new org.ietf.jgss.GSSException
dup
bipush 10
iconst_m1
48: new java.lang.StringBuilder
dup
ldc "Invalid SPNEGO NegTokenInit token : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
49: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
end local 2 50: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lsun/security/jgss/spnego/NegTokenInit;
0 51 1 in [B
1 45 2 der Lsun/security/util/DerValue;
4 45 3 tmp1 Lsun/security/util/DerValue;
7 45 4 lastField I
9 44 5 tmp2 Lsun/security/util/DerValue;
12 26 6 mValue Lsun/security/util/DerInputStream;
14 26 7 mList [Lsun/security/util/DerValue;
16 26 8 mech Lsun/security/util/ObjectIdentifier;
17 26 9 i I
47 50 2 e Ljava/io/IOException;
Exception table:
from to target type
0 45 46 Class java.io.IOException
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
in
byte[] getMechTypes();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechTypes:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/spnego/NegTokenInit;
public org.ietf.jgss.Oid[] getMechTypeList();
descriptor: ()[Lorg/ietf/jgss/Oid;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechTypeList:[Lorg/ietf/jgss/Oid;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/spnego/NegTokenInit;
sun.security.util.BitArray getReqFlags();
descriptor: ()Lsun/security/util/BitArray;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.spnego.NegTokenInit.reqFlags:Lsun/security/util/BitArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/spnego/NegTokenInit;
public byte[] getMechToken();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechToken:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/spnego/NegTokenInit;
byte[] getMechListMIC();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.spnego.NegTokenInit.mechListMIC:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/spnego/NegTokenInit;
}
SourceFile: "NegTokenInit.java"