public class javax.crypto.KeyGenerator
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: javax.crypto.KeyGenerator
  super_class: java.lang.Object
{
  private static final sun.security.util.Debug pdebug;
    descriptor: Lsun/security/util/Debug;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final boolean skipDebug;
    descriptor: Z
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final int I_NONE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private static final int I_RANDOM;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  private static final int I_PARAMS;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 3

  private static final int I_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4

  private java.security.Provider provider;
    descriptor: Ljava/security/Provider;
    flags: (0x0002) ACC_PRIVATE

  private volatile javax.crypto.KeyGeneratorSpi spi;
    descriptor: Ljavax/crypto/KeyGeneratorSpi;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private final java.lang.String algorithm;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.Object lock;
    descriptor: Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.util.Iterator<java.security.Provider$Service> serviceIterator;
    descriptor: Ljava/util/Iterator;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Iterator<Ljava/security/Provider$Service;>;

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

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

  private java.security.spec.AlgorithmParameterSpec initParams;
    descriptor: Ljava/security/spec/AlgorithmParameterSpec;
    flags: (0x0002) ACC_PRIVATE

  private java.security.SecureRandom initRandom;
    descriptor: Ljava/security/SecureRandom;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 120
            ldc "provider"
            ldc "Provider"
            invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;Ljava/lang/String;)Lsun/security/util/Debug;
         1: .line 119
            putstatic javax.crypto.KeyGenerator.pdebug:Lsun/security/util/Debug;
         2: .line 122
            ldc "engine="
            invokestatic sun.security.util.Debug.isOn:(Ljava/lang/String;)Z
            ifeq 4
            ldc "keygenerator"
            invokestatic sun.security.util.Debug.isOn:(Ljava/lang/String;)Z
            ifne 4
         3: .line 121
            iconst_1
            goto 5
      StackMap locals:
      StackMap stack:
         4: iconst_0
      StackMap locals:
      StackMap stack: int
         5: putstatic javax.crypto.KeyGenerator.skipDebug:Z
         6: .line 129
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  protected void <init>(javax.crypto.KeyGeneratorSpi, java.security.Provider, java.lang.String);
    descriptor: (Ljavax/crypto/KeyGeneratorSpi;Ljava/security/Provider;Ljava/lang/String;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // javax.crypto.KeyGenerator this
        start local 1 // javax.crypto.KeyGeneratorSpi keyGenSpi
        start local 2 // java.security.Provider provider
        start local 3 // java.lang.String algorithm
         0: .line 156
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 140
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield javax.crypto.KeyGenerator.lock:Ljava/lang/Object;
         2: .line 158
            aload 0 /* this */
            aload 1 /* keyGenSpi */
            putfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
         3: .line 159
            aload 0 /* this */
            aload 2 /* provider */
            putfield javax.crypto.KeyGenerator.provider:Ljava/security/Provider;
         4: .line 160
            aload 0 /* this */
            aload 3 /* algorithm */
            putfield javax.crypto.KeyGenerator.algorithm:Ljava/lang/String;
         5: .line 162
            getstatic javax.crypto.KeyGenerator.skipDebug:Z
            ifne 9
            getstatic javax.crypto.KeyGenerator.pdebug:Lsun/security/util/Debug;
            ifnull 9
         6: .line 163
            getstatic javax.crypto.KeyGenerator.pdebug:Lsun/security/util/Debug;
            new java.lang.StringBuilder
            dup
            ldc "KeyGenerator."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* algorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " algorithm from: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         7: .line 164
            aload 0 /* this */
            invokevirtual javax.crypto.KeyGenerator.getProviderName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         8: .line 163
            invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
         9: .line 166
      StackMap locals: javax.crypto.KeyGenerator javax.crypto.KeyGeneratorSpi java.security.Provider java.lang.String
      StackMap stack:
            return
        end local 3 // java.lang.String algorithm
        end local 2 // java.security.Provider provider
        end local 1 // javax.crypto.KeyGeneratorSpi keyGenSpi
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   10     0       this  Ljavax/crypto/KeyGenerator;
            0   10     1  keyGenSpi  Ljavax/crypto/KeyGeneratorSpi;
            0   10     2   provider  Ljava/security/Provider;
            0   10     3  algorithm  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      keyGenSpi  
      provider   
      algorithm  

  private void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // javax.crypto.KeyGenerator this
        start local 1 // java.lang.String algorithm
         0: .line 168
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 140
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield javax.crypto.KeyGenerator.lock:Ljava/lang/Object;
         2: .line 169
            aload 0 /* this */
            aload 1 /* algorithm */
            putfield javax.crypto.KeyGenerator.algorithm:Ljava/lang/String;
         3: .line 171
            ldc "KeyGenerator"
            aload 1 /* algorithm */
            invokestatic sun.security.jca.GetInstance.getServices:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
         4: .line 170
            astore 2 /* list */
        start local 2 // java.util.List list
         5: .line 172
            aload 0 /* this */
            aload 2 /* list */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            putfield javax.crypto.KeyGenerator.serviceIterator:Ljava/util/Iterator;
         6: .line 173
            aload 0 /* this */
            iconst_1
            putfield javax.crypto.KeyGenerator.initType:I
         7: .line 175
            aload 0 /* this */
            aconst_null
            iconst_0
            invokevirtual javax.crypto.KeyGenerator.nextSpi:(Ljavax/crypto/KeyGeneratorSpi;Z)Ljavax/crypto/KeyGeneratorSpi;
            ifnonnull 11
         8: .line 176
            new java.security.NoSuchAlgorithmException
            dup
         9: .line 177
            new java.lang.StringBuilder
            dup
            aload 1 /* algorithm */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " KeyGenerator not available"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        10: .line 176
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 180
      StackMap locals: javax.crypto.KeyGenerator java.lang.String java.util.List
      StackMap stack:
            getstatic javax.crypto.KeyGenerator.skipDebug:Z
            ifne 15
            getstatic javax.crypto.KeyGenerator.pdebug:Lsun/security/util/Debug;
            ifnull 15
        12: .line 181
            getstatic javax.crypto.KeyGenerator.pdebug:Lsun/security/util/Debug;
            new java.lang.StringBuilder
            dup
            ldc "KeyGenerator."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* algorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " algorithm from: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        13: .line 182
            aload 0 /* this */
            invokevirtual javax.crypto.KeyGenerator.getProviderName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        14: .line 181
            invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
        15: .line 184
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.List list
        end local 1 // java.lang.String algorithm
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   16     0       this  Ljavax/crypto/KeyGenerator;
            0   16     1  algorithm  Ljava/lang/String;
            5   16     2       list  Ljava/util/List<Ljava/security/Provider$Service;>;
    Exceptions:
      throws java.security.NoSuchAlgorithmException
    MethodParameters:
           Name  Flags
      algorithm  

  private java.lang.String getProviderName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.crypto.KeyGenerator this
         0: .line 187
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.provider:Ljava/security/Provider;
            ifnonnull 1
            ldc "(no provider)"
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield javax.crypto.KeyGenerator.provider:Ljava/security/Provider;
            invokevirtual java.security.Provider.getName:()Ljava/lang/String;
      StackMap locals:
      StackMap stack: java.lang.String
         2: areturn
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljavax/crypto/KeyGenerator;

  public final java.lang.String getAlgorithm();
    descriptor: ()Ljava/lang/String;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.crypto.KeyGenerator this
         0: .line 200
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.algorithm:Ljava/lang/String;
            areturn
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/crypto/KeyGenerator;

  public static final javax.crypto.KeyGenerator getInstance(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljavax/crypto/KeyGenerator;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String algorithm
         0: .line 242
            aload 0 /* algorithm */
            ldc "null algorithm name"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         1: .line 243
            new javax.crypto.KeyGenerator
            dup
            aload 0 /* algorithm */
            invokespecial javax.crypto.KeyGenerator.<init>:(Ljava/lang/String;)V
            areturn
        end local 0 // java.lang.String algorithm
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0  algorithm  Ljava/lang/String;
    Exceptions:
      throws java.security.NoSuchAlgorithmException
    MethodParameters:
           Name  Flags
      algorithm  

  public static final javax.crypto.KeyGenerator getInstance(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/KeyGenerator;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.lang.String algorithm
        start local 1 // java.lang.String provider
         0: .line 285
            aload 0 /* algorithm */
            ldc "null algorithm name"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         1: .line 286
            ldc "KeyGenerator"
         2: .line 287
            ldc Ljavax/crypto/KeyGeneratorSpi;
            aload 0 /* algorithm */
            aload 1 /* provider */
         3: .line 286
            invokestatic javax.crypto.JceSecurity.getInstance:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lsun/security/jca/GetInstance$Instance;
            astore 2 /* instance */
        start local 2 // sun.security.jca.GetInstance$Instance instance
         4: .line 288
            new javax.crypto.KeyGenerator
            dup
            aload 2 /* instance */
            getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
            checkcast javax.crypto.KeyGeneratorSpi
         5: .line 289
            aload 2 /* instance */
            getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
            aload 0 /* algorithm */
         6: .line 288
            invokespecial javax.crypto.KeyGenerator.<init>:(Ljavax/crypto/KeyGeneratorSpi;Ljava/security/Provider;Ljava/lang/String;)V
            areturn
        end local 2 // sun.security.jca.GetInstance$Instance instance
        end local 1 // java.lang.String provider
        end local 0 // java.lang.String algorithm
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0  algorithm  Ljava/lang/String;
            0    7     1   provider  Ljava/lang/String;
            4    7     2   instance  Lsun/security/jca/GetInstance$Instance;
    Exceptions:
      throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
    MethodParameters:
           Name  Flags
      algorithm  
      provider   

  public static final javax.crypto.KeyGenerator getInstance(java.lang.String, java.security.Provider);
    descriptor: (Ljava/lang/String;Ljava/security/Provider;)Ljavax/crypto/KeyGenerator;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.lang.String algorithm
        start local 1 // java.security.Provider provider
         0: .line 324
            aload 0 /* algorithm */
            ldc "null algorithm name"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         1: .line 325
            ldc "KeyGenerator"
         2: .line 326
            ldc Ljavax/crypto/KeyGeneratorSpi;
            aload 0 /* algorithm */
            aload 1 /* provider */
         3: .line 325
            invokestatic javax.crypto.JceSecurity.getInstance:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/security/Provider;)Lsun/security/jca/GetInstance$Instance;
            astore 2 /* instance */
        start local 2 // sun.security.jca.GetInstance$Instance instance
         4: .line 327
            new javax.crypto.KeyGenerator
            dup
            aload 2 /* instance */
            getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
            checkcast javax.crypto.KeyGeneratorSpi
         5: .line 328
            aload 2 /* instance */
            getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
            aload 0 /* algorithm */
         6: .line 327
            invokespecial javax.crypto.KeyGenerator.<init>:(Ljavax/crypto/KeyGeneratorSpi;Ljava/security/Provider;Ljava/lang/String;)V
            areturn
        end local 2 // sun.security.jca.GetInstance$Instance instance
        end local 1 // java.security.Provider provider
        end local 0 // java.lang.String algorithm
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0  algorithm  Ljava/lang/String;
            0    7     1   provider  Ljava/security/Provider;
            4    7     2   instance  Lsun/security/jca/GetInstance$Instance;
    Exceptions:
      throws java.security.NoSuchAlgorithmException
    MethodParameters:
           Name  Flags
      algorithm  
      provider   

  public final java.security.Provider getProvider();
    descriptor: ()Ljava/security/Provider;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // javax.crypto.KeyGenerator this
         0: .line 337
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 338
            aload 0 /* this */
            invokevirtual javax.crypto.KeyGenerator.disableFailover:()V
         2: .line 339
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.provider:Ljava/security/Provider;
            aload 1
            monitorexit
         3: areturn
         4: .line 337
      StackMap locals: javax.crypto.KeyGenerator java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         5: athrow
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljavax/crypto/KeyGenerator;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any

  private javax.crypto.KeyGeneratorSpi nextSpi(javax.crypto.KeyGeneratorSpi, boolean);
    descriptor: (Ljavax/crypto/KeyGeneratorSpi;Z)Ljavax/crypto/KeyGeneratorSpi;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=7, args_size=3
        start local 0 // javax.crypto.KeyGenerator this
        start local 1 // javax.crypto.KeyGeneratorSpi oldSpi
        start local 2 // boolean reinit
         0: .line 351
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.lock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
         1: .line 354
            aload 1 /* oldSpi */
            ifnull 4
            aload 1 /* oldSpi */
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
            if_acmpeq 4
         2: .line 355
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
            aload 3
            monitorexit
         3: areturn
         4: .line 357
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.serviceIterator:Ljava/util/Iterator;
            ifnonnull 34
         5: .line 358
            aload 3
            monitorexit
         6: aconst_null
            areturn
         7: .line 361
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.serviceIterator:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.security.Provider$Service
            astore 4 /* s */
        start local 4 // java.security.Provider$Service s
         8: .line 362
            aload 4 /* s */
            invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
            invokestatic javax.crypto.JceSecurity.canUseProvider:(Ljava/security/Provider;)Z
            ifne 10
         9: .line 363
            goto 34
        10: .line 366
      StackMap locals: java.security.Provider$Service
      StackMap stack:
            aload 4 /* s */
            aconst_null
            invokevirtual java.security.Provider$Service.newInstance:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 5 /* inst */
        start local 5 // java.lang.Object inst
        11: .line 368
            aload 5 /* inst */
            instanceof javax.crypto.KeyGeneratorSpi
            ifne 13
        12: .line 369
            goto 34
        13: .line 371
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 5 /* inst */
            checkcast javax.crypto.KeyGeneratorSpi
            astore 6 /* spi */
        start local 6 // javax.crypto.KeyGeneratorSpi spi
        14: .line 372
            iload 2 /* reinit */
            ifeq 28
        15: .line 373
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.initType:I
            iconst_4
            if_icmpne 18
        16: .line 374
            aload 6 /* spi */
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.initKeySize:I
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.initRandom:Ljava/security/SecureRandom;
            invokevirtual javax.crypto.KeyGeneratorSpi.engineInit:(ILjava/security/SecureRandom;)V
        17: .line 375
            goto 28
      StackMap locals: javax.crypto.KeyGeneratorSpi
      StackMap stack:
        18: aload 0 /* this */
            getfield javax.crypto.KeyGenerator.initType:I
            iconst_3
            if_icmpne 21
        19: .line 376
            aload 6 /* spi */
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.initParams:Ljava/security/spec/AlgorithmParameterSpec;
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.initRandom:Ljava/security/SecureRandom;
            invokevirtual javax.crypto.KeyGeneratorSpi.engineInit:(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
        20: .line 377
            goto 28
      StackMap locals:
      StackMap stack:
        21: aload 0 /* this */
            getfield javax.crypto.KeyGenerator.initType:I
            iconst_2
            if_icmpne 24
        22: .line 378
            aload 6 /* spi */
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.initRandom:Ljava/security/SecureRandom;
            invokevirtual javax.crypto.KeyGeneratorSpi.engineInit:(Ljava/security/SecureRandom;)V
        23: .line 379
            goto 28
      StackMap locals:
      StackMap stack:
        24: aload 0 /* this */
            getfield javax.crypto.KeyGenerator.initType:I
            iconst_1
            if_icmpeq 28
        25: .line 380
            new java.lang.AssertionError
            dup
        26: .line 381
            new java.lang.StringBuilder
            dup
            ldc "KeyGenerator initType: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.initType:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        27: .line 380
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        28: .line 384
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* s */
            invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
            putfield javax.crypto.KeyGenerator.provider:Ljava/security/Provider;
        29: .line 385
            aload 0 /* this */
            aload 6 /* spi */
            putfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
        30: .line 386
            aload 6 /* spi */
        31: aload 3
            monitorexit
        32: areturn
        end local 6 // javax.crypto.KeyGeneratorSpi spi
        end local 5 // java.lang.Object inst
        33: .line 387
      StackMap locals: javax.crypto.KeyGenerator javax.crypto.KeyGeneratorSpi int java.lang.Object java.security.Provider$Service
      StackMap stack: java.lang.Exception
            pop
        end local 4 // java.security.Provider$Service s
        34: .line 360
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.serviceIterator:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        35: .line 391
            aload 0 /* this */
            invokevirtual javax.crypto.KeyGenerator.disableFailover:()V
        36: .line 392
            aload 3
            monitorexit
        37: aconst_null
            areturn
        38: .line 351
      StackMap locals:
      StackMap stack: java.lang.Throwable
            aload 3
            monitorexit
        39: athrow
        end local 2 // boolean reinit
        end local 1 // javax.crypto.KeyGeneratorSpi oldSpi
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   40     0    this  Ljavax/crypto/KeyGenerator;
            0   40     1  oldSpi  Ljavax/crypto/KeyGeneratorSpi;
            0   40     2  reinit  Z
            8   34     4       s  Ljava/security/Provider$Service;
           11   33     5    inst  Ljava/lang/Object;
           14   33     6     spi  Ljavax/crypto/KeyGeneratorSpi;
      Exception table:
        from    to  target  type
          10    12      33  Class java.lang.Exception
          13    31      33  Class java.lang.Exception
           1     3      38  any
           4     6      38  any
           7    32      38  any
          33    37      38  any
          38    39      38  any
    MethodParameters:
        Name  Flags
      oldSpi  
      reinit  

  void disableFailover();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // javax.crypto.KeyGenerator this
         0: .line 397
            aload 0 /* this */
            aconst_null
            putfield javax.crypto.KeyGenerator.serviceIterator:Ljava/util/Iterator;
         1: .line 398
            aload 0 /* this */
            iconst_0
            putfield javax.crypto.KeyGenerator.initType:I
         2: .line 399
            aload 0 /* this */
            aconst_null
            putfield javax.crypto.KeyGenerator.initParams:Ljava/security/spec/AlgorithmParameterSpec;
         3: .line 400
            aload 0 /* this */
            aconst_null
            putfield javax.crypto.KeyGenerator.initRandom:Ljava/security/SecureRandom;
         4: .line 401
            return
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljavax/crypto/KeyGenerator;

  public final void init(java.security.SecureRandom);
    descriptor: (Ljava/security/SecureRandom;)V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // javax.crypto.KeyGenerator this
        start local 1 // java.security.SecureRandom random
         0: .line 409
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.serviceIterator:Ljava/util/Iterator;
            ifnonnull 3
         1: .line 410
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
            aload 1 /* random */
            invokevirtual javax.crypto.KeyGeneratorSpi.engineInit:(Ljava/security/SecureRandom;)V
         2: .line 411
            return
         3: .line 413
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 2 /* failure */
        start local 2 // java.lang.RuntimeException failure
         4: .line 414
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
            astore 3 /* mySpi */
        start local 3 // javax.crypto.KeyGeneratorSpi mySpi
         5: .line 417
      StackMap locals: java.lang.RuntimeException javax.crypto.KeyGeneratorSpi
      StackMap stack:
            aload 3 /* mySpi */
            aload 1 /* random */
            invokevirtual javax.crypto.KeyGeneratorSpi.engineInit:(Ljava/security/SecureRandom;)V
         6: .line 418
            aload 0 /* this */
            iconst_2
            putfield javax.crypto.KeyGenerator.initType:I
         7: .line 419
            aload 0 /* this */
            iconst_0
            putfield javax.crypto.KeyGenerator.initKeySize:I
         8: .line 420
            aload 0 /* this */
            aconst_null
            putfield javax.crypto.KeyGenerator.initParams:Ljava/security/spec/AlgorithmParameterSpec;
         9: .line 421
            aload 0 /* this */
            aload 1 /* random */
            putfield javax.crypto.KeyGenerator.initRandom:Ljava/security/SecureRandom;
        10: .line 422
            return
        11: .line 423
      StackMap locals:
      StackMap stack: java.lang.RuntimeException
            astore 4 /* e */
        start local 4 // java.lang.RuntimeException e
        12: .line 424
            aload 2 /* failure */
            ifnonnull 14
        13: .line 425
            aload 4 /* e */
            astore 2 /* failure */
        14: .line 427
      StackMap locals: java.lang.RuntimeException
      StackMap stack:
            aload 0 /* this */
            aload 3 /* mySpi */
            iconst_0
            invokevirtual javax.crypto.KeyGenerator.nextSpi:(Ljavax/crypto/KeyGeneratorSpi;Z)Ljavax/crypto/KeyGeneratorSpi;
            astore 3 /* mySpi */
        end local 4 // java.lang.RuntimeException e
        15: .line 429
            aload 3 /* mySpi */
            ifnonnull 5
        16: .line 430
            aload 2 /* failure */
            athrow
        end local 3 // javax.crypto.KeyGeneratorSpi mySpi
        end local 2 // java.lang.RuntimeException failure
        end local 1 // java.security.SecureRandom random
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   17     0     this  Ljavax/crypto/KeyGenerator;
            0   17     1   random  Ljava/security/SecureRandom;
            4   17     2  failure  Ljava/lang/RuntimeException;
            5   17     3    mySpi  Ljavax/crypto/KeyGeneratorSpi;
           12   15     4        e  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
           5    10      11  Class java.lang.RuntimeException
    MethodParameters:
        Name  Flags
      random  

  public final void init(java.security.spec.AlgorithmParameterSpec);
    descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // javax.crypto.KeyGenerator this
        start local 1 // java.security.spec.AlgorithmParameterSpec params
         0: .line 452
            aload 0 /* this */
            aload 1 /* params */
            invokestatic sun.security.jca.JCAUtil.getSecureRandom:()Ljava/security/SecureRandom;
            invokevirtual javax.crypto.KeyGenerator.init:(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
         1: .line 453
            return
        end local 1 // java.security.spec.AlgorithmParameterSpec params
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Ljavax/crypto/KeyGenerator;
            0    2     1  params  Ljava/security/spec/AlgorithmParameterSpec;
    Exceptions:
      throws java.security.InvalidAlgorithmParameterException
    MethodParameters:
        Name  Flags
      params  

  public final void init(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
    descriptor: (Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // javax.crypto.KeyGenerator this
        start local 1 // java.security.spec.AlgorithmParameterSpec params
        start local 2 // java.security.SecureRandom random
         0: .line 468
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.serviceIterator:Ljava/util/Iterator;
            ifnonnull 3
         1: .line 469
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
            aload 1 /* params */
            aload 2 /* random */
            invokevirtual javax.crypto.KeyGeneratorSpi.engineInit:(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
         2: .line 470
            return
         3: .line 472
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 3 /* failure */
        start local 3 // java.lang.Exception failure
         4: .line 473
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
            astore 4 /* mySpi */
        start local 4 // javax.crypto.KeyGeneratorSpi mySpi
         5: .line 476
      StackMap locals: java.lang.Exception javax.crypto.KeyGeneratorSpi
      StackMap stack:
            aload 4 /* mySpi */
            aload 1 /* params */
            aload 2 /* random */
            invokevirtual javax.crypto.KeyGeneratorSpi.engineInit:(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
         6: .line 477
            aload 0 /* this */
            iconst_3
            putfield javax.crypto.KeyGenerator.initType:I
         7: .line 478
            aload 0 /* this */
            iconst_0
            putfield javax.crypto.KeyGenerator.initKeySize:I
         8: .line 479
            aload 0 /* this */
            aload 1 /* params */
            putfield javax.crypto.KeyGenerator.initParams:Ljava/security/spec/AlgorithmParameterSpec;
         9: .line 480
            aload 0 /* this */
            aload 2 /* random */
            putfield javax.crypto.KeyGenerator.initRandom:Ljava/security/SecureRandom;
        10: .line 481
            return
        11: .line 482
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 5 /* e */
        start local 5 // java.lang.Exception e
        12: .line 483
            aload 3 /* failure */
            ifnonnull 14
        13: .line 484
            aload 5 /* e */
            astore 3 /* failure */
        14: .line 486
      StackMap locals: java.lang.Exception
      StackMap stack:
            aload 0 /* this */
            aload 4 /* mySpi */
            iconst_0
            invokevirtual javax.crypto.KeyGenerator.nextSpi:(Ljavax/crypto/KeyGeneratorSpi;Z)Ljavax/crypto/KeyGeneratorSpi;
            astore 4 /* mySpi */
        end local 5 // java.lang.Exception e
        15: .line 488
            aload 4 /* mySpi */
            ifnonnull 5
        16: .line 489
            aload 3 /* failure */
            instanceof java.security.InvalidAlgorithmParameterException
            ifeq 18
        17: .line 490
            aload 3 /* failure */
            checkcast java.security.InvalidAlgorithmParameterException
            athrow
        18: .line 492
      StackMap locals:
      StackMap stack:
            aload 3 /* failure */
            instanceof java.lang.RuntimeException
            ifeq 20
        19: .line 493
            aload 3 /* failure */
            checkcast java.lang.RuntimeException
            athrow
        20: .line 495
      StackMap locals:
      StackMap stack:
            new java.security.InvalidAlgorithmParameterException
            dup
            ldc "init() failed"
            aload 3 /* failure */
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 4 // javax.crypto.KeyGeneratorSpi mySpi
        end local 3 // java.lang.Exception failure
        end local 2 // java.security.SecureRandom random
        end local 1 // java.security.spec.AlgorithmParameterSpec params
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   21     0     this  Ljavax/crypto/KeyGenerator;
            0   21     1   params  Ljava/security/spec/AlgorithmParameterSpec;
            0   21     2   random  Ljava/security/SecureRandom;
            4   21     3  failure  Ljava/lang/Exception;
            5   21     4    mySpi  Ljavax/crypto/KeyGeneratorSpi;
           12   15     5        e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           5    10      11  Class java.lang.Exception
    Exceptions:
      throws java.security.InvalidAlgorithmParameterException
    MethodParameters:
        Name  Flags
      params  
      random  

  public final void init(int);
    descriptor: (I)V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // javax.crypto.KeyGenerator this
        start local 1 // int keysize
         0: .line 516
            aload 0 /* this */
            iload 1 /* keysize */
            invokestatic sun.security.jca.JCAUtil.getSecureRandom:()Ljava/security/SecureRandom;
            invokevirtual javax.crypto.KeyGenerator.init:(ILjava/security/SecureRandom;)V
         1: .line 517
            return
        end local 1 // int keysize
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Ljavax/crypto/KeyGenerator;
            0    2     1  keysize  I
    MethodParameters:
         Name  Flags
      keysize  

  public final void init(int, java.security.SecureRandom);
    descriptor: (ILjava/security/SecureRandom;)V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=6, args_size=3
        start local 0 // javax.crypto.KeyGenerator this
        start local 1 // int keysize
        start local 2 // java.security.SecureRandom random
         0: .line 531
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.serviceIterator:Ljava/util/Iterator;
            ifnonnull 3
         1: .line 532
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
            iload 1 /* keysize */
            aload 2 /* random */
            invokevirtual javax.crypto.KeyGeneratorSpi.engineInit:(ILjava/security/SecureRandom;)V
         2: .line 533
            return
         3: .line 535
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 3 /* failure */
        start local 3 // java.lang.RuntimeException failure
         4: .line 536
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
            astore 4 /* mySpi */
        start local 4 // javax.crypto.KeyGeneratorSpi mySpi
         5: .line 539
      StackMap locals: java.lang.RuntimeException javax.crypto.KeyGeneratorSpi
      StackMap stack:
            aload 4 /* mySpi */
            iload 1 /* keysize */
            aload 2 /* random */
            invokevirtual javax.crypto.KeyGeneratorSpi.engineInit:(ILjava/security/SecureRandom;)V
         6: .line 540
            aload 0 /* this */
            iconst_4
            putfield javax.crypto.KeyGenerator.initType:I
         7: .line 541
            aload 0 /* this */
            iload 1 /* keysize */
            putfield javax.crypto.KeyGenerator.initKeySize:I
         8: .line 542
            aload 0 /* this */
            aconst_null
            putfield javax.crypto.KeyGenerator.initParams:Ljava/security/spec/AlgorithmParameterSpec;
         9: .line 543
            aload 0 /* this */
            aload 2 /* random */
            putfield javax.crypto.KeyGenerator.initRandom:Ljava/security/SecureRandom;
        10: .line 544
            return
        11: .line 545
      StackMap locals:
      StackMap stack: java.lang.RuntimeException
            astore 5 /* e */
        start local 5 // java.lang.RuntimeException e
        12: .line 546
            aload 3 /* failure */
            ifnonnull 14
        13: .line 547
            aload 5 /* e */
            astore 3 /* failure */
        14: .line 549
      StackMap locals: java.lang.RuntimeException
      StackMap stack:
            aload 0 /* this */
            aload 4 /* mySpi */
            iconst_0
            invokevirtual javax.crypto.KeyGenerator.nextSpi:(Ljavax/crypto/KeyGeneratorSpi;Z)Ljavax/crypto/KeyGeneratorSpi;
            astore 4 /* mySpi */
        end local 5 // java.lang.RuntimeException e
        15: .line 551
            aload 4 /* mySpi */
            ifnonnull 5
        16: .line 552
            aload 3 /* failure */
            athrow
        end local 4 // javax.crypto.KeyGeneratorSpi mySpi
        end local 3 // java.lang.RuntimeException failure
        end local 2 // java.security.SecureRandom random
        end local 1 // int keysize
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   17     0     this  Ljavax/crypto/KeyGenerator;
            0   17     1  keysize  I
            0   17     2   random  Ljava/security/SecureRandom;
            4   17     3  failure  Ljava/lang/RuntimeException;
            5   17     4    mySpi  Ljavax/crypto/KeyGeneratorSpi;
           12   15     5        e  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
           5    10      11  Class java.lang.RuntimeException
    MethodParameters:
         Name  Flags
      keysize  
      random   

  public final javax.crypto.SecretKey generateKey();
    descriptor: ()Ljavax/crypto/SecretKey;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // javax.crypto.KeyGenerator this
         0: .line 561
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.serviceIterator:Ljava/util/Iterator;
            ifnonnull 2
         1: .line 562
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
            invokevirtual javax.crypto.KeyGeneratorSpi.engineGenerateKey:()Ljavax/crypto/SecretKey;
            areturn
         2: .line 564
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 1 /* failure */
        start local 1 // java.lang.RuntimeException failure
         3: .line 565
            aload 0 /* this */
            getfield javax.crypto.KeyGenerator.spi:Ljavax/crypto/KeyGeneratorSpi;
            astore 2 /* mySpi */
        start local 2 // javax.crypto.KeyGeneratorSpi mySpi
         4: .line 568
      StackMap locals: java.lang.RuntimeException javax.crypto.KeyGeneratorSpi
      StackMap stack:
            aload 2 /* mySpi */
            invokevirtual javax.crypto.KeyGeneratorSpi.engineGenerateKey:()Ljavax/crypto/SecretKey;
         5: areturn
         6: .line 569
      StackMap locals:
      StackMap stack: java.lang.RuntimeException
            astore 3 /* e */
        start local 3 // java.lang.RuntimeException e
         7: .line 570
            aload 1 /* failure */
            ifnonnull 9
         8: .line 571
            aload 3 /* e */
            astore 1 /* failure */
         9: .line 573
      StackMap locals: java.lang.RuntimeException
      StackMap stack:
            aload 0 /* this */
            aload 2 /* mySpi */
            iconst_1
            invokevirtual javax.crypto.KeyGenerator.nextSpi:(Ljavax/crypto/KeyGeneratorSpi;Z)Ljavax/crypto/KeyGeneratorSpi;
            astore 2 /* mySpi */
        end local 3 // java.lang.RuntimeException e
        10: .line 575
            aload 2 /* mySpi */
            ifnonnull 4
        11: .line 576
            aload 1 /* failure */
            athrow
        end local 2 // javax.crypto.KeyGeneratorSpi mySpi
        end local 1 // java.lang.RuntimeException failure
        end local 0 // javax.crypto.KeyGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   12     0     this  Ljavax/crypto/KeyGenerator;
            3   12     1  failure  Ljava/lang/RuntimeException;
            4   12     2    mySpi  Ljavax/crypto/KeyGeneratorSpi;
            7   10     3        e  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
           4     5       6  Class java.lang.RuntimeException
}
SourceFile: "KeyGenerator.java"
InnerClasses:
  public Service = java.security.Provider$Service of java.security.Provider
  public final Instance = sun.security.jca.GetInstance$Instance of sun.security.jca.GetInstance