final class sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher extends sun.security.ssl.SSLCipher$SSLWriteCipher
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher
  super_class: sun.security.ssl.SSLCipher$SSLWriteCipher
{
  private final javax.crypto.Cipher cipher;
    descriptor: Ljavax/crypto/Cipher;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private final java.security.Key key;
    descriptor: Ljava/security/Key;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final byte[] fixedIv;
    descriptor: [B
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private final java.security.SecureRandom random;
    descriptor: Ljava/security/SecureRandom;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(sun.security.ssl.Authenticator, sun.security.ssl.ProtocolVersion, sun.security.ssl.SSLCipher, java.lang.String, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
    descriptor: (Lsun/security/ssl/Authenticator;Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/SSLCipher;Ljava/lang/String;Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=8, args_size=8
        start local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
        start local 1 // sun.security.ssl.Authenticator authenticator
        start local 2 // sun.security.ssl.ProtocolVersion protocolVersion
        start local 3 // sun.security.ssl.SSLCipher sslCipher
        start local 4 // java.lang.String algorithm
        start local 5 // java.security.Key key
        start local 6 // java.security.spec.AlgorithmParameterSpec params
        start local 7 // java.security.SecureRandom random
         0: .line 1707
            aload 0 /* this */
            aload 1 /* authenticator */
            aload 2 /* protocolVersion */
            invokespecial sun.security.ssl.SSLCipher$SSLWriteCipher.<init>:(Lsun/security/ssl/Authenticator;Lsun/security/ssl/ProtocolVersion;)V
         1: .line 1708
            aload 0 /* this */
            aload 4 /* algorithm */
            invokestatic sun.security.ssl.JsseJce.getCipher:(Ljava/lang/String;)Ljavax/crypto/Cipher;
            putfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.cipher:Ljavax/crypto/Cipher;
         2: .line 1709
            aload 0 /* this */
            aload 3 /* sslCipher */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            bipush 16
            putfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.tagSize:I
         3: .line 1710
            aload 0 /* this */
            aload 5 /* key */
            putfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.key:Ljava/security/Key;
         4: .line 1711
            aload 0 /* this */
            aload 6 /* params */
            checkcast javax.crypto.spec.IvParameterSpec
            invokevirtual javax.crypto.spec.IvParameterSpec.getIV:()[B
            putfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.fixedIv:[B
         5: .line 1712
            aload 0 /* this */
            aload 3 /* sslCipher */
            getfield sun.security.ssl.SSLCipher.ivSize:I
            aload 3 /* sslCipher */
            getfield sun.security.ssl.SSLCipher.fixedIvSize:I
            isub
            putfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.recordIvSize:I
         6: .line 1713
            aload 0 /* this */
            aload 7 /* random */
            putfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.random:Ljava/security/SecureRandom;
         7: .line 1716
            return
        end local 7 // java.security.SecureRandom random
        end local 6 // java.security.spec.AlgorithmParameterSpec params
        end local 5 // java.security.Key key
        end local 4 // java.lang.String algorithm
        end local 3 // sun.security.ssl.SSLCipher sslCipher
        end local 2 // sun.security.ssl.ProtocolVersion protocolVersion
        end local 1 // sun.security.ssl.Authenticator authenticator
        end local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    8     0             this  Lsun/security/ssl/SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher;
            0    8     1    authenticator  Lsun/security/ssl/Authenticator;
            0    8     2  protocolVersion  Lsun/security/ssl/ProtocolVersion;
            0    8     3        sslCipher  Lsun/security/ssl/SSLCipher;
            0    8     4        algorithm  Ljava/lang/String;
            0    8     5              key  Ljava/security/Key;
            0    8     6           params  Ljava/security/spec/AlgorithmParameterSpec;
            0    8     7           random  Ljava/security/SecureRandom;
    Exceptions:
      throws java.security.GeneralSecurityException
    MethodParameters:
                 Name  Flags
      authenticator    
      protocolVersion  
      sslCipher        
      algorithm        
      key              
      params           
      random           

  public int encrypt(byte, java.nio.ByteBuffer);
    descriptor: (BLjava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=12, args_size=3
        start local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
        start local 1 // byte contentType
        start local 2 // java.nio.ByteBuffer bb
         0: .line 1723
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.authenticator:Lsun/security/ssl/Authenticator;
            invokevirtual sun.security.ssl.Authenticator.sequenceNumber:()[B
            astore 3 /* nonce */
        start local 3 // byte[] nonce
         1: .line 1726
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.fixedIv:[B
         2: .line 1727
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.fixedIv:[B
            arraylength
            aload 3 /* nonce */
            arraylength
            iadd
         3: .line 1726
            invokestatic java.util.Arrays.copyOf:([BI)[B
            astore 4 /* iv */
        start local 4 // byte[] iv
         4: .line 1728
            aload 3 /* nonce */
            iconst_0
            aload 4 /* iv */
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.fixedIv:[B
            arraylength
            aload 3 /* nonce */
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         5: .line 1730
            new javax.crypto.spec.GCMParameterSpec
            dup
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.tagSize:I
            bipush 8
            imul
            aload 4 /* iv */
            invokespecial javax.crypto.spec.GCMParameterSpec.<init>:(I[B)V
            astore 5 /* spec */
        start local 5 // javax.crypto.spec.GCMParameterSpec spec
         6: .line 1732
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.cipher:Ljavax/crypto/Cipher;
            iconst_1
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.key:Ljava/security/Key;
            aload 5 /* spec */
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.random:Ljava/security/SecureRandom;
            invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
         7: .line 1733
            goto 12
         8: .line 1734
      StackMap locals: sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher int java.nio.ByteBuffer byte[] byte[] javax.crypto.spec.GCMParameterSpec
      StackMap stack: java.security.GeneralSecurityException
            astore 6 /* ikae */
        start local 6 // java.security.GeneralSecurityException ikae
         9: .line 1736
            new java.lang.RuntimeException
            dup
        10: .line 1737
            ldc "invalid key or spec in GCM mode"
            aload 6 /* ikae */
        11: .line 1736
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 6 // java.security.GeneralSecurityException ikae
        12: .line 1742
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.authenticator:Lsun/security/ssl/Authenticator;
        13: .line 1743
            iload 1 /* contentType */
            aload 2 /* bb */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            aconst_null
        14: .line 1742
            invokevirtual sun.security.ssl.Authenticator.acquireAuthenticationBytes:(BI[B)[B
            astore 6 /* aad */
        start local 6 // byte[] aad
        15: .line 1744
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.cipher:Ljavax/crypto/Cipher;
            aload 6 /* aad */
            invokevirtual javax.crypto.Cipher.updateAAD:([B)V
        16: .line 1747
            aload 2 /* bb */
            aload 2 /* bb */
            invokevirtual java.nio.ByteBuffer.position:()I
            aload 3 /* nonce */
            arraylength
            isub
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
            pop
        17: .line 1748
            aload 2 /* bb */
            aload 3 /* nonce */
            invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
            pop
        18: .line 1751
            aload 2 /* bb */
            invokevirtual java.nio.ByteBuffer.position:()I
            istore 8 /* pos */
        start local 8 // int pos
        19: .line 1752
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 23
            ldc "plaintext"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 23
        20: .line 1754
            ldc "Plaintext before ENCRYPTION"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
        21: .line 1755
            aload 2 /* bb */
            invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
            aastore
        22: .line 1753
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        23: .line 1758
      StackMap locals: sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher int java.nio.ByteBuffer byte[] byte[] javax.crypto.spec.GCMParameterSpec byte[] top int
      StackMap stack:
            aload 2 /* bb */
            invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
            astore 9 /* dup */
        start local 9 // java.nio.ByteBuffer dup
        24: .line 1759
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.cipher:Ljavax/crypto/Cipher;
            aload 9 /* dup */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokevirtual javax.crypto.Cipher.getOutputSize:(I)I
            istore 10 /* outputSize */
        start local 10 // int outputSize
        25: .line 1760
            iload 10 /* outputSize */
            aload 2 /* bb */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            if_icmple 27
        26: .line 1766
            aload 2 /* bb */
            iload 8 /* pos */
            iload 10 /* outputSize */
            iadd
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
            pop
        27: .line 1770
      StackMap locals: java.nio.ByteBuffer int
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.cipher:Ljavax/crypto/Cipher;
            aload 9 /* dup */
            aload 2 /* bb */
            invokevirtual javax.crypto.Cipher.doFinal:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
            istore 7 /* len */
        start local 7 // int len
        28: .line 1771
            goto 36
        end local 7 // int len
        29: .line 1772
      StackMap locals:
      StackMap stack: java.security.GeneralSecurityException
            astore 11 /* ibse */
        start local 11 // java.security.GeneralSecurityException ibse
        30: .line 1774
            new java.lang.RuntimeException
            dup
        31: .line 1775
            new java.lang.StringBuilder
            dup
            ldc "Cipher error in AEAD mode in JCE provider "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        32: .line 1776
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.cipher:Ljavax/crypto/Cipher;
            invokevirtual javax.crypto.Cipher.getProvider:()Ljava/security/Provider;
            invokevirtual java.security.Provider.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        33: .line 1775
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        34: .line 1776
            aload 11 /* ibse */
        35: .line 1774
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 11 // java.security.GeneralSecurityException ibse
        start local 7 // int len
        36: .line 1779
      StackMap locals: sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher int java.nio.ByteBuffer byte[] byte[] javax.crypto.spec.GCMParameterSpec byte[] int int java.nio.ByteBuffer int
      StackMap stack:
            iload 7 /* len */
            iload 10 /* outputSize */
            if_icmpeq 42
        37: .line 1780
            new java.lang.RuntimeException
            dup
        38: .line 1781
            new java.lang.StringBuilder
            dup
            ldc "Cipher buffering error in JCE provider "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        39: .line 1782
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.cipher:Ljavax/crypto/Cipher;
            invokevirtual javax.crypto.Cipher.getProvider:()Ljava/security/Provider;
            invokevirtual java.security.Provider.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        40: .line 1781
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        41: .line 1780
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        42: .line 1785
      StackMap locals:
      StackMap stack:
            iload 7 /* len */
            aload 3 /* nonce */
            arraylength
            iadd
            ireturn
        end local 10 // int outputSize
        end local 9 // java.nio.ByteBuffer dup
        end local 8 // int pos
        end local 7 // int len
        end local 6 // byte[] aad
        end local 5 // javax.crypto.spec.GCMParameterSpec spec
        end local 4 // byte[] iv
        end local 3 // byte[] nonce
        end local 2 // java.nio.ByteBuffer bb
        end local 1 // byte contentType
        end local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   43     0         this  Lsun/security/ssl/SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher;
            0   43     1  contentType  B
            0   43     2           bb  Ljava/nio/ByteBuffer;
            1   43     3        nonce  [B
            4   43     4           iv  [B
            6   43     5         spec  Ljavax/crypto/spec/GCMParameterSpec;
            9   12     6         ikae  Ljava/security/GeneralSecurityException;
           15   43     6          aad  [B
           28   29     7          len  I
           36   43     7          len  I
           19   43     8          pos  I
           24   43     9          dup  Ljava/nio/ByteBuffer;
           25   43    10   outputSize  I
           30   36    11         ibse  Ljava/security/GeneralSecurityException;
      Exception table:
        from    to  target  type
           6     7       8  Class java.security.InvalidKeyException
           6     7       8  Class java.security.InvalidAlgorithmParameterException
          27    28      29  Class javax.crypto.IllegalBlockSizeException
          27    28      29  Class javax.crypto.BadPaddingException
          27    28      29  Class javax.crypto.ShortBufferException
    MethodParameters:
             Name  Flags
      contentType  
      bb           

  void dispose();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
         0: .line 1790
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.cipher:Ljavax/crypto/Cipher;
            ifnull 4
         1: .line 1792
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.cipher:Ljavax/crypto/Cipher;
            invokevirtual javax.crypto.Cipher.doFinal:()[B
            pop
         2: .line 1793
            goto 4
      StackMap locals:
      StackMap stack: java.lang.Exception
         3: pop
         4: .line 1797
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/security/ssl/SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.Exception

  int getExplicitNonceSize();
    descriptor: ()I
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
         0: .line 1801
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.recordIvSize:I
            ireturn
        end local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/ssl/SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher;

  int calculateFragmentSize(int, int);
    descriptor: (II)I
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
        start local 1 // int packetLimit
        start local 2 // int headerSize
         0: .line 1806
            iload 1 /* packetLimit */
            iload 2 /* headerSize */
            isub
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.recordIvSize:I
            isub
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.tagSize:I
            isub
            ireturn
        end local 2 // int headerSize
        end local 1 // int packetLimit
        end local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    1     0         this  Lsun/security/ssl/SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher;
            0    1     1  packetLimit  I
            0    1     2   headerSize  I
    MethodParameters:
             Name  Flags
      packetLimit  
      headerSize   

  int calculatePacketSize(int, int);
    descriptor: (II)I
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
        start local 1 // int fragmentSize
        start local 2 // int headerSize
         0: .line 1811
            iload 1 /* fragmentSize */
            iload 2 /* headerSize */
            iadd
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.recordIvSize:I
            iadd
            aload 0 /* this */
            getfield sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher.tagSize:I
            iadd
            ireturn
        end local 2 // int headerSize
        end local 1 // int fragmentSize
        end local 0 // sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    1     0          this  Lsun/security/ssl/SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher;
            0    1     1  fragmentSize  I
            0    1     2    headerSize  I
    MethodParameters:
              Name  Flags
      fragmentSize  
      headerSize    
}
SourceFile: "SSLCipher.java"
NestHost: sun.security.ssl.SSLCipher
InnerClasses:
  abstract SSLWriteCipher = sun.security.ssl.SSLCipher$SSLWriteCipher of sun.security.ssl.SSLCipher
  private final T12GcmWriteCipherGenerator = sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator of sun.security.ssl.SSLCipher
  private final GcmWriteCipher = sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator$GcmWriteCipher of sun.security.ssl.SSLCipher$T12GcmWriteCipherGenerator