final class sun.security.ssl.HandshakeHash
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.ssl.HandshakeHash
  super_class: java.lang.Object
{
  private int version;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private java.io.ByteArrayOutputStream data;
    descriptor: Ljava/io/ByteArrayOutputStream;
    flags: (0x0002) ACC_PRIVATE

  private final boolean isServer;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.security.MessageDigest md5;
    descriptor: Ljava/security/MessageDigest;
    flags: (0x0002) ACC_PRIVATE

  private java.security.MessageDigest sha;
    descriptor: Ljava/security/MessageDigest;
    flags: (0x0002) ACC_PRIVATE

  private final int clonesNeeded;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private boolean cvAlgDetermined;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String cvAlg;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.security.MessageDigest finMD;
    descriptor: Ljava/security/MessageDigest;
    flags: (0x0002) ACC_PRIVATE

  void <init>(boolean, boolean, java.util.Set<java.lang.String>);
    descriptor: (ZZLjava/util/Set;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // sun.security.ssl.HandshakeHash this
        start local 1 // boolean isServer
        start local 2 // boolean needCertificateVerify
        start local 3 // java.util.Set algs
         0: .line 130
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 109
            aload 0 /* this */
            iconst_m1
            putfield sun.security.ssl.HandshakeHash.version:I
         2: .line 110
            aload 0 /* this */
            new java.io.ByteArrayOutputStream
            dup
            invokespecial java.io.ByteArrayOutputStream.<init>:()V
            putfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
         3: .line 119
            aload 0 /* this */
            iconst_0
            putfield sun.security.ssl.HandshakeHash.cvAlgDetermined:Z
         4: .line 132
            aload 0 /* this */
            iload 1 /* isServer */
            putfield sun.security.ssl.HandshakeHash.isServer:Z
         5: .line 155
            aload 0 /* this */
            iload 2 /* needCertificateVerify */
            ifeq 6
            iconst_5
            goto 7
      StackMap locals: sun.security.ssl.HandshakeHash int int java.util.Set
      StackMap stack: sun.security.ssl.HandshakeHash
         6: iconst_4
      StackMap locals: sun.security.ssl.HandshakeHash int int java.util.Set
      StackMap stack: sun.security.ssl.HandshakeHash int
         7: putfield sun.security.ssl.HandshakeHash.clonesNeeded:I
         8: .line 156
            return
        end local 3 // java.util.Set algs
        end local 2 // boolean needCertificateVerify
        end local 1 // boolean isServer
        end local 0 // sun.security.ssl.HandshakeHash this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0    9     0                   this  Lsun/security/ssl/HandshakeHash;
            0    9     1               isServer  Z
            0    9     2  needCertificateVerify  Z
            0    9     3                   algs  Ljava/util/Set<Ljava/lang/String;>;
    Signature: (ZZLjava/util/Set<Ljava/lang/String;>;)V
    MethodParameters:
                       Name  Flags
      isServer               
      needCertificateVerify  
      algs                   

  void update(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // sun.security.ssl.HandshakeHash this
        start local 1 // byte[] b
        start local 2 // int offset
        start local 3 // int len
         0: .line 159
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.version:I
            tableswitch { // 1 - 1
                    1: 1
              default: 4
          }
         1: .line 161
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
            aload 1 /* b */
            iload 2 /* offset */
            iload 3 /* len */
            invokevirtual java.security.MessageDigest.update:([BII)V
         2: .line 162
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
            aload 1 /* b */
            iload 2 /* offset */
            iload 3 /* len */
            invokevirtual java.security.MessageDigest.update:([BII)V
         3: .line 163
            goto 7
         4: .line 165
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
            ifnull 6
         5: .line 166
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
            aload 1 /* b */
            iload 2 /* offset */
            iload 3 /* len */
            invokevirtual java.security.MessageDigest.update:([BII)V
         6: .line 168
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
            aload 1 /* b */
            iload 2 /* offset */
            iload 3 /* len */
            invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
         7: .line 171
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int len
        end local 2 // int offset
        end local 1 // byte[] b
        end local 0 // sun.security.ssl.HandshakeHash this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Lsun/security/ssl/HandshakeHash;
            0    8     1       b  [B
            0    8     2  offset  I
            0    8     3     len  I
    MethodParameters:
        Name  Flags
      b       
      offset  
      len     

  void reset();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.security.ssl.HandshakeHash this
         0: .line 179
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.version:I
            iconst_m1
            if_icmpeq 4
         1: .line 180
            new java.lang.RuntimeException
            dup
         2: .line 181
            ldc "reset() can be only be called before protocolDetermined"
         3: .line 180
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 183
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
            invokevirtual java.io.ByteArrayOutputStream.reset:()V
         5: .line 184
            return
        end local 0 // sun.security.ssl.HandshakeHash this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/security/ssl/HandshakeHash;

  void protocolDetermined(sun.security.ssl.ProtocolVersion);
    descriptor: (Lsun/security/ssl/ProtocolVersion;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // sun.security.ssl.HandshakeHash this
        start local 1 // sun.security.ssl.ProtocolVersion pv
         0: .line 190
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.version:I
            iconst_m1
            if_icmpeq 1
            return
         1: .line 192
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* pv */
            getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
            invokevirtual sun.security.ssl.ProtocolVersion.compareTo:(Lsun/security/ssl/ProtocolVersion;)I
            iflt 2
            iconst_2
            goto 3
      StackMap locals:
      StackMap stack: sun.security.ssl.HandshakeHash
         2: iconst_1
      StackMap locals: sun.security.ssl.HandshakeHash sun.security.ssl.ProtocolVersion
      StackMap stack: sun.security.ssl.HandshakeHash int
         3: putfield sun.security.ssl.HandshakeHash.version:I
         4: .line 193
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.version:I
            tableswitch { // 1 - 2
                    1: 5
                    2: 15
              default: 15
          }
         5: .line 197
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            ldc "MD5"
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.clonesNeeded:I
            invokestatic sun.security.ssl.CloneableDigest.getDigest:(Ljava/lang/String;I)Ljava/security/MessageDigest;
            putfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
         6: .line 198
            aload 0 /* this */
            ldc "SHA"
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.clonesNeeded:I
            invokestatic sun.security.ssl.CloneableDigest.getDigest:(Ljava/lang/String;I)Ljava/security/MessageDigest;
            putfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
         7: .line 199
            goto 12
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
         8: astore 2 /* e */
        start local 2 // java.security.NoSuchAlgorithmException e
         9: .line 200
            new java.lang.RuntimeException
            dup
        10: .line 201
            ldc "Algorithm MD5 or SHA not available"
            aload 2 /* e */
        11: .line 200
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.NoSuchAlgorithmException e
        12: .line 203
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            astore 2 /* bytes */
        start local 2 // byte[] bytes
        13: .line 204
            aload 0 /* this */
            aload 2 /* bytes */
            iconst_0
            aload 2 /* bytes */
            arraylength
            invokevirtual sun.security.ssl.HandshakeHash.update:([BII)V
        14: .line 205
            goto 15
        end local 2 // byte[] bytes
        15: .line 209
      StackMap locals:
      StackMap stack:
            return
        end local 1 // sun.security.ssl.ProtocolVersion pv
        end local 0 // sun.security.ssl.HandshakeHash this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   16     0   this  Lsun/security/ssl/HandshakeHash;
            0   16     1     pv  Lsun/security/ssl/ProtocolVersion;
            9   12     2      e  Ljava/security/NoSuchAlgorithmException;
           13   15     2  bytes  [B
      Exception table:
        from    to  target  type
           5     7       8  Class java.security.NoSuchAlgorithmException
    MethodParameters:
      Name  Flags
      pv    

  java.security.MessageDigest getMD5Clone();
    descriptor: ()Ljava/security/MessageDigest;
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.security.ssl.HandshakeHash this
         0: .line 219
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.version:I
            iconst_1
            if_icmpeq 4
         1: .line 220
            new java.lang.RuntimeException
            dup
         2: .line 221
            ldc "getMD5Clone() can be only be called for TLS 1.1"
         3: .line 220
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 223
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
            invokestatic sun.security.ssl.HandshakeHash.cloneDigest:(Ljava/security/MessageDigest;)Ljava/security/MessageDigest;
            areturn
        end local 0 // sun.security.ssl.HandshakeHash this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/security/ssl/HandshakeHash;

  java.security.MessageDigest getSHAClone();
    descriptor: ()Ljava/security/MessageDigest;
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.security.ssl.HandshakeHash this
         0: .line 230
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.version:I
            iconst_1
            if_icmpeq 4
         1: .line 231
            new java.lang.RuntimeException
            dup
         2: .line 232
            ldc "getSHAClone() can be only be called for TLS 1.1"
         3: .line 231
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 234
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
            invokestatic sun.security.ssl.HandshakeHash.cloneDigest:(Ljava/security/MessageDigest;)Ljava/security/MessageDigest;
            areturn
        end local 0 // sun.security.ssl.HandshakeHash this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/security/ssl/HandshakeHash;

  private static java.security.MessageDigest cloneDigest(java.security.MessageDigest);
    descriptor: (Ljava/security/MessageDigest;)Ljava/security/MessageDigest;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // java.security.MessageDigest digest
         0: .line 239
            aload 0 /* digest */
            invokevirtual java.security.MessageDigest.clone:()Ljava/lang/Object;
            checkcast java.security.MessageDigest
         1: areturn
         2: .line 240
      StackMap locals:
      StackMap stack: java.lang.CloneNotSupportedException
            astore 1 /* e */
        start local 1 // java.lang.CloneNotSupportedException e
         3: .line 242
            new java.lang.RuntimeException
            dup
            ldc "Could not clone digest"
            aload 1 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.lang.CloneNotSupportedException e
        end local 0 // java.security.MessageDigest digest
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0  digest  Ljava/security/MessageDigest;
            3    4     1       e  Ljava/lang/CloneNotSupportedException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.CloneNotSupportedException
    MethodParameters:
        Name  Flags
      digest  

  private static java.lang.String normalizeAlgName(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String alg
         0: .line 251
            aload 0 /* alg */
            getstatic java.util.Locale.US:Ljava/util/Locale;
            invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
            astore 0 /* alg */
         1: .line 252
            aload 0 /* alg */
            ldc "SHA"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 6
         2: .line 253
            aload 0 /* alg */
            invokevirtual java.lang.String.length:()I
            iconst_3
            if_icmpne 4
         3: .line 254
            ldc "SHA-1"
            areturn
         4: .line 256
      StackMap locals:
      StackMap stack:
            aload 0 /* alg */
            iconst_3
            invokevirtual java.lang.String.charAt:(I)C
            bipush 45
            if_icmpeq 6
         5: .line 257
            new java.lang.StringBuilder
            dup
            ldc "SHA-"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* alg */
            iconst_3
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
         6: .line 260
      StackMap locals:
      StackMap stack:
            aload 0 /* alg */
            areturn
        end local 0 // java.lang.String alg
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0   alg  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      alg   

  void setFinishedAlg(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // sun.security.ssl.HandshakeHash this
        start local 1 // java.lang.String s
         0: .line 268
            aload 1 /* s */
            ifnonnull 4
         1: .line 269
            new java.lang.RuntimeException
            dup
         2: .line 270
            ldc "setFinishedAlg's argument cannot be null"
         3: .line 269
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 274
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
            ifnull 5
            return
         5: .line 278
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* s */
            invokestatic sun.security.ssl.HandshakeHash.normalizeAlgName:(Ljava/lang/String;)Ljava/lang/String;
            iconst_4
            invokestatic sun.security.ssl.CloneableDigest.getDigest:(Ljava/lang/String;I)Ljava/security/MessageDigest;
            putfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
         6: .line 279
            goto 9
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
         7: astore 2 /* e */
        start local 2 // java.security.NoSuchAlgorithmException e
         8: .line 280
            new java.lang.Error
            dup
            aload 2 /* e */
            invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.NoSuchAlgorithmException e
         9: .line 282
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            invokevirtual java.security.MessageDigest.update:([B)V
        10: .line 283
            return
        end local 1 // java.lang.String s
        end local 0 // sun.security.ssl.HandshakeHash this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lsun/security/ssl/HandshakeHash;
            0   11     1     s  Ljava/lang/String;
            8    9     2     e  Ljava/security/NoSuchAlgorithmException;
      Exception table:
        from    to  target  type
           5     6       7  Class java.security.NoSuchAlgorithmException
    MethodParameters:
      Name  Flags
      s     

  void restrictCertificateVerifyAlgs(java.util.Set<java.lang.String>);
    descriptor: (Ljava/util/Set;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.security.ssl.HandshakeHash this
        start local 1 // java.util.Set algs
         0: .line 293
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.version:I
            iconst_1
            if_icmpne 4
         1: .line 294
            new java.lang.RuntimeException
            dup
         2: .line 295
            ldc "setCertificateVerifyAlg() cannot be called for TLS 1.1"
         3: .line 294
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 298
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.Set algs
        end local 0 // sun.security.ssl.HandshakeHash this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/security/ssl/HandshakeHash;
            0    5     1  algs  Ljava/util/Set<Ljava/lang/String;>;
    Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
    MethodParameters:
      Name  Flags
      algs  

  void setCertificateVerifyAlg(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.security.ssl.HandshakeHash this
        start local 1 // java.lang.String s
         0: .line 307
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.cvAlgDetermined:Z
            ifeq 1
            return
         1: .line 309
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* s */
            ifnonnull 2
            aconst_null
            goto 3
      StackMap locals:
      StackMap stack: sun.security.ssl.HandshakeHash
         2: aload 1 /* s */
            invokestatic sun.security.ssl.HandshakeHash.normalizeAlgName:(Ljava/lang/String;)Ljava/lang/String;
      StackMap locals: sun.security.ssl.HandshakeHash java.lang.String
      StackMap stack: sun.security.ssl.HandshakeHash java.lang.String
         3: putfield sun.security.ssl.HandshakeHash.cvAlg:Ljava/lang/String;
         4: .line 310
            aload 0 /* this */
            iconst_1
            putfield sun.security.ssl.HandshakeHash.cvAlgDetermined:Z
         5: .line 311
            return
        end local 1 // java.lang.String s
        end local 0 // sun.security.ssl.HandshakeHash this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/security/ssl/HandshakeHash;
            0    6     1     s  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      s     

  byte[] getAllHandshakeMessages();
    descriptor: ()[B
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.ssl.HandshakeHash this
         0: .line 314
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            areturn
        end local 0 // sun.security.ssl.HandshakeHash this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/ssl/HandshakeHash;

  byte[] getFinishedHash();
    descriptor: ()[B
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.security.ssl.HandshakeHash this
         0: .line 332
            aload 0 /* this */
            getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
            invokestatic sun.security.ssl.HandshakeHash.cloneDigest:(Ljava/security/MessageDigest;)Ljava/security/MessageDigest;
            invokevirtual java.security.MessageDigest.digest:()[B
         1: areturn
         2: .line 333
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
         3: .line 334
            new java.lang.Error
            dup
            ldc "BAD"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // sun.security.ssl.HandshakeHash this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lsun/security/ssl/HandshakeHash;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
}
SourceFile: "HandshakeHash.java"