final class sun.security.ssl.HandshakeMessage$CertificateMsg extends sun.security.ssl.HandshakeMessage
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.ssl.HandshakeMessage$CertificateMsg
  super_class: sun.security.ssl.HandshakeMessage
{
  private java.security.cert.X509Certificate[] chain;
    descriptor: [Ljava/security/cert/X509Certificate;
    flags: (0x0002) ACC_PRIVATE

  private java.util.List<byte[]> encodedChain;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<[B>;

  private int messageLength;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  int messageType();
    descriptor: ()I
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
         0: .line 603
            bipush 11
            ireturn
        end local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/ssl/HandshakeMessage$CertificateMsg;

  void <init>(java.security.cert.X509Certificate[]);
    descriptor: ([Ljava/security/cert/X509Certificate;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
        start local 1 // java.security.cert.X509Certificate[] certs
         0: .line 611
            aload 0 /* this */
            invokespecial sun.security.ssl.HandshakeMessage.<init>:()V
         1: .line 612
            aload 0 /* this */
            aload 1 /* certs */
            putfield sun.security.ssl.HandshakeMessage$CertificateMsg.chain:[Ljava/security/cert/X509Certificate;
         2: .line 613
            return
        end local 1 // java.security.cert.X509Certificate[] certs
        end local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lsun/security/ssl/HandshakeMessage$CertificateMsg;
            0    3     1  certs  [Ljava/security/cert/X509Certificate;
    MethodParameters:
       Name  Flags
      certs  

  void <init>(sun.security.ssl.HandshakeInStream);
    descriptor: (Lsun/security/ssl/HandshakeInStream;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
        start local 1 // sun.security.ssl.HandshakeInStream input
         0: .line 615
            aload 0 /* this */
            invokespecial sun.security.ssl.HandshakeMessage.<init>:()V
         1: .line 616
            aload 1 /* input */
            invokevirtual sun.security.ssl.HandshakeInStream.getInt24:()I
            istore 2 /* chainLen */
        start local 2 // int chainLen
         2: .line 617
            new java.util.ArrayList
            dup
            iconst_4
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 3 /* v */
        start local 3 // java.util.List v
         3: .line 619
            aconst_null
            astore 4 /* cf */
        start local 4 // java.security.cert.CertificateFactory cf
         4: .line 620
            goto 17
         5: .line 621
      StackMap locals: sun.security.ssl.HandshakeMessage$CertificateMsg sun.security.ssl.HandshakeInStream int java.util.List java.security.cert.CertificateFactory
      StackMap stack:
            aload 1 /* input */
            invokevirtual sun.security.ssl.HandshakeInStream.getBytes24:()[B
            astore 5 /* cert */
        start local 5 // byte[] cert
         6: .line 622
            iload 2 /* chainLen */
            iconst_3
            aload 5 /* cert */
            arraylength
            iadd
            isub
            istore 2 /* chainLen */
         7: .line 624
            aload 4 /* cf */
            ifnonnull 9
         8: .line 625
            ldc "X.509"
            invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
            astore 4 /* cf */
         9: .line 627
      StackMap locals: byte[]
      StackMap stack:
            aload 3 /* v */
            aload 4 /* cf */
            new java.io.ByteArrayInputStream
            dup
            aload 5 /* cert */
            invokespecial java.io.ByteArrayInputStream.<init>:([B)V
            invokevirtual java.security.cert.CertificateFactory.generateCertificate:(Ljava/io/InputStream;)Ljava/security/cert/Certificate;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        10: .line 628
            goto 17
      StackMap locals:
      StackMap stack: java.security.cert.CertificateException
        11: astore 6 /* e */
        start local 6 // java.security.cert.CertificateException e
        12: .line 629
            new javax.net.ssl.SSLProtocolException
            dup
        13: .line 630
            aload 6 /* e */
            invokevirtual java.security.cert.CertificateException.getMessage:()Ljava/lang/String;
        14: .line 629
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
        15: .line 630
            aload 6 /* e */
            invokevirtual javax.net.ssl.SSLProtocolException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
        16: .line 629
            checkcast javax.net.ssl.SSLProtocolException
            athrow
        end local 6 // java.security.cert.CertificateException e
        end local 5 // byte[] cert
        17: .line 620
      StackMap locals:
      StackMap stack:
            iload 2 /* chainLen */
            ifgt 5
        18: .line 634
            aload 0 /* this */
            aload 3 /* v */
            aload 3 /* v */
            invokeinterface java.util.List.size:()I
            anewarray java.security.cert.X509Certificate
            invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast java.security.cert.X509Certificate[]
            putfield sun.security.ssl.HandshakeMessage$CertificateMsg.chain:[Ljava/security/cert/X509Certificate;
        19: .line 635
            return
        end local 4 // java.security.cert.CertificateFactory cf
        end local 3 // java.util.List v
        end local 2 // int chainLen
        end local 1 // sun.security.ssl.HandshakeInStream input
        end local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   20     0      this  Lsun/security/ssl/HandshakeMessage$CertificateMsg;
            0   20     1     input  Lsun/security/ssl/HandshakeInStream;
            2   20     2  chainLen  I
            3   20     3         v  Ljava/util/List<Ljava/security/cert/Certificate;>;
            4   20     4        cf  Ljava/security/cert/CertificateFactory;
            6   17     5      cert  [B
           12   17     6         e  Ljava/security/cert/CertificateException;
      Exception table:
        from    to  target  type
           7    10      11  Class java.security.cert.CertificateException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      input  

  int messageLength();
    descriptor: ()I
    flags: (0x0000) 
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
         0: .line 639
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeMessage$CertificateMsg.encodedChain:Ljava/util/List;
            ifnonnull 14
         1: .line 640
            aload 0 /* this */
            iconst_3
            putfield sun.security.ssl.HandshakeMessage$CertificateMsg.messageLength:I
         2: .line 641
            aload 0 /* this */
            new java.util.ArrayList
            dup
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeMessage$CertificateMsg.chain:[Ljava/security/cert/X509Certificate;
            arraylength
            invokespecial java.util.ArrayList.<init>:(I)V
            putfield sun.security.ssl.HandshakeMessage$CertificateMsg.encodedChain:Ljava/util/List;
         3: .line 643
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeMessage$CertificateMsg.chain:[Ljava/security/cert/X509Certificate;
            dup
            astore 4
            arraylength
            istore 3
            iconst_0
            istore 2
            goto 9
      StackMap locals: sun.security.ssl.HandshakeMessage$CertificateMsg top int int java.security.cert.X509Certificate[]
      StackMap stack:
         4: aload 4
            iload 2
            aaload
            astore 1 /* cert */
        start local 1 // java.security.cert.X509Certificate cert
         5: .line 644
            aload 1 /* cert */
            invokevirtual java.security.cert.X509Certificate.getEncoded:()[B
            astore 5 /* b */
        start local 5 // byte[] b
         6: .line 645
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeMessage$CertificateMsg.encodedChain:Ljava/util/List;
            aload 5 /* b */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         7: .line 646
            aload 0 /* this */
            dup
            getfield sun.security.ssl.HandshakeMessage$CertificateMsg.messageLength:I
            aload 5 /* b */
            arraylength
            iconst_3
            iadd
            iadd
            putfield sun.security.ssl.HandshakeMessage$CertificateMsg.messageLength:I
        end local 5 // byte[] b
        end local 1 // java.security.cert.X509Certificate cert
         8: .line 643
            iinc 2 1
      StackMap locals:
      StackMap stack:
         9: iload 2
            iload 3
            if_icmplt 4
        10: .line 648
            goto 14
      StackMap locals: sun.security.ssl.HandshakeMessage$CertificateMsg
      StackMap stack: java.security.cert.CertificateEncodingException
        11: astore 1 /* e */
        start local 1 // java.security.cert.CertificateEncodingException e
        12: .line 649
            aload 0 /* this */
            aconst_null
            putfield sun.security.ssl.HandshakeMessage$CertificateMsg.encodedChain:Ljava/util/List;
        13: .line 650
            new java.lang.RuntimeException
            dup
            ldc "Could not encode certificates"
            aload 1 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.security.cert.CertificateEncodingException e
        14: .line 653
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeMessage$CertificateMsg.messageLength:I
            ireturn
        end local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   15     0  this  Lsun/security/ssl/HandshakeMessage$CertificateMsg;
            5    8     1  cert  Ljava/security/cert/X509Certificate;
            6    8     5     b  [B
           12   14     1     e  Ljava/security/cert/CertificateEncodingException;
      Exception table:
        from    to  target  type
           3    10      11  Class java.security.cert.CertificateEncodingException

  void send(sun.security.ssl.HandshakeOutStream);
    descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
        start local 1 // sun.security.ssl.HandshakeOutStream s
         0: .line 658
            aload 1 /* s */
            aload 0 /* this */
            invokevirtual sun.security.ssl.HandshakeMessage$CertificateMsg.messageLength:()I
            iconst_3
            isub
            invokevirtual sun.security.ssl.HandshakeOutStream.putInt24:(I)V
         1: .line 659
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeMessage$CertificateMsg.encodedChain:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: sun.security.ssl.HandshakeMessage$CertificateMsg sun.security.ssl.HandshakeOutStream top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast byte[]
            astore 2 /* b */
        start local 2 // byte[] b
         3: .line 660
            aload 1 /* s */
            aload 2 /* b */
            invokevirtual sun.security.ssl.HandshakeOutStream.putBytes24:([B)V
        end local 2 // byte[] b
         4: .line 659
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 662
            return
        end local 1 // sun.security.ssl.HandshakeOutStream s
        end local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/security/ssl/HandshakeMessage$CertificateMsg;
            0    6     1     s  Lsun/security/ssl/HandshakeOutStream;
            3    4     2     b  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      s     

  void print(java.io.PrintStream);
    descriptor: (Ljava/io/PrintStream;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
        start local 1 // java.io.PrintStream s
         0: .line 666
            aload 1 /* s */
            ldc "*** Certificate chain"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 668
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeMessage$CertificateMsg.chain:[Ljava/security/cert/X509Certificate;
            arraylength
            ifne 4
         2: .line 669
            aload 1 /* s */
            ldc "<Empty>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         3: .line 670
            goto 10
      StackMap locals:
      StackMap stack:
         4: getstatic sun.security.ssl.HandshakeMessage$CertificateMsg.debug:Lsun/security/ssl/Debug;
            ifnull 10
            ldc "verbose"
            invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
            ifeq 10
         5: .line 671
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         6: goto 9
         7: .line 672
      StackMap locals: int
      StackMap stack:
            aload 1 /* s */
            new java.lang.StringBuilder
            dup
            ldc "chain ["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* i */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "] = "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeMessage$CertificateMsg.chain:[Ljava/security/cert/X509Certificate;
            iload 2 /* i */
            aaload
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         8: .line 671
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 2 /* i */
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeMessage$CertificateMsg.chain:[Ljava/security/cert/X509Certificate;
            arraylength
            if_icmplt 7
        end local 2 // int i
        10: .line 675
      StackMap locals:
      StackMap stack:
            aload 1 /* s */
            ldc "***"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        11: .line 676
            return
        end local 1 // java.io.PrintStream s
        end local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lsun/security/ssl/HandshakeMessage$CertificateMsg;
            0   12     1     s  Ljava/io/PrintStream;
            6   10     2     i  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      s     

  java.security.cert.X509Certificate[] getCertificateChain();
    descriptor: ()[Ljava/security/cert/X509Certificate;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
         0: .line 679
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeMessage$CertificateMsg.chain:[Ljava/security/cert/X509Certificate;
            invokevirtual java.security.cert.X509Certificate[].clone:()Ljava/lang/Object;
            checkcast java.security.cert.X509Certificate[]
            areturn
        end local 0 // sun.security.ssl.HandshakeMessage$CertificateMsg this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/ssl/HandshakeMessage$CertificateMsg;
}
SourceFile: "HandshakeMessage.java"
NestHost: sun.security.ssl.HandshakeMessage
InnerClasses:
  final CertificateMsg = sun.security.ssl.HandshakeMessage$CertificateMsg of sun.security.ssl.HandshakeMessage