class com.sun.jndi.ldap.sasl.SaslOutputStream extends java.io.FilterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.jndi.ldap.sasl.SaslOutputStream
super_class: java.io.FilterOutputStream
{
private static final boolean debug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private byte[] lenBuf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int rawSendSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.security.sasl.SaslClient sc;
descriptor: Ljavax/security/sasl/SaslClient;
flags: (0x0002) ACC_PRIVATE
void <init>(javax.security.sasl.SaslClient, java.io.OutputStream);
descriptor: (Ljavax/security/sasl/SaslClient;Ljava/io/OutputStream;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
1: aload 0
iconst_4
newarray 8
putfield com.sun.jndi.ldap.sasl.SaslOutputStream.lenBuf:[B
2: aload 0
ldc 65536
putfield com.sun.jndi.ldap.sasl.SaslOutputStream.rawSendSize:I
3: aload 0
aload 1
putfield com.sun.jndi.ldap.sasl.SaslOutputStream.sc:Ljavax/security/sasl/SaslClient;
4: aload 1
ldc "javax.security.sasl.rawsendsize"
invokeinterface javax.security.sasl.SaslClient.getNegotiatedProperty:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 3
ifnull 12
6: aload 0
aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield com.sun.jndi.ldap.sasl.SaslOutputStream.rawSendSize:I
7: goto 12
StackMap locals: com.sun.jndi.ldap.sasl.SaslOutputStream javax.security.sasl.SaslClient java.io.OutputStream java.lang.String
StackMap stack: java.lang.NumberFormatException
8: pop
9: new javax.security.sasl.SaslException
dup
new java.lang.StringBuilder
dup
ldc "javax.security.sasl.rawsendsize property must be numeric string: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/jndi/ldap/sasl/SaslOutputStream;
0 13 1 sc Ljavax/security/sasl/SaslClient;
0 13 2 out Ljava/io/OutputStream;
5 13 3 str Ljava/lang/String;
Exception table:
from to target type
6 7 8 Class java.lang.NumberFormatException
Exceptions:
throws javax.security.sasl.SaslException
MethodParameters:
Name Flags
sc
out
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iconst_1
newarray 8
astore 2
start local 2 1: aload 2
iconst_0
iload 1
i2b
bastore
2: aload 0
aload 2
iconst_0
iconst_1
invokevirtual com.sun.jndi.ldap.sasl.SaslOutputStream.write:([BII)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/ldap/sasl/SaslOutputStream;
0 4 1 b I
1 4 2 buffer [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 6
start local 6 1: goto 10
2: StackMap locals: com.sun.jndi.ldap.sasl.SaslOutputStream byte[] int int top top int
StackMap stack:
iload 3
iload 6
isub
aload 0
getfield com.sun.jndi.ldap.sasl.SaslOutputStream.rawSendSize:I
if_icmpge 3
iload 3
iload 6
isub
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield com.sun.jndi.ldap.sasl.SaslOutputStream.rawSendSize:I
StackMap locals:
StackMap stack: int
4: istore 4
start local 4 5: aload 0
getfield com.sun.jndi.ldap.sasl.SaslOutputStream.sc:Ljavax/security/sasl/SaslClient;
aload 1
iload 2
iload 6
iadd
iload 4
invokeinterface javax.security.sasl.SaslClient.wrap:([BII)[B
astore 5
start local 5 6: aload 5
arraylength
aload 0
getfield com.sun.jndi.ldap.sasl.SaslOutputStream.lenBuf:[B
iconst_0
iconst_4
invokestatic com.sun.jndi.ldap.sasl.SaslOutputStream.intToNetworkByteOrder:(I[BII)V
7: aload 0
getfield com.sun.jndi.ldap.sasl.SaslOutputStream.out:Ljava/io/OutputStream;
aload 0
getfield com.sun.jndi.ldap.sasl.SaslOutputStream.lenBuf:[B
iconst_0
iconst_4
invokevirtual java.io.OutputStream.write:([BII)V
8: aload 0
getfield com.sun.jndi.ldap.sasl.SaslOutputStream.out:Ljava/io/OutputStream;
aload 5
iconst_0
aload 5
arraylength
invokevirtual java.io.OutputStream.write:([BII)V
9: iload 6
aload 0
getfield com.sun.jndi.ldap.sasl.SaslOutputStream.rawSendSize:I
iadd
istore 6
end local 5 end local 4 StackMap locals:
StackMap stack:
10: iload 6
iload 3
if_icmplt 2
end local 6 11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/jndi/ldap/sasl/SaslOutputStream;
0 12 1 buffer [B
0 12 2 offset I
0 12 3 total I
5 10 4 count I
6 10 5 wrappedToken [B
1 11 6 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
offset
total
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield com.sun.jndi.ldap.sasl.SaslOutputStream.sc:Ljavax/security/sasl/SaslClient;
invokeinterface javax.security.sasl.SaslClient.dispose:()V
2: goto 5
StackMap locals: com.sun.jndi.ldap.sasl.SaslOutputStream javax.security.sasl.SaslException
StackMap stack: javax.security.sasl.SaslException
3: astore 2
start local 2 4: aload 2
astore 1
end local 2 5: StackMap locals:
StackMap stack:
aload 0
invokespecial java.io.FilterOutputStream.close:()V
6: aload 1
ifnull 8
7: aload 1
athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/jndi/ldap/sasl/SaslOutputStream;
1 9 1 save Ljavax/security/sasl/SaslException;
4 5 2 e Ljavax/security/sasl/SaslException;
Exception table:
from to target type
1 2 3 Class javax.security.sasl.SaslException
Exceptions:
throws java.io.IOException
private static void intToNetworkByteOrder(int, byte[], int, int);
descriptor: (I[BII)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
iconst_4
if_icmple 2
1: new java.lang.IllegalArgumentException
dup
ldc "Cannot handle more than 4 bytes"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 3
iconst_1
isub
istore 4
start local 4 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 1
iload 2
iload 4
iadd
iload 0
sipush 255
iand
i2b
bastore
5: iload 0
bipush 8
iushr
istore 0
6: iinc 4 -1
StackMap locals:
StackMap stack:
7: iload 4
ifge 4
end local 4 8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 num I
0 9 1 buf [B
0 9 2 start I
0 9 3 count I
3 8 4 i I
MethodParameters:
Name Flags
num
buf
start
count
}
SourceFile: "SaslOutputStream.java"