final class sun.security.ssl.EngineWriter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.EngineWriter
super_class: java.lang.Object
{
private java.util.LinkedList<java.lang.Object> outboundList;
descriptor: Ljava/util/LinkedList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/LinkedList<Ljava/lang/Object;>;
private boolean outboundClosed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final sun.security.ssl.Debug debug;
descriptor: Lsun/security/ssl/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/security/ssl/EngineWriter;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.security.ssl.EngineWriter.$assertionsDisabled:Z
3: ldc "ssl"
invokestatic sun.security.ssl.Debug.getInstance:(Ljava/lang/String;)Lsun/security/ssl/Debug;
putstatic sun.security.ssl.EngineWriter.debug:Lsun/security/ssl/Debug;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.security.ssl.EngineWriter.outboundClosed:Z
2: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield sun.security.ssl.EngineWriter.outboundList:Ljava/util/LinkedList;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/EngineWriter;
private javax.net.ssl.SSLEngineResult$HandshakeStatus getOutboundData(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.EngineWriter.outboundList:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
astore 2
start local 2 1: getstatic sun.security.ssl.EngineWriter.$assertionsDisabled:Z
ifne 2
aload 2
instanceof java.nio.ByteBuffer
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast java.nio.ByteBuffer
astore 3
start local 3 3: getstatic sun.security.ssl.EngineWriter.$assertionsDisabled:Z
ifne 4
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmpge 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 1
aload 3
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
5: aload 0
invokevirtual sun.security.ssl.EngineWriter.hasOutboundDataInternal:()Z
ifeq 11
6: aload 0
getfield sun.security.ssl.EngineWriter.outboundList:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.getFirst:()Ljava/lang/Object;
astore 2
7: aload 2
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
if_acmpne 10
8: aload 0
getfield sun.security.ssl.EngineWriter.outboundList:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
pop
9: getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
areturn
10: StackMap locals:
StackMap stack:
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_WRAP:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
areturn
11: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/ssl/EngineWriter;
0 12 1 dstBB Ljava/nio/ByteBuffer;
1 12 2 msg Ljava/lang/Object;
3 12 3 bbIn Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
dstBB
synchronized void writeRecord(sun.security.ssl.EngineOutputRecord, sun.security.ssl.MAC, sun.security.ssl.CipherBox);
descriptor: (Lsun/security/ssl/EngineOutputRecord;Lsun/security/ssl/MAC;Lsun/security/ssl/CipherBox;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.security.ssl.EngineWriter.outboundClosed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "writer side was already closed."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 3
invokevirtual sun.security.ssl.EngineOutputRecord.write:(Lsun/security/ssl/MAC;Lsun/security/ssl/CipherBox;)V
3: aload 1
invokevirtual sun.security.ssl.EngineOutputRecord.isFinishedMsg:()Z
ifeq 5
4: aload 0
getfield sun.security.ssl.EngineWriter.outboundList:Ljava/util/LinkedList;
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
invokevirtual java.util.LinkedList.addLast:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/EngineWriter;
0 6 1 outputRecord Lsun/security/ssl/EngineOutputRecord;
0 6 2 writeMAC Lsun/security/ssl/MAC;
0 6 3 writeCipher Lsun/security/ssl/CipherBox;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
outputRecord
writeMAC
writeCipher
private void dumpPacket(sun.security.ssl.EngineArgs, boolean);
descriptor: (Lsun/security/ssl/EngineArgs;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new sun.misc.HexDumpEncoder
dup
invokespecial sun.misc.HexDumpEncoder.<init>:()V
astore 3
start local 3 1: aload 1
getfield sun.security.ssl.EngineArgs.netData:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 4
start local 4 2: aload 4
invokevirtual java.nio.ByteBuffer.position:()I
istore 5
start local 5 3: aload 4
iload 5
aload 1
invokevirtual sun.security.ssl.EngineArgs.deltaNet:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
4: aload 4
iload 5
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "[Raw write"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: iload 2
ifeq 7
ldc ""
goto 8
StackMap locals: sun.security.ssl.EngineWriter sun.security.ssl.EngineArgs int sun.misc.HexDumpEncoder java.nio.ByteBuffer int
StackMap stack: java.io.PrintStream java.lang.StringBuilder
7: ldc " (bb)"
StackMap locals: sun.security.ssl.EngineWriter sun.security.ssl.EngineArgs int sun.misc.HexDumpEncoder java.nio.ByteBuffer int
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
8: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]: length = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: aload 3
aload 4
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual sun.misc.HexDumpEncoder.encodeBuffer:(Ljava/nio/ByteBuffer;Ljava/io/OutputStream;)V
end local 5 end local 4 end local 3 12: goto 14
StackMap locals: sun.security.ssl.EngineWriter sun.security.ssl.EngineArgs int
StackMap stack: java.io.IOException
13: pop
14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/ssl/EngineWriter;
0 15 1 ea Lsun/security/ssl/EngineArgs;
0 15 2 hsData Z
1 12 3 hd Lsun/misc/HexDumpEncoder;
2 12 4 bb Ljava/nio/ByteBuffer;
3 12 5 pos I
Exception table:
from to target type
0 12 13 Class java.io.IOException
MethodParameters:
Name Flags
ea
hsData
synchronized javax.net.ssl.SSLEngineResult$HandshakeStatus writeRecord(sun.security.ssl.EngineOutputRecord, sun.security.ssl.EngineArgs, sun.security.ssl.MAC, sun.security.ssl.CipherBox);
descriptor: (Lsun/security/ssl/EngineOutputRecord;Lsun/security/ssl/EngineArgs;Lsun/security/ssl/MAC;Lsun/security/ssl/CipherBox;)Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual sun.security.ssl.EngineWriter.hasOutboundDataInternal:()Z
ifeq 5
1: aload 0
aload 2
getfield sun.security.ssl.EngineArgs.netData:Ljava/nio/ByteBuffer;
invokevirtual sun.security.ssl.EngineWriter.getOutboundData:(Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
astore 5
start local 5 2: getstatic sun.security.ssl.EngineWriter.debug:Lsun/security/ssl/Debug;
ifnull 4
ldc "packet"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
aload 2
iconst_1
invokevirtual sun.security.ssl.EngineWriter.dumpPacket:(Lsun/security/ssl/EngineArgs;Z)V
4: StackMap locals: javax.net.ssl.SSLEngineResult$HandshakeStatus
StackMap stack:
aload 5
areturn
end local 5 5: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.EngineWriter.outboundClosed:Z
ifeq 7
6: new java.io.IOException
dup
ldc "The write side was already closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 3
aload 4
invokevirtual sun.security.ssl.EngineOutputRecord.write:(Lsun/security/ssl/EngineArgs;Lsun/security/ssl/MAC;Lsun/security/ssl/CipherBox;)V
8: getstatic sun.security.ssl.EngineWriter.debug:Lsun/security/ssl/Debug;
ifnull 10
ldc "packet"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 10
9: aload 0
aload 2
iconst_0
invokevirtual sun.security.ssl.EngineWriter.dumpPacket:(Lsun/security/ssl/EngineArgs;Z)V
10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/ssl/EngineWriter;
0 11 1 outputRecord Lsun/security/ssl/EngineOutputRecord;
0 11 2 ea Lsun/security/ssl/EngineArgs;
0 11 3 writeMAC Lsun/security/ssl/MAC;
0 11 4 writeCipher Lsun/security/ssl/CipherBox;
2 5 5 hss Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
outputRecord
ea
writeMAC
writeCipher
void putOutboundData(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.EngineWriter.outboundList:Ljava/util/LinkedList;
aload 1
invokevirtual java.util.LinkedList.addLast:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/EngineWriter;
0 2 1 bytes Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bytes
synchronized void putOutboundDataSync(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.EngineWriter.outboundClosed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "Write side already closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.EngineWriter.outboundList:Ljava/util/LinkedList;
aload 1
invokevirtual java.util.LinkedList.addLast:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/EngineWriter;
0 4 1 bytes Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
private boolean hasOutboundDataInternal();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.EngineWriter.outboundList:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/EngineWriter;
synchronized boolean hasOutboundData();
descriptor: ()Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.ssl.EngineWriter.hasOutboundDataInternal:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/EngineWriter;
synchronized boolean isOutboundDone();
descriptor: ()Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.EngineWriter.outboundClosed:Z
ifeq 1
aload 0
invokevirtual sun.security.ssl.EngineWriter.hasOutboundDataInternal:()Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/EngineWriter;
synchronized void closeOutbound();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.security.ssl.EngineWriter.outboundClosed:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/EngineWriter;
}
SourceFile: "EngineWriter.java"
InnerClasses:
public final HandshakeStatus = javax.net.ssl.SSLEngineResult$HandshakeStatus of javax.net.ssl.SSLEngineResult