abstract class sun.security.jgss.spnego.SpNegoToken extends sun.security.jgss.GSSToken
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.security.jgss.spnego.SpNegoToken
super_class: sun.security.jgss.GSSToken
{
static final int NEG_TOKEN_INIT_ID;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int NEG_TOKEN_TARG_ID;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
private int tokenType;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static final boolean DEBUG;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
public static sun.security.util.ObjectIdentifier OID;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.security.jgss.spnego.SpNegoContext.DEBUG:Z
putstatic sun.security.jgss.spnego.SpNegoToken.DEBUG:Z
1: getstatic sun.security.jgss.spnego.SpNegoMechFactory.GSS_SPNEGO_MECH_OID:Lorg/ietf/jgss/Oid;
invokevirtual org.ietf.jgss.Oid.toString:()Ljava/lang/String;
2: invokestatic sun.security.util.ObjectIdentifier.of:(Ljava/lang/String;)Lsun/security/util/ObjectIdentifier;
putstatic sun.security.jgss.spnego.SpNegoToken.OID:Lsun/security/util/ObjectIdentifier;
3: goto 5
StackMap locals:
StackMap stack: java.io.IOException
4: pop
5: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 3 4 Class java.io.IOException
protected void <init>(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.security.jgss.GSSToken.<init>:()V
1: aload 0
iload 1
putfield sun.security.jgss.spnego.SpNegoToken.tokenType:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/jgss/spnego/SpNegoToken;
0 3 1 tokenType I
MethodParameters:
Name Flags
tokenType
abstract byte[] encode();
descriptor: ()[B
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws org.ietf.jgss.GSSException
byte[] getEncoded();
descriptor: ()[B
flags: (0x0000)
Code:
stack=4, locals=4, 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 1
aload 0
invokevirtual sun.security.jgss.spnego.SpNegoToken.encode:()[B
invokevirtual sun.security.util.DerOutputStream.write:([B)V
2: aload 0
getfield sun.security.jgss.spnego.SpNegoToken.tokenType:I
tableswitch { // 0 - 1
0: 3
1: 10
default: 17
}
3: StackMap locals: sun.security.util.DerOutputStream
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 4: aload 2
bipush -128
5: iconst_1
iconst_0
6: invokestatic sun.security.util.DerValue.createTag:(BZB)B
7: aload 1
8: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
9: aload 2
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
areturn
end local 2 10: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 11: aload 3
bipush -128
12: iconst_1
iconst_1
13: invokestatic sun.security.util.DerValue.createTag:(BZB)B
14: aload 1
15: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
16: aload 3
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
areturn
end local 3 17: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/security/jgss/spnego/SpNegoToken;
1 18 1 token Lsun/security/util/DerOutputStream;
4 10 2 initToken Lsun/security/util/DerOutputStream;
11 17 3 targToken Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException, org.ietf.jgss.GSSException
final int getType();
descriptor: ()I
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.spnego.SpNegoToken.tokenType:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/spnego/SpNegoToken;
static java.lang.String getTokenName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 1
0: 1
1: 2
default: 3
}
1: StackMap locals:
StackMap stack:
ldc "SPNEGO NegTokenInit"
areturn
2: StackMap locals:
StackMap stack:
ldc "SPNEGO NegTokenTarg"
areturn
3: StackMap locals:
StackMap stack:
ldc "SPNEGO Mechanism Token"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 type I
MethodParameters:
Name Flags
type
static sun.security.jgss.spnego.SpNegoToken$NegoResult getNegoResultType(int);
descriptor: (I)Lsun/security/jgss/spnego/SpNegoToken$NegoResult;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 2
0: 1
1: 2
2: 3
default: 4
}
1: StackMap locals:
StackMap stack:
getstatic sun.security.jgss.spnego.SpNegoToken$NegoResult.ACCEPT_COMPLETE:Lsun/security/jgss/spnego/SpNegoToken$NegoResult;
areturn
2: StackMap locals:
StackMap stack:
getstatic sun.security.jgss.spnego.SpNegoToken$NegoResult.ACCEPT_INCOMPLETE:Lsun/security/jgss/spnego/SpNegoToken$NegoResult;
areturn
3: StackMap locals:
StackMap stack:
getstatic sun.security.jgss.spnego.SpNegoToken$NegoResult.REJECT:Lsun/security/jgss/spnego/SpNegoToken$NegoResult;
areturn
4: StackMap locals:
StackMap stack:
getstatic sun.security.jgss.spnego.SpNegoToken$NegoResult.ACCEPT_COMPLETE:Lsun/security/jgss/spnego/SpNegoToken$NegoResult;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 result I
MethodParameters:
Name Flags
result
static java.lang.String getNegoResultString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 2
0: 1
1: 2
2: 3
default: 4
}
1: StackMap locals:
StackMap stack:
ldc "Accept Complete"
areturn
2: StackMap locals:
StackMap stack:
ldc "Accept InComplete"
areturn
3: StackMap locals:
StackMap stack:
ldc "Reject"
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Unknown Negotiated Result: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 result I
MethodParameters:
Name Flags
result
static int checkNextField(int, int);
descriptor: (II)I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
if_icmpge 2
1: iload 1
ireturn
2: StackMap locals:
StackMap stack:
new org.ietf.jgss.GSSException
dup
bipush 10
iconst_m1
3: ldc "Invalid SpNegoToken token : wrong order"
4: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 last I
0 5 1 current I
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
last
current
}
SourceFile: "SpNegoToken.java"
NestMembers:
sun.security.jgss.spnego.SpNegoToken$NegoResult
InnerClasses:
final NegoResult = sun.security.jgss.spnego.SpNegoToken$NegoResult of sun.security.jgss.spnego.SpNegoToken