final class sun.security.ssl.CookieExtension$CHCookieUpdate implements sun.security.ssl.HandshakeConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.CookieExtension$CHCookieUpdate
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$CHCookieUpdate this
0: .line 182
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 184
return
end local 0 // sun.security.ssl.CookieExtension$CHCookieUpdate this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/CookieExtension$CHCookieUpdate;
public void consume(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=3
start local 0 // sun.security.ssl.CookieExtension$CHCookieUpdate this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 190
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 191
aload 2 /* message */
checkcast sun.security.ssl.ClientHello$ClientHelloMessage
astore 4 /* clientHello */
start local 4 // sun.security.ssl.ClientHello$ClientHelloMessage clientHello
2: .line 194
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.CH_COOKIE:Lsun/security/ssl/SSLExtension;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.ssl.CookieExtension$CookieSpec
3: .line 193
astore 5 /* spec */
start local 5 // sun.security.ssl.CookieExtension$CookieSpec spec
4: .line 195
aload 5 /* spec */
ifnonnull 6
5: .line 197
return
6: .line 201
StackMap locals: sun.security.ssl.ServerHandshakeContext sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.CookieExtension$CookieSpec
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;
7: .line 200
astore 6 /* hcm */
start local 6 // sun.security.ssl.HelloCookieManager hcm
8: .line 202
aload 6 /* hcm */
aload 3 /* shc */
aload 4 /* clientHello */
aload 5 /* spec */
getfield sun.security.ssl.CookieExtension$CookieSpec.cookie:[B
invokevirtual sun.security.ssl.HelloCookieManager.isCookieValid:(Lsun/security/ssl/ServerHandshakeContext;Lsun/security/ssl/ClientHello$ClientHelloMessage;[B)Z
ifne 12
9: .line 203
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
10: .line 204
ldc "unrecognized cookie"
11: .line 203
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
12: .line 206
StackMap locals: sun.security.ssl.HelloCookieManager
StackMap stack:
return
end local 6 // sun.security.ssl.HelloCookieManager hcm
end local 5 // sun.security.ssl.CookieExtension$CookieSpec spec
end local 4 // sun.security.ssl.ClientHello$ClientHelloMessage clientHello
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$CHCookieUpdate this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/ssl/CookieExtension$CHCookieUpdate;
0 13 1 context Lsun/security/ssl/ConnectionContext;
0 13 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 13 3 shc Lsun/security/ssl/ServerHandshakeContext;
2 13 4 clientHello Lsun/security/ssl/ClientHello$ClientHelloMessage;
4 13 5 spec Lsun/security/ssl/CookieExtension$CookieSpec;
8 13 6 hcm Lsun/security/ssl/HelloCookieManager;
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 CHCookieUpdate = sun.security.ssl.CookieExtension$CHCookieUpdate of sun.security.ssl.CookieExtension
CookieSpec = sun.security.ssl.CookieExtension$CookieSpec of sun.security.ssl.CookieExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake