public abstract class sun.security.ssl.HandshakeMessage
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.security.ssl.HandshakeMessage
super_class: java.lang.Object
{
public static final sun.security.ssl.Debug debug;
descriptor: Lsun/security/ssl/Debug;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static final byte ht_hello_request;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final byte ht_client_hello;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final byte ht_server_hello;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final byte ht_hello_verify_request;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final byte ht_new_session_ticket;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final byte ht_certificate;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 11
static final byte ht_server_key_exchange;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 12
static final byte ht_certificate_request;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 13
static final byte ht_server_hello_done;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 14
static final byte ht_certificate_verify;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 15
static final byte ht_client_key_exchange;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final byte ht_finished;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 20
static final byte ht_certificate_url;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 21
static final byte ht_certificate_status;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 22
static final byte ht_supplemental_data;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 23
static final byte ht_not_applicable;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
static final byte[] MD5_pad1;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final byte[] MD5_pad2;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final byte[] SHA_pad1;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final byte[] SHA_pad2;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "ssl"
invokestatic sun.security.ssl.Debug.getInstance:(Ljava/lang/String;)Lsun/security/ssl/Debug;
putstatic sun.security.ssl.HandshakeMessage.debug:Lsun/security/ssl/Debug;
1: bipush 54
bipush 48
invokestatic sun.security.ssl.HandshakeMessage.genPad:(II)[B
putstatic sun.security.ssl.HandshakeMessage.MD5_pad1:[B
2: bipush 92
bipush 48
invokestatic sun.security.ssl.HandshakeMessage.genPad:(II)[B
putstatic sun.security.ssl.HandshakeMessage.MD5_pad2:[B
3: bipush 54
bipush 40
invokestatic sun.security.ssl.HandshakeMessage.genPad:(II)[B
putstatic sun.security.ssl.HandshakeMessage.SHA_pad1:[B
4: bipush 92
bipush 40
invokestatic sun.security.ssl.HandshakeMessage.genPad:(II)[B
putstatic sun.security.ssl.HandshakeMessage.SHA_pad2:[B
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/HandshakeMessage;
static byte[] toByteArray(java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;)[B
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.math.BigInteger.toByteArray:()[B
astore 1
start local 1 1: aload 1
arraylength
iconst_1
if_icmple 6
aload 1
iconst_0
baload
ifne 6
2: aload 1
arraylength
iconst_1
isub
istore 2
start local 2 3: iload 2
newarray 8
astore 3
start local 3 4: aload 1
iconst_1
aload 3
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 3
astore 1
end local 3 end local 2 6: StackMap locals: byte[]
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 bi Ljava/math/BigInteger;
1 7 1 b [B
3 6 2 n I
4 6 3 newarray [B
MethodParameters:
Name Flags
bi
private static byte[] genPad(int, int);
descriptor: (II)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 8
astore 2
start local 2 1: aload 2
iload 0
i2b
invokestatic java.util.Arrays.fill:([BB)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 b I
0 3 1 count I
1 3 2 padding [B
MethodParameters:
Name Flags
b
count
final void write(sun.security.ssl.HandshakeOutStream);
descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
flags: (0x0010) ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.ssl.HandshakeMessage.messageLength:()I
istore 2
start local 2 1: iload 2
ldc 16777216
if_icmplt 5
2: new javax.net.ssl.SSLException
dup
new java.lang.StringBuilder
dup
ldc "Handshake message too big, type = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 0
invokevirtual sun.security.ssl.HandshakeMessage.messageType:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", len = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial javax.net.ssl.SSLException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
aload 1
aload 0
invokevirtual sun.security.ssl.HandshakeMessage.messageType:()I
invokevirtual sun.security.ssl.HandshakeOutStream.write:(I)V
6: aload 1
iload 2
invokevirtual sun.security.ssl.HandshakeOutStream.putInt24:(I)V
7: aload 0
aload 1
invokevirtual sun.security.ssl.HandshakeMessage.send:(Lsun/security/ssl/HandshakeOutStream;)V
8: aload 1
invokevirtual sun.security.ssl.HandshakeOutStream.complete:()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/HandshakeMessage;
0 10 1 s Lsun/security/ssl/HandshakeOutStream;
1 10 2 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
abstract int messageType();
descriptor: ()I
flags: (0x0400) ACC_ABSTRACT
abstract int messageLength();
descriptor: ()I
flags: (0x0400) ACC_ABSTRACT
abstract void send(sun.security.ssl.HandshakeOutStream);
descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
abstract void print(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
p
}
SourceFile: "HandshakeMessage.java"
NestMembers:
sun.security.ssl.HandshakeMessage$CertificateMsg sun.security.ssl.HandshakeMessage$CertificateRequest sun.security.ssl.HandshakeMessage$CertificateStatus sun.security.ssl.HandshakeMessage$CertificateVerify sun.security.ssl.HandshakeMessage$ClientHello sun.security.ssl.HandshakeMessage$DH_ServerKeyExchange sun.security.ssl.HandshakeMessage$DistinguishedName sun.security.ssl.HandshakeMessage$ECDH_ServerKeyExchange sun.security.ssl.HandshakeMessage$Finished sun.security.ssl.HandshakeMessage$HelloRequest sun.security.ssl.HandshakeMessage$HelloVerifyRequest sun.security.ssl.HandshakeMessage$RSA_ServerKeyExchange sun.security.ssl.HandshakeMessage$ServerHello sun.security.ssl.HandshakeMessage$ServerHelloDone sun.security.ssl.HandshakeMessage$ServerKeyExchange
InnerClasses:
final CertificateMsg = sun.security.ssl.HandshakeMessage$CertificateMsg of sun.security.ssl.HandshakeMessage
final CertificateRequest = sun.security.ssl.HandshakeMessage$CertificateRequest of sun.security.ssl.HandshakeMessage
final CertificateStatus = sun.security.ssl.HandshakeMessage$CertificateStatus of sun.security.ssl.HandshakeMessage
final CertificateVerify = sun.security.ssl.HandshakeMessage$CertificateVerify of sun.security.ssl.HandshakeMessage
final ClientHello = sun.security.ssl.HandshakeMessage$ClientHello of sun.security.ssl.HandshakeMessage
final DH_ServerKeyExchange = sun.security.ssl.HandshakeMessage$DH_ServerKeyExchange of sun.security.ssl.HandshakeMessage
final DistinguishedName = sun.security.ssl.HandshakeMessage$DistinguishedName of sun.security.ssl.HandshakeMessage
final ECDH_ServerKeyExchange = sun.security.ssl.HandshakeMessage$ECDH_ServerKeyExchange of sun.security.ssl.HandshakeMessage
final Finished = sun.security.ssl.HandshakeMessage$Finished of sun.security.ssl.HandshakeMessage
final HelloRequest = sun.security.ssl.HandshakeMessage$HelloRequest of sun.security.ssl.HandshakeMessage
final HelloVerifyRequest = sun.security.ssl.HandshakeMessage$HelloVerifyRequest of sun.security.ssl.HandshakeMessage
final RSA_ServerKeyExchange = sun.security.ssl.HandshakeMessage$RSA_ServerKeyExchange of sun.security.ssl.HandshakeMessage
final ServerHello = sun.security.ssl.HandshakeMessage$ServerHello of sun.security.ssl.HandshakeMessage
final ServerHelloDone = sun.security.ssl.HandshakeMessage$ServerHelloDone of sun.security.ssl.HandshakeMessage
abstract ServerKeyExchange = sun.security.ssl.HandshakeMessage$ServerKeyExchange of sun.security.ssl.HandshakeMessage