final class sun.security.ssl.SSLEngineOutputRecord extends sun.security.ssl.OutputRecord implements sun.security.ssl.SSLRecord
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.SSLEngineOutputRecord
super_class: sun.security.ssl.OutputRecord
{
private sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment fragmenter;
descriptor: Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
flags: (0x0002) ACC_PRIVATE
private boolean isTalkingToV2;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer v2ClientHello;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private volatile boolean isCloseWaiting;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
void <init>(sun.security.ssl.HandshakeHash);
descriptor: (Lsun/security/ssl/HandshakeHash;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.security.ssl.SSLCipher$SSLWriteCipher.nullTlsWriteCipher:()Lsun/security/ssl/SSLCipher$SSLWriteCipher;
invokespecial sun.security.ssl.OutputRecord.<init>:(Lsun/security/ssl/HandshakeHash;Lsun/security/ssl/SSLCipher$SSLWriteCipher;)V
1: aload 0
aconst_null
putfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
2: aload 0
iconst_0
putfield sun.security.ssl.SSLEngineOutputRecord.isTalkingToV2:Z
3: aload 0
aconst_null
putfield sun.security.ssl.SSLEngineOutputRecord.v2ClientHello:Ljava/nio/ByteBuffer;
4: aload 0
iconst_0
putfield sun.security.ssl.SSLEngineOutputRecord.isCloseWaiting:Z
5: aload 0
sipush 16709
putfield sun.security.ssl.SSLEngineOutputRecord.packetSize:I
6: aload 0
getstatic sun.security.ssl.ProtocolVersion.NONE:Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.SSLEngineOutputRecord.protocolVersion:Lsun/security/ssl/ProtocolVersion;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/SSLEngineOutputRecord;
0 8 1 handshakeHash Lsun/security/ssl/HandshakeHash;
MethodParameters:
Name Flags
handshakeHash
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.isClosed:Z
ifne 5
1: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
ifnull 4
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
invokevirtual sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment.hasAlert:()Z
ifeq 4
2: aload 0
iconst_1
putfield sun.security.ssl.SSLEngineOutputRecord.isCloseWaiting:Z
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.security.ssl.OutputRecord.close:()V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/SSLEngineOutputRecord;
Exceptions:
throws java.io.IOException
boolean isClosed();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.isClosed:Z
ifne 1
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.isCloseWaiting:Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/SSLEngineOutputRecord;
void encodeAlert(byte, byte);
descriptor: (BB)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.security.ssl.SSLEngineOutputRecord.isClosed:()Z
ifeq 6
1: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 5
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 5
2: new java.lang.StringBuilder
dup
ldc "outbound has closed, ignore outbound alert message: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: iload 2
invokestatic sun.security.ssl.Alert.nameOf:(B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
ifnonnull 8
7: aload 0
new sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment
dup
aload 0
invokespecial sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment.<init>:(Lsun/security/ssl/SSLEngineOutputRecord;)V
putfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
iload 1
iload 2
invokevirtual sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment.queueUpAlert:(BB)V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/ssl/SSLEngineOutputRecord;
0 10 1 level B
0 10 2 description B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
level
description
void encodeHandshake(byte[], int, int);
descriptor: ([BII)V
flags: (0x0000)
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual sun.security.ssl.SSLEngineOutputRecord.isClosed:()Z
ifeq 6
1: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 5
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 5
2: ldc "outbound has closed, ignore outbound handshake message"
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 1
iload 2
iload 3
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
aastore
4: invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
ifnonnull 8
7: aload 0
new sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment
dup
aload 0
invokespecial sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment.<init>:(Lsun/security/ssl/SSLEngineOutputRecord;)V
putfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.firstMessage:Z
ifeq 20
9: aload 0
iconst_0
putfield sun.security.ssl.SSLEngineOutputRecord.firstMessage:Z
10: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.helloVersion:Lsun/security/ssl/ProtocolVersion;
getstatic sun.security.ssl.ProtocolVersion.SSL20Hello:Lsun/security/ssl/ProtocolVersion;
if_acmpne 20
11: aload 1
iload 2
baload
getstatic sun.security.ssl.SSLHandshake.CLIENT_HELLO:Lsun/security/ssl/SSLHandshake;
getfield sun.security.ssl.SSLHandshake.id:B
if_icmpne 20
12: aload 1
iload 2
iconst_4
iadd
iconst_2
iadd
bipush 32
iadd
baload
ifne 20
13: aload 0
14: aload 1
iload 2
iconst_4
iadd
iload 3
iconst_4
isub
15: invokestatic sun.security.ssl.SSLEngineOutputRecord.encodeV2ClientHello:([BII)Ljava/nio/ByteBuffer;
putfield sun.security.ssl.SSLEngineOutputRecord.v2ClientHello:Ljava/nio/ByteBuffer;
16: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.v2ClientHello:Ljava/nio/ByteBuffer;
iconst_2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
17: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.handshakeHash:Lsun/security/ssl/HandshakeHash;
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.v2ClientHello:Ljava/nio/ByteBuffer;
invokevirtual sun.security.ssl.HandshakeHash.deliver:(Ljava/nio/ByteBuffer;)V
18: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.v2ClientHello:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
19: return
20: StackMap locals:
StackMap stack:
aload 1
iload 2
baload
istore 4
start local 4 21: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.handshakeHash:Lsun/security/ssl/HandshakeHash;
iload 4
invokevirtual sun.security.ssl.HandshakeHash.isHashable:(B)Z
ifeq 23
22: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.handshakeHash:Lsun/security/ssl/HandshakeHash;
aload 1
iload 2
iload 3
invokevirtual sun.security.ssl.HandshakeHash.deliver:([BII)V
23: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
aload 1
iload 2
iload 3
invokevirtual sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment.queueUpFragment:([BII)V
24: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/security/ssl/SSLEngineOutputRecord;
0 25 1 source [B
0 25 2 offset I
0 25 3 length I
21 25 4 handshakeType B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
source
offset
length
void encodeChangeCipherSpec();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.ssl.SSLEngineOutputRecord.isClosed:()Z
ifeq 4
1: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 3
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 3
2: ldc "outbound has closed, ignore outbound change_cipher_spec message"
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
ifnonnull 6
5: aload 0
new sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment
dup
aload 0
invokespecial sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment.<init>:(Lsun/security/ssl/SSLEngineOutputRecord;)V
putfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
invokevirtual sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment.queueUpChangeCipherSpec:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/SSLEngineOutputRecord;
Exceptions:
throws java.io.IOException
void encodeV2NoCipher();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.security.ssl.SSLEngineOutputRecord.isTalkingToV2:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/SSLEngineOutputRecord;
Exceptions:
throws java.io.IOException
sun.security.ssl.Ciphertext encode(java.nio.ByteBuffer[], int, int, java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II[Ljava/nio/ByteBuffer;II)Lsun/security/ssl/Ciphertext;
flags: (0x0000)
Code:
stack=6, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.isClosed:Z
ifeq 4
1: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 3
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 3
2: ldc "outbound has closed, ignore outbound application data or cached messages"
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.isCloseWaiting:Z
ifeq 8
5: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 7
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 7
6: ldc "outbound has closed, ignore outbound application data"
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aconst_null
astore 1
8: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
aload 4
iconst_0
aaload
invokevirtual sun.security.ssl.SSLEngineOutputRecord.encode:([Ljava/nio/ByteBuffer;IILjava/nio/ByteBuffer;)Lsun/security/ssl/Ciphertext;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/SSLEngineOutputRecord;
0 9 1 srcs [Ljava/nio/ByteBuffer;
0 9 2 srcsOffset I
0 9 3 srcsLength I
0 9 4 dsts [Ljava/nio/ByteBuffer;
0 9 5 dstsOffset I
0 9 6 dstsLength I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
srcs
srcsOffset
srcsLength
dsts
dstsOffset
dstsLength
private sun.security.ssl.Ciphertext encode(java.nio.ByteBuffer[], int, int, java.nio.ByteBuffer);
descriptor: ([Ljava/nio/ByteBuffer;IILjava/nio/ByteBuffer;)Lsun/security/ssl/Ciphertext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=21, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.writeCipher:Lsun/security/ssl/SSLCipher$SSLWriteCipher;
getfield sun.security.ssl.SSLCipher$SSLWriteCipher.authenticator:Lsun/security/ssl/Authenticator;
invokevirtual sun.security.ssl.Authenticator.seqNumOverflow:()Z
ifeq 5
1: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 4
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 4
2: ldc "sequence number extremely close to overflow (2^64-1 packets). Closing connection."
iconst_0
anewarray java.lang.Object
3: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
new javax.net.ssl.SSLHandshakeException
dup
ldc "sequence number overflow"
invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual sun.security.ssl.SSLEngineOutputRecord.acquireCiphertext:(Ljava/nio/ByteBuffer;)Lsun/security/ssl/Ciphertext;
astore 5
start local 5 6: aload 5
ifnull 8
7: aload 5
areturn
8: StackMap locals: sun.security.ssl.Ciphertext
StackMap stack:
aload 1
ifnull 9
aload 1
arraylength
ifne 10
9: StackMap locals:
StackMap stack:
aconst_null
areturn
10: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 11: iload 2
istore 7
start local 7 12: goto 15
13: StackMap locals: int int
StackMap stack:
iload 6
aload 1
iload 7
aaload
invokevirtual java.nio.ByteBuffer.remaining:()I
iadd
istore 6
14: iinc 7 1
StackMap locals:
StackMap stack:
15: iload 7
iload 2
iload 3
iadd
if_icmplt 13
end local 7 16: iload 6
ifne 18
17: aconst_null
areturn
18: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.nio.ByteBuffer.limit:()I
istore 7
start local 7 19: iconst_1
istore 8
start local 8 20: sipush 16709
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.packetSize:I
invokestatic java.lang.Math.min:(II)I
istore 9
start local 9 21: iconst_1
istore 10
start local 10 22: lconst_0
lstore 11
start local 11 23: goto 83
24: StackMap locals: sun.security.ssl.SSLEngineOutputRecord java.nio.ByteBuffer[] int int java.nio.ByteBuffer sun.security.ssl.Ciphertext int int int int int long
StackMap stack:
iload 8
ifeq 29
aload 0
invokevirtual sun.security.ssl.SSLEngineOutputRecord.needToSplitPayload:()Z
ifeq 29
25: iconst_1
istore 10
26: iconst_1
istore 13
start local 13 27: iconst_0
istore 8
28: goto 39
end local 13 29: StackMap locals:
StackMap stack:
iconst_0
istore 10
30: iload 9
ifle 36
31: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.writeCipher:Lsun/security/ssl/SSLCipher$SSLWriteCipher;
32: iload 9
iconst_5
33: invokevirtual sun.security.ssl.SSLCipher$SSLWriteCipher.calculateFragmentSize:(II)I
istore 13
start local 13 34: iload 13
sipush 16384
invokestatic java.lang.Math.min:(II)I
istore 13
35: goto 37
end local 13 36: StackMap locals:
StackMap stack:
sipush 16384
istore 13
start local 13 37: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmentSize:I
ifle 39
38: iload 13
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmentSize:I
invokestatic java.lang.Math.min:(II)I
istore 13
39: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.nio.ByteBuffer.position:()I
istore 14
start local 14 40: iload 14
iconst_5
iadd
41: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.writeCipher:Lsun/security/ssl/SSLCipher$SSLWriteCipher;
invokevirtual sun.security.ssl.SSLCipher$SSLWriteCipher.getExplicitNonceSize:()I
42: iadd
istore 15
start local 15 43: aload 4
iload 15
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
44: iload 13
aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 16
start local 16 45: iconst_0
istore 13
46: iload 2
iload 3
iadd
istore 17
start local 17 47: iload 2
istore 18
start local 18 48: goto 60
49: StackMap locals: sun.security.ssl.SSLEngineOutputRecord java.nio.ByteBuffer[] int int java.nio.ByteBuffer sun.security.ssl.Ciphertext int int int int int long int int int int int int
StackMap stack:
aload 1
iload 18
aaload
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 16
invokestatic java.lang.Math.min:(II)I
istore 19
start local 19 50: aload 1
iload 18
aaload
invokevirtual java.nio.ByteBuffer.limit:()I
istore 20
start local 20 51: aload 1
iload 18
aaload
aload 1
iload 18
aaload
invokevirtual java.nio.ByteBuffer.position:()I
iload 19
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
52: aload 4
aload 1
iload 18
aaload
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
53: aload 1
iload 18
aaload
iload 20
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
54: iload 16
iload 19
isub
istore 16
55: iload 13
iload 19
iadd
istore 13
56: iload 16
ifle 59
57: iinc 2 1
58: iinc 3 -1
end local 20 end local 19 59: StackMap locals:
StackMap stack:
iinc 18 1
StackMap locals:
StackMap stack:
60: iload 18
iload 17
if_icmpge 61
iload 16
ifgt 49
end local 18 61: StackMap locals:
StackMap stack:
aload 4
aload 4
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
62: aload 4
iload 15
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
63: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 69
ldc "record"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 69
64: new java.lang.StringBuilder
dup
ldc "WRITE: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.protocolVersion:Lsun/security/ssl/ProtocolVersion;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
65: getstatic sun.security.ssl.ContentType.APPLICATION_DATA:Lsun/security/ssl/ContentType;
getfield sun.security.ssl.ContentType.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
66: ldc ", length = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
67: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
68: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
69: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.writeCipher:Lsun/security/ssl/SSLCipher$SSLWriteCipher;
70: getstatic sun.security.ssl.ContentType.APPLICATION_DATA:Lsun/security/ssl/ContentType;
getfield sun.security.ssl.ContentType.id:B
aload 4
71: iload 14
iload 7
iconst_5
72: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.protocolVersion:Lsun/security/ssl/ProtocolVersion;
73: invokestatic sun.security.ssl.SSLEngineOutputRecord.encrypt:(Lsun/security/ssl/SSLCipher$SSLWriteCipher;BLjava/nio/ByteBuffer;IIILsun/security/ssl/ProtocolVersion;)J
lstore 11
74: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 79
ldc "packet"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 79
75: aload 4
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 18
start local 18 76: aload 18
aload 18
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
77: aload 18
iload 14
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
78: ldc "Raw write"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 18
aastore
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 18 79: StackMap locals:
StackMap stack:
iload 9
aload 4
invokevirtual java.nio.ByteBuffer.position:()I
iload 14
isub
isub
istore 9
80: aload 4
iload 7
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
81: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.isFirstAppOutputRecord:Z
ifeq 83
82: aload 0
iconst_0
putfield sun.security.ssl.SSLEngineOutputRecord.isFirstAppOutputRecord:Z
end local 17 end local 16 end local 15 end local 14 end local 13 83: StackMap locals: sun.security.ssl.SSLEngineOutputRecord java.nio.ByteBuffer[] int int java.nio.ByteBuffer sun.security.ssl.Ciphertext int int int int int long
StackMap stack:
iload 10
ifne 24
84: new sun.security.ssl.Ciphertext
dup
getstatic sun.security.ssl.ContentType.APPLICATION_DATA:Lsun/security/ssl/ContentType;
getfield sun.security.ssl.ContentType.id:B
85: getstatic sun.security.ssl.SSLHandshake.NOT_APPLICABLE:Lsun/security/ssl/SSLHandshake;
getfield sun.security.ssl.SSLHandshake.id:B
lload 11
86: invokespecial sun.security.ssl.Ciphertext.<init>:(BBJ)V
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 87 0 this Lsun/security/ssl/SSLEngineOutputRecord;
0 87 1 sources [Ljava/nio/ByteBuffer;
0 87 2 offset I
0 87 3 length I
0 87 4 destination Ljava/nio/ByteBuffer;
6 87 5 ct Lsun/security/ssl/Ciphertext;
11 87 6 srcsRemains I
12 16 7 i I
19 87 7 dstLim I
20 87 8 isFirstRecordOfThePayload Z
21 87 9 packetLeftSize I
22 87 10 needMorePayload Z
23 87 11 recordSN J
27 29 13 fragLen I
34 36 13 fragLen I
37 83 13 fragLen I
40 83 14 dstPos I
43 83 15 dstContent I
45 83 16 remains I
47 83 17 srcsLen I
48 61 18 i I
50 59 19 amount I
51 59 20 srcLimit I
76 79 18 temporary Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sources
offset
length
destination
private sun.security.ssl.Ciphertext acquireCiphertext(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lsun/security/ssl/Ciphertext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.isTalkingToV2:Z
ifeq 8
1: aload 1
getstatic sun.security.ssl.SSLRecord.v2NoCipher:[B
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
2: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 4
ldc "packet"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 4
3: ldc "Raw write"
iconst_1
anewarray java.lang.Object
dup
iconst_0
getstatic sun.security.ssl.SSLRecord.v2NoCipher:[B
aastore
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.security.ssl.SSLEngineOutputRecord.isTalkingToV2:Z
5: new sun.security.ssl.Ciphertext
dup
getstatic sun.security.ssl.ContentType.ALERT:Lsun/security/ssl/ContentType;
getfield sun.security.ssl.ContentType.id:B
6: getstatic sun.security.ssl.SSLHandshake.NOT_APPLICABLE:Lsun/security/ssl/SSLHandshake;
getfield sun.security.ssl.SSLHandshake.id:B
ldc -1
7: invokespecial sun.security.ssl.Ciphertext.<init>:(BBJ)V
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.v2ClientHello:Ljava/nio/ByteBuffer;
ifnull 22
9: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 17
10: ldc "record"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 15
11: new java.lang.StringBuilder
dup
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: ldc ", WRITE: SSLv2 ClientHello message"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: ldc ", length = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.v2ClientHello:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
14: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
ldc "packet"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 17
16: ldc "Raw write"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.v2ClientHello:Ljava/nio/ByteBuffer;
aastore
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.v2ClientHello:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
18: aload 0
aconst_null
putfield sun.security.ssl.SSLEngineOutputRecord.v2ClientHello:Ljava/nio/ByteBuffer;
19: new sun.security.ssl.Ciphertext
dup
getstatic sun.security.ssl.ContentType.HANDSHAKE:Lsun/security/ssl/ContentType;
getfield sun.security.ssl.ContentType.id:B
20: getstatic sun.security.ssl.SSLHandshake.CLIENT_HELLO:Lsun/security/ssl/SSLHandshake;
getfield sun.security.ssl.SSLHandshake.id:B
ldc -1
21: invokespecial sun.security.ssl.Ciphertext.<init>:(BBJ)V
areturn
22: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
ifnull 24
23: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
aload 1
invokevirtual sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment.acquireCiphertext:(Ljava/nio/ByteBuffer;)Lsun/security/ssl/Ciphertext;
areturn
24: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/security/ssl/SSLEngineOutputRecord;
0 25 1 destination Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
destination
boolean isEmpty();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.isTalkingToV2:Z
ifne 3
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.v2ClientHello:Ljava/nio/ByteBuffer;
ifnonnull 3
1: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
ifnull 2
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.fragmenter:Lsun/security/ssl/SSLEngineOutputRecord$HandshakeFragment;
invokevirtual sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment.isEmpty:()Z
ifeq 3
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/SSLEngineOutputRecord;
boolean needToSplitPayload();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.protocolVersion:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.useTLS11PlusSpec:()Z
ifne 4
1: aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.writeCipher:Lsun/security/ssl/SSLCipher$SSLWriteCipher;
invokevirtual sun.security.ssl.SSLCipher$SSLWriteCipher.isCBCMode:()Z
ifeq 4
aload 0
getfield sun.security.ssl.SSLEngineOutputRecord.isFirstAppOutputRecord:Z
ifne 4
2: getstatic sun.security.ssl.Record.enableCBCProtection:Z
ifeq 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/SSLEngineOutputRecord;
}
SourceFile: "SSLEngineOutputRecord.java"
NestMembers:
sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment sun.security.ssl.SSLEngineOutputRecord$HandshakeMemo sun.security.ssl.SSLEngineOutputRecord$RecordMemo
InnerClasses:
abstract SSLWriteCipher = sun.security.ssl.SSLCipher$SSLWriteCipher of sun.security.ssl.SSLCipher
final HandshakeFragment = sun.security.ssl.SSLEngineOutputRecord$HandshakeFragment of sun.security.ssl.SSLEngineOutputRecord
private HandshakeMemo = sun.security.ssl.SSLEngineOutputRecord$HandshakeMemo of sun.security.ssl.SSLEngineOutputRecord
private RecordMemo = sun.security.ssl.SSLEngineOutputRecord$RecordMemo of sun.security.ssl.SSLEngineOutputRecord