final class sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec implements sun.security.ssl.SSLExtension$SSLExtensionSpec
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec
super_class: java.lang.Object
{
private static final sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec DEFAULT;
descriptor: Lsun/security/ssl/PskKeyExchangeModesExtension$PskKeyExchangeModesSpec;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
final byte[] modes;
descriptor: [B
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec
dup
iconst_1
newarray 8
dup
iconst_0
1: getstatic sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeMode.PSK_DHE_KE:Lsun/security/ssl/PskKeyExchangeModesExtension$PskKeyExchangeMode;
getfield sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeMode.id:B
bastore
2: invokespecial sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec.<init>:([B)V
3: putstatic sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec.DEFAULT:Lsun/security/ssl/PskKeyExchangeModesExtension$PskKeyExchangeModesSpec;
4: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec.modes:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/PskKeyExchangeModesExtension$PskKeyExchangeModesSpec;
0 3 1 modes [B
MethodParameters:
Name Flags
modes
void <init>(sun.security.ssl.HandshakeContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_2
if_icmpge 7
2: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
3: new javax.net.ssl.SSLProtocolException
dup
4: ldc "Invalid psk_key_exchange_modes extension: insufficient data"
5: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
6: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
7: StackMap locals: sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec sun.security.ssl.HandshakeContext java.nio.ByteBuffer
StackMap stack:
aload 0
aload 2
invokestatic sun.security.ssl.Record.getBytes8:(Ljava/nio/ByteBuffer;)[B
putfield sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec.modes:[B
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/PskKeyExchangeModesExtension$PskKeyExchangeModesSpec;
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
boolean contains(sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeMode);
descriptor: (Lsun/security/ssl/PskKeyExchangeModesExtension$PskKeyExchangeMode;)Z
flags: (0x0000)
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec.modes:[B
ifnull 7
1: aload 0
getfield sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec.modes:[B
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeMode top int int byte[]
StackMap stack:
2: aload 5
iload 3
baload
istore 2
start local 2 3: aload 1
getfield sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeMode.id:B
iload 2
if_icmpne 5
4: iconst_1
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: StackMap locals: sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeMode
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/PskKeyExchangeModesExtension$PskKeyExchangeModesSpec;
0 8 1 mode Lsun/security/ssl/PskKeyExchangeModesExtension$PskKeyExchangeMode;
3 5 2 m B
MethodParameters:
Name Flags
mode
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: new java.text.MessageFormat
dup
1: ldc "\"ke_modes\": '['{0}']'"
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
2: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 1
start local 1 3: aload 0
getfield sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec.modes:[B
ifnull 4
aload 0
getfield sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec.modes:[B
arraylength
ifne 8
4: StackMap locals: java.text.MessageFormat
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: ldc "<no PSK key exchange modes specified>"
aastore
6: astore 2
start local 2 7: aload 1
aload 2
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 8: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
bipush 64
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 9: iconst_1
istore 3
start local 3 10: aload 0
getfield sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec.modes:[B
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 18
StackMap locals: sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec java.text.MessageFormat java.lang.StringBuilder int top int int byte[]
StackMap stack:
11: aload 7
iload 5
baload
istore 4
start local 4 12: iload 3
ifeq 15
13: iconst_0
istore 3
14: goto 16
15: StackMap locals: sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec java.text.MessageFormat java.lang.StringBuilder int int int int byte[]
StackMap stack:
aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: StackMap locals:
StackMap stack:
aload 2
iload 4
invokestatic sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeMode.nameOf:(B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 17: iinc 5 1
StackMap locals: sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec java.text.MessageFormat java.lang.StringBuilder int top int int byte[]
StackMap stack:
18: iload 5
iload 6
if_icmplt 11
19: iconst_1
anewarray java.lang.Object
dup
iconst_0
20: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
21: astore 4
start local 4 22: aload 1
aload 4
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/security/ssl/PskKeyExchangeModesExtension$PskKeyExchangeModesSpec;
3 23 1 messageFormat Ljava/text/MessageFormat;
7 8 2 messageFields [Ljava/lang/Object;
9 23 2 builder Ljava/lang/StringBuilder;
10 23 3 isFirst Z
12 17 4 mode B
22 23 4 messageFields [Ljava/lang/Object;
}
SourceFile: "PskKeyExchangeModesExtension.java"
NestHost: sun.security.ssl.PskKeyExchangeModesExtension
InnerClasses:
final PskKeyExchangeMode = sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeMode of sun.security.ssl.PskKeyExchangeModesExtension
final PskKeyExchangeModesSpec = sun.security.ssl.PskKeyExchangeModesExtension$PskKeyExchangeModesSpec of sun.security.ssl.PskKeyExchangeModesExtension
abstract SSLExtensionSpec = sun.security.ssl.SSLExtension$SSLExtensionSpec of sun.security.ssl.SSLExtension