class sun.security.ssl.CookieExtension$CookieSpec implements sun.security.ssl.SSLExtension$SSLExtensionSpec
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.ssl.CookieExtension$CookieSpec
super_class: java.lang.Object
{
final byte[] cookie;
descriptor: [B
flags: (0x0010) ACC_FINAL
private void <init>(sun.security.ssl.HandshakeContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 // sun.security.ssl.CookieExtension$CookieSpec this
start local 1 // sun.security.ssl.HandshakeContext hc
start local 2 // java.nio.ByteBuffer m
0: .line 66
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 69
aload 2 /* m */
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_3
if_icmpge 7
2: .line 70
aload 1 /* hc */
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
3: .line 71
new javax.net.ssl.SSLProtocolException
dup
4: .line 72
ldc "Invalid cookie extension: insufficient data"
5: .line 71
invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
6: .line 70
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
7: .line 75
StackMap locals: sun.security.ssl.CookieExtension$CookieSpec sun.security.ssl.HandshakeContext java.nio.ByteBuffer
StackMap stack:
aload 0 /* this */
aload 2 /* m */
invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
putfield sun.security.ssl.CookieExtension$CookieSpec.cookie:[B
8: .line 76
return
end local 2 // java.nio.ByteBuffer m
end local 1 // sun.security.ssl.HandshakeContext hc
end local 0 // sun.security.ssl.CookieExtension$CookieSpec this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/CookieExtension$CookieSpec;
0 9 1 hc Lsun/security/ssl/HandshakeContext;
0 9 2 m Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
hc
m
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 // sun.security.ssl.CookieExtension$CookieSpec this
0: .line 80
new java.text.MessageFormat
dup
1: .line 81
ldc "\"cookie\": '{'\n{0}\n'}',"
2: .line 83
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
3: .line 80
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 1 /* messageFormat */
start local 1 // java.text.MessageFormat messageFormat
4: .line 84
new sun.security.util.HexDumpEncoder
dup
invokespecial sun.security.util.HexDumpEncoder.<init>:()V
astore 2 /* hexEncoder */
start local 2 // sun.security.util.HexDumpEncoder hexEncoder
5: .line 85
iconst_1
anewarray java.lang.Object
dup
iconst_0
6: .line 86
aload 2 /* hexEncoder */
aload 0 /* this */
getfield sun.security.ssl.CookieExtension$CookieSpec.cookie:[B
invokevirtual sun.security.util.HexDumpEncoder.encode:([B)Ljava/lang/String;
invokestatic sun.security.ssl.Utilities.indent:(Ljava/lang/String;)Ljava/lang/String;
aastore
7: .line 85
astore 3 /* messageFields */
start local 3 // java.lang.Object[] messageFields
8: .line 89
aload 1 /* messageFormat */
aload 3 /* messageFields */
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 // java.lang.Object[] messageFields
end local 2 // sun.security.util.HexDumpEncoder hexEncoder
end local 1 // java.text.MessageFormat messageFormat
end local 0 // sun.security.ssl.CookieExtension$CookieSpec this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/CookieExtension$CookieSpec;
4 9 1 messageFormat Ljava/text/MessageFormat;
5 9 2 hexEncoder Lsun/security/util/HexDumpEncoder;
8 9 3 messageFields [Ljava/lang/Object;
}
SourceFile: "CookieExtension.java"
NestHost: sun.security.ssl.CookieExtension
InnerClasses:
CookieSpec = sun.security.ssl.CookieExtension$CookieSpec of sun.security.ssl.CookieExtension
abstract SSLExtensionSpec = sun.security.ssl.SSLExtension$SSLExtensionSpec of sun.security.ssl.SSLExtension