abstract class com.sun.security.sasl.gsskerb.GssKrb5Base extends com.sun.security.sasl.util.AbstractSaslImpl
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.security.sasl.gsskerb.GssKrb5Base
super_class: com.sun.security.sasl.util.AbstractSaslImpl
{
private static final java.lang.String KRB5_OID_STR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "1.2.840.113554.1.2.2"
protected static org.ietf.jgss.Oid KRB5_OID;
descriptor: Lorg/ietf/jgss/Oid;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static final byte[] EMPTY;
descriptor: [B
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected org.ietf.jgss.GSSContext secCtx;
descriptor: Lorg/ietf/jgss/GSSContext;
flags: (0x0004) ACC_PROTECTED
protected static final int JGSS_QOP;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: iconst_0
newarray 8
putstatic com.sun.security.sasl.gsskerb.GssKrb5Base.EMPTY:[B
1: new org.ietf.jgss.Oid
dup
ldc "1.2.840.113554.1.2.2"
invokespecial org.ietf.jgss.Oid.<init>:(Ljava/lang/String;)V
putstatic com.sun.security.sasl.gsskerb.GssKrb5Base.KRB5_OID:Lorg/ietf/jgss/Oid;
2: goto 4
StackMap locals:
StackMap stack: org.ietf.jgss.GSSException
3: pop
4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 2 3 Class org.ietf.jgss.GSSException
protected void <init>(java.util.Map<java.lang.String, ?>, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.sun.security.sasl.util.AbstractSaslImpl.<init>:(Ljava/util/Map;Ljava/lang/String;)V
1: aload 0
aconst_null
putfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
0 3 1 props Ljava/util/Map<Ljava/lang/String;*>;
0 3 2 className Ljava/lang/String;
Exceptions:
throws javax.security.sasl.SaslException
Signature: (Ljava/util/Map<Ljava/lang/String;*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
props
className
public java.lang.String getMechanismName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "GSSAPI"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
public byte[] unwrap(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.completed:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "GSSAPI authentication not completed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.integrity:Z
ifne 4
3: new java.lang.IllegalStateException
dup
ldc "No security layer negotiated"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new org.ietf.jgss.MessageProp
dup
iconst_0
iconst_0
invokespecial org.ietf.jgss.MessageProp.<init>:(IZ)V
astore 4
start local 4 5: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
aload 1
iload 2
iload 3
aload 4
invokeinterface org.ietf.jgss.GSSContext.unwrap:([BIILorg/ietf/jgss/MessageProp;)[B
astore 5
start local 5 6: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.privacy:Z
ifeq 8
aload 4
invokevirtual org.ietf.jgss.MessageProp.getPrivacy:()Z
ifne 8
7: new javax.security.sasl.SaslException
dup
ldc "Privacy not protected"
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: org.ietf.jgss.MessageProp byte[]
StackMap stack:
aload 0
ldc ""
aload 4
invokevirtual com.sun.security.sasl.gsskerb.GssKrb5Base.checkMessageProp:(Ljava/lang/String;Lorg/ietf/jgss/MessageProp;)V
9: getstatic com.sun.security.sasl.gsskerb.GssKrb5Base.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 16
10: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB501:Unwrap"
ldc "incoming: "
11: aload 1
iload 2
iload 3
12: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
13: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB502:Unwrap"
ldc "unwrapped: "
14: aload 5
iconst_0
aload 5
arraylength
15: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
16: StackMap locals:
StackMap stack:
aload 5
17: areturn
end local 5 end local 4 18: StackMap locals: com.sun.security.sasl.gsskerb.GssKrb5Base byte[] int int
StackMap stack: org.ietf.jgss.GSSException
astore 4
start local 4 19: new javax.security.sasl.SaslException
dup
ldc "Problems unwrapping SASL buffer"
aload 4
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
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 Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
0 20 1 incoming [B
0 20 2 start I
0 20 3 len I
5 18 4 msgProp Lorg/ietf/jgss/MessageProp;
6 18 5 answer [B
19 20 4 e Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
4 17 18 Class org.ietf.jgss.GSSException
Exceptions:
throws javax.security.sasl.SaslException
MethodParameters:
Name Flags
incoming
start
len
public byte[] wrap(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.completed:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "GSSAPI authentication not completed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.integrity:Z
ifne 4
3: new java.lang.IllegalStateException
dup
ldc "No security layer negotiated"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new org.ietf.jgss.MessageProp
dup
iconst_0
aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.privacy:Z
invokespecial org.ietf.jgss.MessageProp.<init>:(IZ)V
astore 4
start local 4 5: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
aload 1
iload 2
iload 3
aload 4
invokeinterface org.ietf.jgss.GSSContext.wrap:([BIILorg/ietf/jgss/MessageProp;)[B
astore 5
start local 5 6: getstatic com.sun.security.sasl.gsskerb.GssKrb5Base.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 13
7: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB503:Wrap"
ldc "outgoing: "
8: aload 1
iload 2
iload 3
9: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
10: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB504:Wrap"
ldc "wrapped: "
11: aload 5
iconst_0
aload 5
arraylength
12: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
13: StackMap locals: org.ietf.jgss.MessageProp byte[]
StackMap stack:
aload 5
14: areturn
end local 5 end local 4 15: StackMap locals: com.sun.security.sasl.gsskerb.GssKrb5Base byte[] int int
StackMap stack: org.ietf.jgss.GSSException
astore 4
start local 4 16: new javax.security.sasl.SaslException
dup
ldc "Problem performing GSS wrap"
aload 4
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
0 17 1 outgoing [B
0 17 2 start I
0 17 3 len I
5 15 4 msgProp Lorg/ietf/jgss/MessageProp;
6 15 5 answer [B
16 17 4 e Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
4 14 15 Class org.ietf.jgss.GSSException
Exceptions:
throws javax.security.sasl.SaslException
MethodParameters:
Name Flags
outgoing
start
len
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
ifnull 6
1: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
invokeinterface org.ietf.jgss.GSSContext.dispose:()V
2: goto 5
StackMap locals:
StackMap stack: org.ietf.jgss.GSSException
3: astore 1
start local 1 4: new javax.security.sasl.SaslException
dup
ldc "Problem disposing GSS context"
aload 1
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
4 5 1 e Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
1 2 3 Class org.ietf.jgss.GSSException
Exceptions:
throws javax.security.sasl.SaslException
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.security.sasl.gsskerb.GssKrb5Base.dispose:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
Exceptions:
throws java.lang.Throwable
void checkMessageProp(java.lang.String, org.ietf.jgss.MessageProp);
descriptor: (Ljava/lang/String;Lorg/ietf/jgss/MessageProp;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.ietf.jgss.MessageProp.isDuplicateToken:()Z
ifeq 2
1: new javax.security.sasl.SaslException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Duplicate token"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.ietf.jgss.MessageProp.isGapToken:()Z
ifeq 4
3: new javax.security.sasl.SaslException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Gap token"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.ietf.jgss.MessageProp.isOldToken:()Z
ifeq 6
5: new javax.security.sasl.SaslException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Old token"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.ietf.jgss.MessageProp.isUnseqToken:()Z
ifeq 8
7: new javax.security.sasl.SaslException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Token not in sequence"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
0 9 1 label Ljava/lang/String;
0 9 2 msgProp Lorg/ietf/jgss/MessageProp;
Exceptions:
throws javax.security.sasl.SaslException
MethodParameters:
Name Flags
label
msgProp
}
SourceFile: "GssKrb5Base.java"