final class sun.security.ssl.CookieExtension$HRRCookieProducer implements sun.security.ssl.HandshakeProducer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.CookieExtension$HRRCookieProducer
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.security.ssl.CookieExtension$HRRCookieProducer this
0: .line 208
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 210
return
end local 0 // sun.security.ssl.CookieExtension$HRRCookieProducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/CookieExtension$HRRCookieProducer;
public byte[] produce(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=3
start local 0 // sun.security.ssl.CookieExtension$HRRCookieProducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 216
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 217
aload 2 /* message */
checkcast sun.security.ssl.ServerHello$ServerHelloMessage
astore 4 /* hrrm */
start local 4 // sun.security.ssl.ServerHello$ServerHelloMessage hrrm
2: .line 220
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getstatic sun.security.ssl.SSLExtension.HRR_COOKIE:Lsun/security/ssl/SSLExtension;
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
ifne 7
3: .line 221
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 6
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 6
4: .line 223
ldc "Ignore unavailable cookie extension"
iconst_0
anewarray java.lang.Object
5: .line 222
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
6: .line 225
StackMap locals: sun.security.ssl.ServerHandshakeContext sun.security.ssl.ServerHello$ServerHelloMessage
StackMap stack:
aconst_null
areturn
7: .line 229
StackMap locals:
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.SSLContextImpl.getHelloCookieManager:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/HelloCookieManager;
8: .line 228
astore 5 /* hcm */
start local 5 // sun.security.ssl.HelloCookieManager hcm
9: .line 231
aload 5 /* hcm */
aload 3 /* shc */
aload 4 /* hrrm */
getfield sun.security.ssl.ServerHello$ServerHelloMessage.clientHello:Lsun/security/ssl/ClientHello$ClientHelloMessage;
invokevirtual sun.security.ssl.HelloCookieManager.createCookie:(Lsun/security/ssl/ServerHandshakeContext;Lsun/security/ssl/ClientHello$ClientHelloMessage;)[B
astore 6 /* cookie */
start local 6 // byte[] cookie
10: .line 233
aload 6 /* cookie */
arraylength
iconst_2
iadd
newarray 8
astore 7 /* extData */
start local 7 // byte[] extData
11: .line 234
aload 7 /* extData */
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 8 /* m */
start local 8 // java.nio.ByteBuffer m
12: .line 235
aload 8 /* m */
aload 6 /* cookie */
invokestatic sun.security.ssl.Record.putBytes16:(Ljava/nio/ByteBuffer;[B)V
13: .line 237
aload 7 /* extData */
areturn
end local 8 // java.nio.ByteBuffer m
end local 7 // byte[] extData
end local 6 // byte[] cookie
end local 5 // sun.security.ssl.HelloCookieManager hcm
end local 4 // sun.security.ssl.ServerHello$ServerHelloMessage hrrm
end local 3 // sun.security.ssl.ServerHandshakeContext shc
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.CookieExtension$HRRCookieProducer this
LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/ssl/CookieExtension$HRRCookieProducer;
0 14 1 context Lsun/security/ssl/ConnectionContext;
0 14 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 14 3 shc Lsun/security/ssl/ServerHandshakeContext;
2 14 4 hrrm Lsun/security/ssl/ServerHello$ServerHelloMessage;
9 14 5 hcm Lsun/security/ssl/HelloCookieManager;
10 14 6 cookie [B
11 14 7 extData [B
12 14 8 m Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "CookieExtension.java"
NestHost: sun.security.ssl.CookieExtension
InnerClasses:
final ClientHelloMessage = sun.security.ssl.ClientHello$ClientHelloMessage of sun.security.ssl.ClientHello
private final HRRCookieProducer = sun.security.ssl.CookieExtension$HRRCookieProducer of sun.security.ssl.CookieExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake
final ServerHelloMessage = sun.security.ssl.ServerHello$ServerHelloMessage of sun.security.ssl.ServerHello