public final class sun.security.tools.keytool.CertAndKeyGen
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: sun.security.tools.keytool.CertAndKeyGen
  super_class: java.lang.Object
{
  private java.security.SecureRandom prng;
    descriptor: Ljava/security/SecureRandom;
    flags: (0x0002) ACC_PRIVATE

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

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

  private java.security.KeyPairGenerator keyGen;
    descriptor: Ljava/security/KeyPairGenerator;
    flags: (0x0002) ACC_PRIVATE

  private java.security.PublicKey publicKey;
    descriptor: Ljava/security/PublicKey;
    flags: (0x0002) ACC_PRIVATE

  private java.security.PrivateKey privateKey;
    descriptor: Ljava/security/PrivateKey;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
        start local 1 // java.lang.String keyType
        start local 2 // java.lang.String sigAlg
         0: .line 76
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 79
            aload 0 /* this */
            aload 1 /* keyType */
            invokestatic java.security.KeyPairGenerator.getInstance:(Ljava/lang/String;)Ljava/security/KeyPairGenerator;
            putfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
         2: .line 80
            aload 0 /* this */
            aload 2 /* sigAlg */
            putfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
         3: .line 81
            aload 0 /* this */
            aload 1 /* keyType */
            putfield sun.security.tools.keytool.CertAndKeyGen.keyType:Ljava/lang/String;
         4: .line 82
            return
        end local 2 // java.lang.String sigAlg
        end local 1 // java.lang.String keyType
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lsun/security/tools/keytool/CertAndKeyGen;
            0    5     1  keyType  Ljava/lang/String;
            0    5     2   sigAlg  Ljava/lang/String;
    Exceptions:
      throws java.security.NoSuchAlgorithmException
    MethodParameters:
         Name  Flags
      keyType  
      sigAlg   

  public void <init>(java.lang.String, java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
        start local 1 // java.lang.String keyType
        start local 2 // java.lang.String sigAlg
        start local 3 // java.lang.String providerName
         0: .line 97
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 100
            aload 3 /* providerName */
            ifnonnull 4
         2: .line 101
            aload 0 /* this */
            aload 1 /* keyType */
            invokestatic java.security.KeyPairGenerator.getInstance:(Ljava/lang/String;)Ljava/security/KeyPairGenerator;
            putfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
         3: .line 102
            goto 8
         4: .line 104
      StackMap locals: sun.security.tools.keytool.CertAndKeyGen java.lang.String java.lang.String java.lang.String
      StackMap stack:
            aload 0 /* this */
            aload 1 /* keyType */
            aload 3 /* providerName */
            invokestatic java.security.KeyPairGenerator.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyPairGenerator;
            putfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
         5: .line 105
            goto 8
      StackMap locals:
      StackMap stack: java.lang.Exception
         6: pop
         7: .line 107
            aload 0 /* this */
            aload 1 /* keyType */
            invokestatic java.security.KeyPairGenerator.getInstance:(Ljava/lang/String;)Ljava/security/KeyPairGenerator;
            putfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
         8: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* sigAlg */
            putfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
         9: .line 111
            aload 0 /* this */
            aload 1 /* keyType */
            putfield sun.security.tools.keytool.CertAndKeyGen.keyType:Ljava/lang/String;
        10: .line 112
            return
        end local 3 // java.lang.String providerName
        end local 2 // java.lang.String sigAlg
        end local 1 // java.lang.String keyType
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   11     0          this  Lsun/security/tools/keytool/CertAndKeyGen;
            0   11     1       keyType  Ljava/lang/String;
            0   11     2        sigAlg  Ljava/lang/String;
            0   11     3  providerName  Ljava/lang/String;
      Exception table:
        from    to  target  type
           4     5       6  Class java.lang.Exception
    Exceptions:
      throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
    MethodParameters:
              Name  Flags
      keyType       
      sigAlg        
      providerName  

  public void setRandom(java.security.SecureRandom);
    descriptor: (Ljava/security/SecureRandom;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
        start local 1 // java.security.SecureRandom generator
         0: .line 124
            aload 0 /* this */
            aload 1 /* generator */
            putfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
         1: .line 125
            return
        end local 1 // java.security.SecureRandom generator
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lsun/security/tools/keytool/CertAndKeyGen;
            0    2     1  generator  Ljava/security/SecureRandom;
    MethodParameters:
           Name  Flags
      generator  

  public void generate(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
        start local 1 // java.lang.String name
         0: .line 129
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
            ifnonnull 2
         1: .line 130
            aload 0 /* this */
            new java.security.SecureRandom
            dup
            invokespecial java.security.SecureRandom.<init>:()V
            putfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
         2: .line 133
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
            new java.security.spec.NamedParameterSpec
            dup
            aload 1 /* name */
            invokespecial java.security.spec.NamedParameterSpec.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
            invokevirtual java.security.KeyPairGenerator.initialize:(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
         3: .line 134
            goto 11
      StackMap locals:
      StackMap stack: java.security.InvalidAlgorithmParameterException
         4: astore 2 /* e */
        start local 2 // java.security.InvalidAlgorithmParameterException e
         5: .line 135
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.keyType:Ljava/lang/String;
            ldc "EC"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 8
         6: .line 137
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
            new java.security.spec.ECGenParameterSpec
            dup
            aload 1 /* name */
            invokespecial java.security.spec.ECGenParameterSpec.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
            invokevirtual java.security.KeyPairGenerator.initialize:(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
         7: .line 138
            goto 11
         8: .line 139
      StackMap locals: java.security.InvalidAlgorithmParameterException
      StackMap stack:
            aload 2 /* e */
            athrow
        end local 2 // java.security.InvalidAlgorithmParameterException e
         9: .line 143
      StackMap locals: sun.security.tools.keytool.CertAndKeyGen java.lang.String
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
        10: .line 144
            new java.lang.IllegalArgumentException
            dup
            aload 2 /* e */
            invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.Exception e
        11: .line 146
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.security.tools.keytool.CertAndKeyGen.generateInternal:()V
        12: .line 147
            return
        end local 1 // java.lang.String name
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Lsun/security/tools/keytool/CertAndKeyGen;
            0   13     1  name  Ljava/lang/String;
            5    9     2     e  Ljava/security/InvalidAlgorithmParameterException;
           10   11     2     e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           2     3       4  Class java.security.InvalidAlgorithmParameterException
           0     9       9  Class java.lang.Exception
    MethodParameters:
      Name  Flags
      name  

  public void generate(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
        start local 1 // int keyBits
         0: .line 152
            iload 1 /* keyBits */
            iconst_m1
            if_icmpeq 7
         1: .line 154
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
            ifnonnull 3
         2: .line 155
            aload 0 /* this */
            new java.security.SecureRandom
            dup
            invokespecial java.security.SecureRandom.<init>:()V
            putfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
         3: .line 157
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
            iload 1 /* keyBits */
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
            invokevirtual java.security.KeyPairGenerator.initialize:(ILjava/security/SecureRandom;)V
         4: .line 159
            goto 7
      StackMap locals:
      StackMap stack: java.lang.Exception
         5: astore 2 /* e */
        start local 2 // java.lang.Exception e
         6: .line 160
            new java.lang.IllegalArgumentException
            dup
            aload 2 /* e */
            invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.Exception e
         7: .line 163
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.security.tools.keytool.CertAndKeyGen.generateInternal:()V
         8: .line 164
            return
        end local 1 // int keyBits
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0     this  Lsun/security/tools/keytool/CertAndKeyGen;
            0    9     1  keyBits  I
            6    7     2        e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           1     4       5  Class java.lang.Exception
    MethodParameters:
         Name  Flags
      keyBits  

  private void generateInternal();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
         0: .line 178
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
            invokevirtual java.security.KeyPairGenerator.generateKeyPair:()Ljava/security/KeyPair;
            astore 1 /* pair */
        start local 1 // java.security.KeyPair pair
         1: .line 179
            aload 0 /* this */
            aload 1 /* pair */
            invokevirtual java.security.KeyPair.getPublic:()Ljava/security/PublicKey;
            putfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
         2: .line 180
            aload 0 /* this */
            aload 1 /* pair */
            invokevirtual java.security.KeyPair.getPrivate:()Ljava/security/PrivateKey;
            putfield sun.security.tools.keytool.CertAndKeyGen.privateKey:Ljava/security/PrivateKey;
         3: .line 184
            ldc "X.509"
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
            invokeinterface java.security.PublicKey.getFormat:()Ljava/lang/String;
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 7
         4: .line 185
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Public key format is "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         5: .line 186
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
            invokeinterface java.security.PublicKey.getFormat:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ", must be X.509"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         6: .line 185
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 189
      StackMap locals: java.security.KeyPair
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
            ifnonnull 15
         8: .line 190
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.privateKey:Ljava/security/PrivateKey;
            invokestatic sun.security.x509.AlgorithmId.getDefaultSigAlgForKey:(Ljava/security/PrivateKey;)Ljava/lang/String;
            putfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
         9: .line 191
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
            ifnonnull 15
        10: .line 192
            new java.lang.IllegalArgumentException
            dup
        11: .line 193
            new java.lang.StringBuilder
            dup
            ldc "Cannot derive signature algorithm from "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        12: .line 194
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.privateKey:Ljava/security/PrivateKey;
            invokeinterface java.security.PrivateKey.getAlgorithm:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        13: .line 193
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        14: .line 192
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 197
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.security.KeyPair pair
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   16     0  this  Lsun/security/tools/keytool/CertAndKeyGen;
            1   16     1  pair  Ljava/security/KeyPair;

  public sun.security.x509.X509Key getPublicKey();
    descriptor: ()Lsun/security/x509/X509Key;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
         0: .line 211
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
            instanceof sun.security.x509.X509Key
            ifne 2
         1: .line 212
            aconst_null
            areturn
         2: .line 214
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
            checkcast sun.security.x509.X509Key
            areturn
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/security/tools/keytool/CertAndKeyGen;

  public java.security.PublicKey getPublicKeyAnyway();
    descriptor: ()Ljava/security/PublicKey;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
         0: .line 225
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
            areturn
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/tools/keytool/CertAndKeyGen;

  public java.security.PrivateKey getPrivateKey();
    descriptor: ()Ljava/security/PrivateKey;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
         0: .line 238
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.privateKey:Ljava/security/PrivateKey;
            areturn
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/tools/keytool/CertAndKeyGen;

  public java.security.cert.X509Certificate getSelfCertificate(sun.security.x509.X500Name, java.util.Date, long);
    descriptor: (Lsun/security/x509/X500Name;Ljava/util/Date;J)Ljava/security/cert/X509Certificate;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=4
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
        start local 1 // sun.security.x509.X500Name myname
        start local 2 // java.util.Date firstDate
        start local 3 // long validity
         0: .line 265
            aload 0 /* this */
            aload 1 /* myname */
            aload 2 /* firstDate */
            lload 3 /* validity */
            aconst_null
            invokevirtual sun.security.tools.keytool.CertAndKeyGen.getSelfCertificate:(Lsun/security/x509/X500Name;Ljava/util/Date;JLsun/security/x509/CertificateExtensions;)Ljava/security/cert/X509Certificate;
            areturn
        end local 3 // long validity
        end local 2 // java.util.Date firstDate
        end local 1 // sun.security.x509.X500Name myname
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lsun/security/tools/keytool/CertAndKeyGen;
            0    1     1     myname  Lsun/security/x509/X500Name;
            0    1     2  firstDate  Ljava/util/Date;
            0    1     3   validity  J
    Exceptions:
      throws java.security.cert.CertificateException, java.security.InvalidKeyException, java.security.SignatureException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
    MethodParameters:
           Name  Flags
      myname     
      firstDate  
      validity   

  public java.security.cert.X509Certificate getSelfCertificate(sun.security.x509.X500Name, java.util.Date, long, sun.security.x509.CertificateExtensions);
    descriptor: (Lsun/security/x509/X500Name;Ljava/util/Date;JLsun/security/x509/CertificateExtensions;)Ljava/security/cert/X509Certificate;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=12, args_size=5
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
        start local 1 // sun.security.x509.X500Name myname
        start local 2 // java.util.Date firstDate
        start local 3 // long validity
        start local 5 // sun.security.x509.CertificateExtensions ext
         0: .line 278
            new java.util.Date
            dup
            invokespecial java.util.Date.<init>:()V
            astore 7 /* lastDate */
        start local 7 // java.util.Date lastDate
         1: .line 279
            aload 7 /* lastDate */
            aload 2 /* firstDate */
            invokevirtual java.util.Date.getTime:()J
            lload 3 /* validity */
            ldc 1000
            lmul
            ladd
            invokevirtual java.util.Date.setTime:(J)V
         2: .line 282
            new sun.security.x509.CertificateValidity
            dup
            aload 2 /* firstDate */
            aload 7 /* lastDate */
            invokespecial sun.security.x509.CertificateValidity.<init>:(Ljava/util/Date;Ljava/util/Date;)V
         3: .line 281
            astore 8 /* interval */
        start local 8 // sun.security.x509.CertificateValidity interval
         4: .line 284
            new sun.security.x509.X509CertInfo
            dup
            invokespecial sun.security.x509.X509CertInfo.<init>:()V
            astore 9 /* info */
        start local 9 // sun.security.x509.X509CertInfo info
         5: .line 286
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.privateKey:Ljava/security/PrivateKey;
            invokestatic sun.security.x509.AlgorithmId.getDefaultAlgorithmParameterSpec:(Ljava/lang/String;Ljava/security/PrivateKey;)Ljava/security/spec/AlgorithmParameterSpec;
         6: .line 285
            astore 10 /* params */
        start local 10 // java.security.spec.AlgorithmParameterSpec params
         7: .line 288
            aload 9 /* info */
            ldc "version"
         8: .line 289
            new sun.security.x509.CertificateVersion
            dup
            iconst_2
            invokespecial sun.security.x509.CertificateVersion.<init>:(I)V
         9: .line 288
            invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
        10: .line 290
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
            ifnonnull 12
        11: .line 291
            aload 0 /* this */
            new java.security.SecureRandom
            dup
            invokespecial java.security.SecureRandom.<init>:()V
            putfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
        12: .line 293
      StackMap locals: sun.security.tools.keytool.CertAndKeyGen sun.security.x509.X500Name java.util.Date long sun.security.x509.CertificateExtensions top java.util.Date sun.security.x509.CertificateValidity sun.security.x509.X509CertInfo java.security.spec.AlgorithmParameterSpec
      StackMap stack:
            aload 9 /* info */
            ldc "serialNumber"
        13: .line 294
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
            invokestatic sun.security.x509.CertificateSerialNumber.newRandom64bit:(Ljava/util/Random;)Lsun/security/x509/CertificateSerialNumber;
        14: .line 293
            invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
        15: .line 295
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
            aload 10 /* params */
            invokestatic sun.security.x509.AlgorithmId.getWithParameterSpec:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Lsun/security/x509/AlgorithmId;
            astore 11 /* algID */
        start local 11 // sun.security.x509.AlgorithmId algID
        16: .line 296
            aload 9 /* info */
            ldc "algorithmID"
        17: .line 297
            new sun.security.x509.CertificateAlgorithmId
            dup
            aload 11 /* algID */
            invokespecial sun.security.x509.CertificateAlgorithmId.<init>:(Lsun/security/x509/AlgorithmId;)V
        18: .line 296
            invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
        19: .line 298
            aload 9 /* info */
            ldc "subject"
            aload 1 /* myname */
            invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
        20: .line 299
            aload 9 /* info */
            ldc "key"
            new sun.security.x509.CertificateX509Key
            dup
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
            invokespecial sun.security.x509.CertificateX509Key.<init>:(Ljava/security/PublicKey;)V
            invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
        21: .line 300
            aload 9 /* info */
            ldc "validity"
            aload 8 /* interval */
            invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
        22: .line 301
            aload 9 /* info */
            ldc "issuer"
            aload 1 /* myname */
            invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
        23: .line 302
            aload 5 /* ext */
            ifnull 24
            aload 9 /* info */
            ldc "extensions"
            aload 5 /* ext */
            invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
        24: .line 304
      StackMap locals: sun.security.x509.AlgorithmId
      StackMap stack:
            new sun.security.x509.X509CertImpl
            dup
            aload 9 /* info */
            invokespecial sun.security.x509.X509CertImpl.<init>:(Lsun/security/x509/X509CertInfo;)V
            astore 6 /* cert */
        start local 6 // sun.security.x509.X509CertImpl cert
        25: .line 305
            aload 6 /* cert */
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.privateKey:Ljava/security/PrivateKey;
        26: .line 306
            aload 10 /* params */
        27: .line 307
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
        28: .line 308
            aconst_null
        29: .line 305
            invokevirtual sun.security.x509.X509CertImpl.sign:(Ljava/security/PrivateKey;Ljava/security/spec/AlgorithmParameterSpec;Ljava/lang/String;Ljava/lang/String;)V
        30: .line 310
            aload 6 /* cert */
        31: areturn
        end local 11 // sun.security.x509.AlgorithmId algID
        end local 10 // java.security.spec.AlgorithmParameterSpec params
        end local 9 // sun.security.x509.X509CertInfo info
        end local 8 // sun.security.x509.CertificateValidity interval
        end local 7 // java.util.Date lastDate
        end local 6 // sun.security.x509.X509CertImpl cert
        32: .line 312
      StackMap locals: sun.security.tools.keytool.CertAndKeyGen sun.security.x509.X500Name java.util.Date long sun.security.x509.CertificateExtensions
      StackMap stack: java.io.IOException
            astore 8 /* e */
        start local 8 // java.io.IOException e
        33: .line 313
            new java.security.cert.CertificateEncodingException
            dup
            new java.lang.StringBuilder
            dup
            ldc "getSelfCert: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        34: .line 314
            aload 8 /* e */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        35: .line 313
            invokespecial java.security.cert.CertificateEncodingException.<init>:(Ljava/lang/String;)V
            athrow
        end local 8 // java.io.IOException e
        36: .line 315
      StackMap locals:
      StackMap stack: java.security.InvalidAlgorithmParameterException
            astore 8 /* e2 */
        start local 8 // java.security.InvalidAlgorithmParameterException e2
        37: .line 316
            new java.security.SignatureException
            dup
        38: .line 317
            new java.lang.StringBuilder
            dup
            ldc "Unsupported PSSParameterSpec: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 8 /* e2 */
            invokevirtual java.security.InvalidAlgorithmParameterException.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        39: .line 316
            invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
            athrow
        end local 8 // java.security.InvalidAlgorithmParameterException e2
        end local 5 // sun.security.x509.CertificateExtensions ext
        end local 3 // long validity
        end local 2 // java.util.Date firstDate
        end local 1 // sun.security.x509.X500Name myname
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   40     0       this  Lsun/security/tools/keytool/CertAndKeyGen;
            0   40     1     myname  Lsun/security/x509/X500Name;
            0   40     2  firstDate  Ljava/util/Date;
            0   40     3   validity  J
            0   40     5        ext  Lsun/security/x509/CertificateExtensions;
           25   32     6       cert  Lsun/security/x509/X509CertImpl;
            1   32     7   lastDate  Ljava/util/Date;
            4   32     8   interval  Lsun/security/x509/CertificateValidity;
            5   32     9       info  Lsun/security/x509/X509CertInfo;
            7   32    10     params  Ljava/security/spec/AlgorithmParameterSpec;
           16   32    11      algID  Lsun/security/x509/AlgorithmId;
           33   36     8          e  Ljava/io/IOException;
           37   40     8         e2  Ljava/security/InvalidAlgorithmParameterException;
      Exception table:
        from    to  target  type
           0    31      32  Class java.io.IOException
           0    31      36  Class java.security.InvalidAlgorithmParameterException
    Exceptions:
      throws java.security.cert.CertificateException, java.security.InvalidKeyException, java.security.SignatureException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
    MethodParameters:
           Name  Flags
      myname     
      firstDate  
      validity   
      ext        

  public java.security.cert.X509Certificate getSelfCertificate(sun.security.x509.X500Name, long);
    descriptor: (Lsun/security/x509/X500Name;J)Ljava/security/cert/X509Certificate;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
        start local 1 // sun.security.x509.X500Name myname
        start local 2 // long validity
         0: .line 326
            aload 0 /* this */
            aload 1 /* myname */
            new java.util.Date
            dup
            invokespecial java.util.Date.<init>:()V
            lload 2 /* validity */
            invokevirtual sun.security.tools.keytool.CertAndKeyGen.getSelfCertificate:(Lsun/security/x509/X500Name;Ljava/util/Date;J)Ljava/security/cert/X509Certificate;
            areturn
        end local 2 // long validity
        end local 1 // sun.security.x509.X500Name myname
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lsun/security/tools/keytool/CertAndKeyGen;
            0    1     1    myname  Lsun/security/x509/X500Name;
            0    1     2  validity  J
    Exceptions:
      throws java.security.cert.CertificateException, java.security.InvalidKeyException, java.security.SignatureException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
    MethodParameters:
          Name  Flags
      myname    
      validity  

  public sun.security.pkcs10.PKCS10 getCertRequest(sun.security.x509.X500Name);
    descriptor: (Lsun/security/x509/X500Name;)Lsun/security/pkcs10/PKCS10;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // sun.security.tools.keytool.CertAndKeyGen this
        start local 1 // sun.security.x509.X500Name myname
         0: .line 347
            new sun.security.pkcs10.PKCS10
            dup
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
            invokespecial sun.security.pkcs10.PKCS10.<init>:(Ljava/security/PublicKey;)V
            astore 2 /* req */
        start local 2 // sun.security.pkcs10.PKCS10 req
         1: .line 350
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
            invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
            astore 3 /* signature */
        start local 3 // java.security.Signature signature
         2: .line 351
            aload 3 /* signature */
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.privateKey:Ljava/security/PrivateKey;
            invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;)V
         3: .line 352
            aload 2 /* req */
            aload 1 /* myname */
            aload 3 /* signature */
            invokevirtual sun.security.pkcs10.PKCS10.encodeAndSign:(Lsun/security/x509/X500Name;Ljava/security/Signature;)V
        end local 3 // java.security.Signature signature
         4: .line 354
            goto 11
      StackMap locals: sun.security.tools.keytool.CertAndKeyGen sun.security.x509.X500Name sun.security.pkcs10.PKCS10
      StackMap stack: java.security.cert.CertificateException
         5: pop
         6: .line 355
            new java.security.SignatureException
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " CertificateException"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 357
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
         8: .line 358
            new java.security.SignatureException
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " IOException"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 360
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
            pop
        10: .line 362
            new java.security.SignatureException
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " unavailable?"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 364
      StackMap locals:
      StackMap stack:
            aload 2 /* req */
            areturn
        end local 2 // sun.security.pkcs10.PKCS10 req
        end local 1 // sun.security.x509.X500Name myname
        end local 0 // sun.security.tools.keytool.CertAndKeyGen this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   12     0       this  Lsun/security/tools/keytool/CertAndKeyGen;
            0   12     1     myname  Lsun/security/x509/X500Name;
            1   12     2        req  Lsun/security/pkcs10/PKCS10;
            2    4     3  signature  Ljava/security/Signature;
      Exception table:
        from    to  target  type
           1     4       5  Class java.security.cert.CertificateException
           1     4       7  Class java.io.IOException
           1     4       9  Class java.security.NoSuchAlgorithmException
    Exceptions:
      throws java.security.InvalidKeyException, java.security.SignatureException
    MethodParameters:
        Name  Flags
      myname  
}
SourceFile: "CertAndKeyGen.java"