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 org.ietf.jgss.MessageProp msgProp;
descriptor: Lorg/ietf/jgss/MessageProp;
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=5, 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:
aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
aload 1
iload 2
iload 3
aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.msgProp:Lorg/ietf/jgss/MessageProp;
invokeinterface org.ietf.jgss.GSSContext.unwrap:([BIILorg/ietf/jgss/MessageProp;)[B
astore 4
start local 4 5: 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 12
6: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB501:Unwrap"
ldc "incoming: "
7: aload 1
iload 2
iload 3
8: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
9: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB502:Unwrap"
ldc "unwrapped: "
10: aload 4
iconst_0
aload 4
arraylength
11: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
12: StackMap locals: byte[]
StackMap stack:
aload 4
13: areturn
end local 4 14: StackMap locals: com.sun.security.sasl.gsskerb.GssKrb5Base byte[] int int
StackMap stack: org.ietf.jgss.GSSException
astore 4
start local 4 15: 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 16 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
0 16 1 incoming [B
0 16 2 start I
0 16 3 len I
5 14 4 answer [B
15 16 4 e Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
4 13 14 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=5, 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:
aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
aload 1
iload 2
iload 3
aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.msgProp:Lorg/ietf/jgss/MessageProp;
invokeinterface org.ietf.jgss.GSSContext.wrap:([BIILorg/ietf/jgss/MessageProp;)[B
astore 4
start local 4 5: 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 12
6: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB503:Wrap"
ldc "outgoing: "
7: aload 1
iload 2
iload 3
8: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
9: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB504:Wrap"
ldc "wrapped: "
10: aload 4
iconst_0
aload 4
arraylength
11: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
12: StackMap locals: byte[]
StackMap stack:
aload 4
13: areturn
end local 4 14: StackMap locals: com.sun.security.sasl.gsskerb.GssKrb5Base byte[] int int
StackMap stack: org.ietf.jgss.GSSException
astore 4
start local 4 15: 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 16 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
0 16 1 outgoing [B
0 16 2 start I
0 16 3 len I
5 14 4 answer [B
15 16 4 e Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
4 13 14 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
}
SourceFile: "GssKrb5Base.java"