public class sun.security.jgss.spnego.NegTokenTarg 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.NegTokenTarg
super_class: sun.security.jgss.spnego.SpNegoToken
{
private int negResult;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.ietf.jgss.Oid supportedMech;
descriptor: Lorg/ietf/jgss/Oid;
flags: (0x0002) ACC_PRIVATE
private byte[] responseToken;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] mechListMIC;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
void <init>(int, org.ietf.jgss.Oid, byte[], byte[]);
descriptor: (ILorg/ietf/jgss/Oid;[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_1
invokespecial sun.security.jgss.spnego.SpNegoToken.<init>:(I)V
1: aload 0
iconst_0
putfield sun.security.jgss.spnego.NegTokenTarg.negResult:I
2: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenTarg.supportedMech:Lorg/ietf/jgss/Oid;
3: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenTarg.responseToken:[B
4: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenTarg.mechListMIC:[B
5: aload 0
iload 1
putfield sun.security.jgss.spnego.NegTokenTarg.negResult:I
6: aload 0
aload 2
putfield sun.security.jgss.spnego.NegTokenTarg.supportedMech:Lorg/ietf/jgss/Oid;
7: aload 0
aload 3
putfield sun.security.jgss.spnego.NegTokenTarg.responseToken:[B
8: aload 0
aload 4
putfield sun.security.jgss.spnego.NegTokenTarg.mechListMIC:[B
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/jgss/spnego/NegTokenTarg;
0 10 1 result I
0 10 2 mech Lorg/ietf/jgss/Oid;
0 10 3 token [B
0 10 4 mechListMIC [B
MethodParameters:
Name Flags
result
mech
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_1
invokespecial sun.security.jgss.spnego.SpNegoToken.<init>:(I)V
1: aload 0
iconst_0
putfield sun.security.jgss.spnego.NegTokenTarg.negResult:I
2: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenTarg.supportedMech:Lorg/ietf/jgss/Oid;
3: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenTarg.responseToken:[B
4: aload 0
aconst_null
putfield sun.security.jgss.spnego.NegTokenTarg.mechListMIC:[B
5: aload 0
aload 1
invokevirtual sun.security.jgss.spnego.NegTokenTarg.parseToken:([B)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/jgss/spnego/NegTokenTarg;
0 7 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=5, 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: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 2: aload 2
aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.negResult:I
invokevirtual sun.security.util.DerOutputStream.putEnumerated:(I)V
3: aload 1
bipush -128
4: iconst_1
iconst_0
5: invokestatic sun.security.util.DerValue.createTag:(BZB)B
6: aload 2
7: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
8: aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.supportedMech:Lorg/ietf/jgss/Oid;
ifnull 17
9: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 10: aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.supportedMech:Lorg/ietf/jgss/Oid;
invokevirtual org.ietf.jgss.Oid.getDER:()[B
astore 4
start local 4 11: aload 3
aload 4
invokevirtual sun.security.util.DerOutputStream.write:([B)V
12: aload 1
bipush -128
13: iconst_1
iconst_1
14: invokestatic sun.security.util.DerValue.createTag:(BZB)B
15: aload 3
16: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
end local 4 end local 3 17: StackMap locals: sun.security.util.DerOutputStream sun.security.util.DerOutputStream
StackMap stack:
aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.responseToken:[B
ifnull 25
18: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 19: aload 3
aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.responseToken:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
20: aload 1
bipush -128
21: iconst_1
iconst_2
22: invokestatic sun.security.util.DerValue.createTag:(BZB)B
23: aload 3
24: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
end local 3 25: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.mechListMIC:[B
ifnull 36
26: getstatic sun.security.jgss.spnego.NegTokenTarg.DEBUG:Z
ifeq 28
27: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "SpNegoToken NegTokenTarg: sending MechListMIC"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
28: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 29: aload 3
aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.mechListMIC:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
30: aload 1
bipush -128
31: iconst_1
iconst_3
32: invokestatic sun.security.util.DerValue.createTag:(BZB)B
33: aload 3
34: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
end local 3 35: goto 47
StackMap locals:
StackMap stack:
36: invokestatic sun.security.jgss.GSSUtil.useMSInterop:()Z
ifeq 47
37: aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.responseToken:[B
ifnull 47
38: getstatic sun.security.jgss.spnego.NegTokenTarg.DEBUG:Z
ifeq 40
39: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "SpNegoToken NegTokenTarg: sending additional token for MS Interop"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
40: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 41: aload 3
aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.responseToken:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
42: aload 1
bipush -128
43: iconst_1
iconst_3
44: invokestatic sun.security.util.DerValue.createTag:(BZB)B
45: aload 3
46: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
end local 3 47: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 48: aload 3
bipush 48
aload 1
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
49: aload 3
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
50: areturn
end local 3 end local 2 end local 1 51: StackMap locals: sun.security.jgss.spnego.NegTokenTarg
StackMap stack: java.io.IOException
astore 1
start local 1 52: new org.ietf.jgss.GSSException
dup
bipush 10
iconst_m1
53: new java.lang.StringBuilder
dup
ldc "Invalid SPNEGO NegTokenTarg 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;
54: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 this Lsun/security/jgss/spnego/NegTokenTarg;
1 51 1 targToken Lsun/security/util/DerOutputStream;
2 51 2 result Lsun/security/util/DerOutputStream;
10 17 3 mech Lsun/security/util/DerOutputStream;
11 17 4 mechType [B
19 25 3 rspToken Lsun/security/util/DerOutputStream;
29 35 3 mic Lsun/security/util/DerOutputStream;
41 47 3 rspToken Lsun/security/util/DerOutputStream;
48 51 3 out Lsun/security/util/DerOutputStream;
52 55 1 e Ljava/io/IOException;
Exception table:
from to target type
0 50 51 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=7, 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_1
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifne 3
2: new java.io.IOException
dup
ldc "SPNEGO NegoTokenTarg : did not have the 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 NegoTokenTarg : 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 38
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 17
10: iload 4
iconst_0
invokestatic sun.security.jgss.spnego.NegTokenTarg.checkNextField:(II)I
istore 4
11: aload 0
aload 5
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getEnumerated:()I
putfield sun.security.jgss.spnego.NegTokenTarg.negResult:I
12: getstatic sun.security.jgss.spnego.NegTokenTarg.DEBUG:Z
ifeq 38
13: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "SpNegoToken NegTokenTarg: negotiated result = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.negResult:I
invokestatic sun.security.jgss.spnego.NegTokenTarg.getNegoResultString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
16: goto 38
StackMap locals: sun.security.util.DerValue
StackMap stack:
17: aload 5
iconst_1
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 26
18: iload 4
iconst_1
invokestatic sun.security.jgss.spnego.NegTokenTarg.checkNextField:(II)I
istore 4
19: aload 5
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOID:()Lsun/security/util/ObjectIdentifier;
astore 6
start local 6 20: aload 0
new org.ietf.jgss.Oid
dup
aload 6
invokevirtual sun.security.util.ObjectIdentifier.toString:()Ljava/lang/String;
invokespecial org.ietf.jgss.Oid.<init>:(Ljava/lang/String;)V
putfield sun.security.jgss.spnego.NegTokenTarg.supportedMech:Lorg/ietf/jgss/Oid;
21: getstatic sun.security.jgss.spnego.NegTokenTarg.DEBUG:Z
ifeq 38
22: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "SpNegoToken NegTokenTarg: supported mechanism = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
23: aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.supportedMech:Lorg/ietf/jgss/Oid;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
24: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 6 25: goto 38
StackMap locals:
StackMap stack:
26: aload 5
iconst_2
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 30
27: iload 4
iconst_2
invokestatic sun.security.jgss.spnego.NegTokenTarg.checkNextField:(II)I
istore 4
28: 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.NegTokenTarg.responseToken:[B
29: goto 38
StackMap locals:
StackMap stack:
30: aload 5
iconst_3
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 38
31: iload 4
iconst_3
invokestatic sun.security.jgss.spnego.NegTokenTarg.checkNextField:(II)I
istore 4
32: invokestatic sun.security.jgss.GSSUtil.useMSInterop:()Z
ifne 38
33: 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.NegTokenTarg.mechListMIC:[B
34: getstatic sun.security.jgss.spnego.NegTokenTarg.DEBUG:Z
ifeq 38
35: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "SpNegoToken NegTokenTarg: MechListMIC Token = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
36: aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.mechListMIC:[B
invokestatic sun.security.jgss.spnego.NegTokenTarg.getHexBytes:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
37: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 38: 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 39: goto 44
StackMap locals: sun.security.jgss.spnego.NegTokenTarg byte[]
StackMap stack: java.io.IOException
40: astore 2
start local 2 41: new org.ietf.jgss.GSSException
dup
bipush 10
iconst_m1
42: new java.lang.StringBuilder
dup
ldc "Invalid SPNEGO NegTokenTarg 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;
43: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
end local 2 44: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lsun/security/jgss/spnego/NegTokenTarg;
0 45 1 in [B
1 39 2 der Lsun/security/util/DerValue;
4 39 3 tmp1 Lsun/security/util/DerValue;
7 39 4 lastField I
9 38 5 tmp2 Lsun/security/util/DerValue;
20 25 6 mech Lsun/security/util/ObjectIdentifier;
41 44 2 e Ljava/io/IOException;
Exception table:
from to target type
0 39 40 Class java.io.IOException
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
in
int getNegotiatedResult();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.negResult:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/spnego/NegTokenTarg;
public org.ietf.jgss.Oid getSupportedMech();
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.NegTokenTarg.supportedMech:Lorg/ietf/jgss/Oid;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/spnego/NegTokenTarg;
byte[] getResponseToken();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.spnego.NegTokenTarg.responseToken:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/spnego/NegTokenTarg;
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.NegTokenTarg.mechListMIC:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/spnego/NegTokenTarg;
}
SourceFile: "NegTokenTarg.java"