public final class sun.security.ec.ECKeyFactory extends java.security.KeyFactorySpi
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: sun.security.ec.ECKeyFactory
  super_class: java.security.KeyFactorySpi
{
  public static final java.security.KeyFactory INSTANCE;
    descriptor: Ljava/security/KeyFactory;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.security.Provider ecInternalProvider;
    descriptor: Ljava/security/Provider;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=2, args_size=0
         0: .line 64
            new sun.security.ec.ECKeyFactory$1
            dup
            ldc "SunEC-Internal"
            dconst_1
            aconst_null
            invokespecial sun.security.ec.ECKeyFactory$1.<init>:(Ljava/lang/String;DLjava/lang/String;)V
            astore 0 /* p */
        start local 0 // java.security.Provider p
         1: .line 67
            new sun.security.ec.ECKeyFactory$2
            dup
            aload 0 /* p */
            invokespecial sun.security.ec.ECKeyFactory$2.<init>:(Ljava/security/Provider;)V
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            pop
         2: .line 76
            ldc "EC"
            aload 0 /* p */
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/KeyFactory;
            putstatic sun.security.ec.ECKeyFactory.INSTANCE:Ljava/security/KeyFactory;
         3: .line 77
            goto 6
      StackMap locals: java.security.Provider
      StackMap stack: java.security.NoSuchAlgorithmException
         4: astore 1 /* e */
        start local 1 // java.security.NoSuchAlgorithmException e
         5: .line 78
            new java.lang.RuntimeException
            dup
            aload 1 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.security.NoSuchAlgorithmException e
         6: .line 80
      StackMap locals:
      StackMap stack:
            aload 0 /* p */
            putstatic sun.security.ec.ECKeyFactory.ecInternalProvider:Ljava/security/Provider;
        end local 0 // java.security.Provider p
         7: .line 81
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    7     0     p  Ljava/security/Provider;
            5    6     1     e  Ljava/security/NoSuchAlgorithmException;
      Exception table:
        from    to  target  type
           2     3       4  Class java.security.NoSuchAlgorithmException

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.ec.ECKeyFactory this
         0: .line 83
            aload 0 /* this */
            invokespecial java.security.KeyFactorySpi.<init>:()V
         1: .line 85
            return
        end local 0 // sun.security.ec.ECKeyFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/security/ec/ECKeyFactory;

  public static java.security.interfaces.ECKey toECKey(java.security.Key);
    descriptor: (Ljava/security/Key;)Ljava/security/interfaces/ECKey;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.security.Key key
         0: .line 100
            aload 0 /* key */
            instanceof java.security.interfaces.ECKey
            ifeq 4
         1: .line 101
            aload 0 /* key */
            checkcast java.security.interfaces.ECKey
            astore 1 /* ecKey */
        start local 1 // java.security.interfaces.ECKey ecKey
         2: .line 102
            aload 1 /* ecKey */
            invokestatic sun.security.ec.ECKeyFactory.checkKey:(Ljava/security/interfaces/ECKey;)V
         3: .line 103
            aload 1 /* ecKey */
            areturn
        end local 1 // java.security.interfaces.ECKey ecKey
         4: .line 105
      StackMap locals:
      StackMap stack:
            getstatic sun.security.ec.ECKeyFactory.INSTANCE:Ljava/security/KeyFactory;
            aload 0 /* key */
            invokevirtual java.security.KeyFactory.translateKey:(Ljava/security/Key;)Ljava/security/Key;
            checkcast java.security.interfaces.ECKey
            areturn
        end local 0 // java.security.Key key
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0    key  Ljava/security/Key;
            2    4     1  ecKey  Ljava/security/interfaces/ECKey;
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
      Name  Flags
      key   

  private static void checkKey(java.security.interfaces.ECKey);
    descriptor: (Ljava/security/interfaces/ECKey;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // java.security.interfaces.ECKey key
         0: .line 114
            aload 0 /* key */
            instanceof java.security.interfaces.ECPublicKey
            ifeq 3
         1: .line 115
            aload 0 /* key */
            instanceof sun.security.ec.ECPublicKeyImpl
            ifeq 7
         2: .line 116
            return
         3: .line 118
      StackMap locals:
      StackMap stack:
            aload 0 /* key */
            instanceof java.security.interfaces.ECPrivateKey
            ifeq 6
         4: .line 119
            aload 0 /* key */
            instanceof sun.security.ec.ECPrivateKeyImpl
            ifeq 7
         5: .line 120
            return
         6: .line 123
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
            ldc "Neither a public nor a private key"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 126
      StackMap locals:
      StackMap stack:
            aload 0 /* key */
            checkcast java.security.Key
            invokeinterface java.security.Key.getAlgorithm:()Ljava/lang/String;
            astore 1 /* keyAlg */
        start local 1 // java.lang.String keyAlg
         8: .line 127
            aload 1 /* keyAlg */
            ldc "EC"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         9: .line 128
            new java.security.InvalidKeyException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Not an EC key: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* keyAlg */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 132
      StackMap locals: java.lang.String
      StackMap stack:
            return
        end local 1 // java.lang.String keyAlg
        end local 0 // java.security.interfaces.ECKey key
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   11     0     key  Ljava/security/interfaces/ECKey;
            8   11     1  keyAlg  Ljava/lang/String;
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
      Name  Flags
      key   

  protected java.security.Key engineTranslateKey(java.security.Key);
    descriptor: (Ljava/security/Key;)Ljava/security/Key;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // sun.security.ec.ECKeyFactory this
        start local 1 // java.security.Key key
         0: .line 140
            aload 1 /* key */
            ifnonnull 2
         1: .line 141
            new java.security.InvalidKeyException
            dup
            ldc "Key must not be null"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 143
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            invokeinterface java.security.Key.getAlgorithm:()Ljava/lang/String;
            astore 2 /* keyAlg */
        start local 2 // java.lang.String keyAlg
         3: .line 144
            aload 2 /* keyAlg */
            ldc "EC"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 5
         4: .line 145
            new java.security.InvalidKeyException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Not an EC key: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* keyAlg */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 147
      StackMap locals: java.lang.String
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.PublicKey
            ifeq 7
         6: .line 148
            aload 0 /* this */
            aload 1 /* key */
            checkcast java.security.PublicKey
            invokevirtual sun.security.ec.ECKeyFactory.implTranslatePublicKey:(Ljava/security/PublicKey;)Ljava/security/PublicKey;
            areturn
         7: .line 149
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.PrivateKey
            ifeq 9
         8: .line 150
            aload 0 /* this */
            aload 1 /* key */
            checkcast java.security.PrivateKey
            invokevirtual sun.security.ec.ECKeyFactory.implTranslatePrivateKey:(Ljava/security/PrivateKey;)Ljava/security/PrivateKey;
            areturn
         9: .line 152
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
            ldc "Neither a public nor a private key"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.String keyAlg
        end local 1 // java.security.Key key
        end local 0 // sun.security.ec.ECKeyFactory this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lsun/security/ec/ECKeyFactory;
            0   10     1     key  Ljava/security/Key;
            3   10     2  keyAlg  Ljava/lang/String;
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
      Name  Flags
      key   

  protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec);
    descriptor: (Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // sun.security.ec.ECKeyFactory this
        start local 1 // java.security.spec.KeySpec keySpec
         0: .line 160
            aload 0 /* this */
            aload 1 /* keySpec */
            invokevirtual sun.security.ec.ECKeyFactory.implGeneratePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
         1: areturn
         2: .line 161
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 2 /* e */
        start local 2 // java.security.spec.InvalidKeySpecException e
         3: .line 162
            aload 2 /* e */
            athrow
        end local 2 // java.security.spec.InvalidKeySpecException e
         4: .line 163
      StackMap locals:
      StackMap stack: java.security.GeneralSecurityException
            astore 2 /* e */
        start local 2 // java.security.GeneralSecurityException e
         5: .line 164
            new java.security.spec.InvalidKeySpecException
            dup
            aload 2 /* e */
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.GeneralSecurityException e
        end local 1 // java.security.spec.KeySpec keySpec
        end local 0 // sun.security.ec.ECKeyFactory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lsun/security/ec/ECKeyFactory;
            0    6     1  keySpec  Ljava/security/spec/KeySpec;
            3    4     2        e  Ljava/security/spec/InvalidKeySpecException;
            5    6     2        e  Ljava/security/GeneralSecurityException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.security.spec.InvalidKeySpecException
           0     1       4  Class java.security.GeneralSecurityException
    Exceptions:
      throws java.security.spec.InvalidKeySpecException
    MethodParameters:
         Name  Flags
      keySpec  

  protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec);
    descriptor: (Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // sun.security.ec.ECKeyFactory this
        start local 1 // java.security.spec.KeySpec keySpec
         0: .line 172
            aload 0 /* this */
            aload 1 /* keySpec */
            invokevirtual sun.security.ec.ECKeyFactory.implGeneratePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
         1: areturn
         2: .line 173
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 2 /* e */
        start local 2 // java.security.spec.InvalidKeySpecException e
         3: .line 174
            aload 2 /* e */
            athrow
        end local 2 // java.security.spec.InvalidKeySpecException e
         4: .line 175
      StackMap locals:
      StackMap stack: java.security.GeneralSecurityException
            astore 2 /* e */
        start local 2 // java.security.GeneralSecurityException e
         5: .line 176
            new java.security.spec.InvalidKeySpecException
            dup
            aload 2 /* e */
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.GeneralSecurityException e
        end local 1 // java.security.spec.KeySpec keySpec
        end local 0 // sun.security.ec.ECKeyFactory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lsun/security/ec/ECKeyFactory;
            0    6     1  keySpec  Ljava/security/spec/KeySpec;
            3    4     2        e  Ljava/security/spec/InvalidKeySpecException;
            5    6     2        e  Ljava/security/GeneralSecurityException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.security.spec.InvalidKeySpecException
           0     1       4  Class java.security.GeneralSecurityException
    Exceptions:
      throws java.security.spec.InvalidKeySpecException
    MethodParameters:
         Name  Flags
      keySpec  

  private java.security.PublicKey implTranslatePublicKey(java.security.PublicKey);
    descriptor: (Ljava/security/PublicKey;)Ljava/security/PublicKey;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // sun.security.ec.ECKeyFactory this
        start local 1 // java.security.PublicKey key
         0: .line 183
            aload 1 /* key */
            instanceof java.security.interfaces.ECPublicKey
            ifeq 8
         1: .line 184
            aload 1 /* key */
            instanceof sun.security.ec.ECPublicKeyImpl
            ifeq 3
         2: .line 185
            aload 1 /* key */
            areturn
         3: .line 187
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            checkcast java.security.interfaces.ECPublicKey
            astore 2 /* ecKey */
        start local 2 // java.security.interfaces.ECPublicKey ecKey
         4: .line 188
            new sun.security.ec.ECPublicKeyImpl
            dup
         5: .line 189
            aload 2 /* ecKey */
            invokeinterface java.security.interfaces.ECPublicKey.getW:()Ljava/security/spec/ECPoint;
         6: .line 190
            aload 2 /* ecKey */
            invokeinterface java.security.interfaces.ECPublicKey.getParams:()Ljava/security/spec/ECParameterSpec;
         7: .line 188
            invokespecial sun.security.ec.ECPublicKeyImpl.<init>:(Ljava/security/spec/ECPoint;Ljava/security/spec/ECParameterSpec;)V
            areturn
        end local 2 // java.security.interfaces.ECPublicKey ecKey
         8: .line 192
      StackMap locals:
      StackMap stack:
            ldc "X.509"
            aload 1 /* key */
            invokeinterface java.security.PublicKey.getFormat:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 11
         9: .line 193
            aload 1 /* key */
            invokeinterface java.security.PublicKey.getEncoded:()[B
            astore 2 /* encoded */
        start local 2 // byte[] encoded
        10: .line 194
            new sun.security.ec.ECPublicKeyImpl
            dup
            aload 2 /* encoded */
            invokespecial sun.security.ec.ECPublicKeyImpl.<init>:([B)V
            areturn
        end local 2 // byte[] encoded
        11: .line 196
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
            ldc "Public keys must be instance of ECPublicKey or have X.509 encoding"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.security.PublicKey key
        end local 0 // sun.security.ec.ECKeyFactory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   12     0     this  Lsun/security/ec/ECKeyFactory;
            0   12     1      key  Ljava/security/PublicKey;
            4    8     2    ecKey  Ljava/security/interfaces/ECPublicKey;
           10   11     2  encoded  [B
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
      Name  Flags
      key   

  private java.security.PrivateKey implTranslatePrivateKey(java.security.PrivateKey);
    descriptor: (Ljava/security/PrivateKey;)Ljava/security/PrivateKey;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // sun.security.ec.ECKeyFactory this
        start local 1 // java.security.PrivateKey key
         0: .line 204
            aload 1 /* key */
            instanceof java.security.interfaces.ECPrivateKey
            ifeq 8
         1: .line 205
            aload 1 /* key */
            instanceof sun.security.ec.ECPrivateKeyImpl
            ifeq 3
         2: .line 206
            aload 1 /* key */
            areturn
         3: .line 208
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            checkcast java.security.interfaces.ECPrivateKey
            astore 2 /* ecKey */
        start local 2 // java.security.interfaces.ECPrivateKey ecKey
         4: .line 209
            new sun.security.ec.ECPrivateKeyImpl
            dup
         5: .line 210
            aload 2 /* ecKey */
            invokeinterface java.security.interfaces.ECPrivateKey.getS:()Ljava/math/BigInteger;
         6: .line 211
            aload 2 /* ecKey */
            invokeinterface java.security.interfaces.ECPrivateKey.getParams:()Ljava/security/spec/ECParameterSpec;
         7: .line 209
            invokespecial sun.security.ec.ECPrivateKeyImpl.<init>:(Ljava/math/BigInteger;Ljava/security/spec/ECParameterSpec;)V
            areturn
        end local 2 // java.security.interfaces.ECPrivateKey ecKey
         8: .line 213
      StackMap locals:
      StackMap stack:
            ldc "PKCS#8"
            aload 1 /* key */
            invokeinterface java.security.PrivateKey.getFormat:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 10
         9: .line 214
            new sun.security.ec.ECPrivateKeyImpl
            dup
            aload 1 /* key */
            invokeinterface java.security.PrivateKey.getEncoded:()[B
            invokespecial sun.security.ec.ECPrivateKeyImpl.<init>:([B)V
            areturn
        10: .line 216
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
            ldc "Private keys must be instance of ECPrivateKey or have PKCS#8 encoding"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.security.PrivateKey key
        end local 0 // sun.security.ec.ECKeyFactory this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   11     0   this  Lsun/security/ec/ECKeyFactory;
            0   11     1    key  Ljava/security/PrivateKey;
            4    8     2  ecKey  Ljava/security/interfaces/ECPrivateKey;
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
      Name  Flags
      key   

  private java.security.PublicKey implGeneratePublic(java.security.spec.KeySpec);
    descriptor: (Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // sun.security.ec.ECKeyFactory this
        start local 1 // java.security.spec.KeySpec keySpec
         0: .line 224
            aload 1 /* keySpec */
            instanceof java.security.spec.X509EncodedKeySpec
            ifeq 3
         1: .line 225
            aload 1 /* keySpec */
            checkcast java.security.spec.X509EncodedKeySpec
            astore 2 /* x509Spec */
        start local 2 // java.security.spec.X509EncodedKeySpec x509Spec
         2: .line 226
            new sun.security.ec.ECPublicKeyImpl
            dup
            aload 2 /* x509Spec */
            invokevirtual java.security.spec.X509EncodedKeySpec.getEncoded:()[B
            invokespecial sun.security.ec.ECPublicKeyImpl.<init>:([B)V
            areturn
        end local 2 // java.security.spec.X509EncodedKeySpec x509Spec
         3: .line 227
      StackMap locals:
      StackMap stack:
            aload 1 /* keySpec */
            instanceof java.security.spec.ECPublicKeySpec
            ifeq 9
         4: .line 228
            aload 1 /* keySpec */
            checkcast java.security.spec.ECPublicKeySpec
            astore 2 /* ecSpec */
        start local 2 // java.security.spec.ECPublicKeySpec ecSpec
         5: .line 229
            new sun.security.ec.ECPublicKeyImpl
            dup
         6: .line 230
            aload 2 /* ecSpec */
            invokevirtual java.security.spec.ECPublicKeySpec.getW:()Ljava/security/spec/ECPoint;
         7: .line 231
            aload 2 /* ecSpec */
            invokevirtual java.security.spec.ECPublicKeySpec.getParams:()Ljava/security/spec/ECParameterSpec;
         8: .line 229
            invokespecial sun.security.ec.ECPublicKeyImpl.<init>:(Ljava/security/spec/ECPoint;Ljava/security/spec/ECParameterSpec;)V
            areturn
        end local 2 // java.security.spec.ECPublicKeySpec ecSpec
         9: .line 234
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
            ldc "Only ECPublicKeySpec and X509EncodedKeySpec supported for EC public keys"
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.security.spec.KeySpec keySpec
        end local 0 // sun.security.ec.ECKeyFactory this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Lsun/security/ec/ECKeyFactory;
            0   10     1   keySpec  Ljava/security/spec/KeySpec;
            2    3     2  x509Spec  Ljava/security/spec/X509EncodedKeySpec;
            5    9     2    ecSpec  Ljava/security/spec/ECPublicKeySpec;
    Exceptions:
      throws java.security.GeneralSecurityException
    MethodParameters:
         Name  Flags
      keySpec  

  private java.security.PrivateKey implGeneratePrivate(java.security.spec.KeySpec);
    descriptor: (Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // sun.security.ec.ECKeyFactory this
        start local 1 // java.security.spec.KeySpec keySpec
         0: .line 242
            aload 1 /* keySpec */
            instanceof java.security.spec.PKCS8EncodedKeySpec
            ifeq 3
         1: .line 243
            aload 1 /* keySpec */
            checkcast java.security.spec.PKCS8EncodedKeySpec
            astore 2 /* pkcsSpec */
        start local 2 // java.security.spec.PKCS8EncodedKeySpec pkcsSpec
         2: .line 244
            new sun.security.ec.ECPrivateKeyImpl
            dup
            aload 2 /* pkcsSpec */
            invokevirtual java.security.spec.PKCS8EncodedKeySpec.getEncoded:()[B
            invokespecial sun.security.ec.ECPrivateKeyImpl.<init>:([B)V
            areturn
        end local 2 // java.security.spec.PKCS8EncodedKeySpec pkcsSpec
         3: .line 245
      StackMap locals:
      StackMap stack:
            aload 1 /* keySpec */
            instanceof java.security.spec.ECPrivateKeySpec
            ifeq 6
         4: .line 246
            aload 1 /* keySpec */
            checkcast java.security.spec.ECPrivateKeySpec
            astore 2 /* ecSpec */
        start local 2 // java.security.spec.ECPrivateKeySpec ecSpec
         5: .line 247
            new sun.security.ec.ECPrivateKeyImpl
            dup
            aload 2 /* ecSpec */
            invokevirtual java.security.spec.ECPrivateKeySpec.getS:()Ljava/math/BigInteger;
            aload 2 /* ecSpec */
            invokevirtual java.security.spec.ECPrivateKeySpec.getParams:()Ljava/security/spec/ECParameterSpec;
            invokespecial sun.security.ec.ECPrivateKeyImpl.<init>:(Ljava/math/BigInteger;Ljava/security/spec/ECParameterSpec;)V
            areturn
        end local 2 // java.security.spec.ECPrivateKeySpec ecSpec
         6: .line 249
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
            ldc "Only ECPrivateKeySpec and PKCS8EncodedKeySpec supported for EC private keys"
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.security.spec.KeySpec keySpec
        end local 0 // sun.security.ec.ECKeyFactory this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Lsun/security/ec/ECKeyFactory;
            0    7     1   keySpec  Ljava/security/spec/KeySpec;
            2    3     2  pkcsSpec  Ljava/security/spec/PKCS8EncodedKeySpec;
            5    6     2    ecSpec  Ljava/security/spec/ECPrivateKeySpec;
    Exceptions:
      throws java.security.GeneralSecurityException
    MethodParameters:
         Name  Flags
      keySpec  

  protected <T extends java.security.spec.KeySpec> T engineGetKeySpec(java.security.Key, java.lang.Class<T>);
    descriptor: (Ljava/security/Key;Ljava/lang/Class;)Ljava/security/spec/KeySpec;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // sun.security.ec.ECKeyFactory this
        start local 1 // java.security.Key key
        start local 2 // java.lang.Class keySpec
         0: .line 260
            aload 0 /* this */
            aload 1 /* key */
            invokevirtual sun.security.ec.ECKeyFactory.engineTranslateKey:(Ljava/security/Key;)Ljava/security/Key;
            astore 1 /* key */
         1: .line 261
            goto 4
      StackMap locals:
      StackMap stack: java.security.InvalidKeyException
         2: astore 3 /* e */
        start local 3 // java.security.InvalidKeyException e
         3: .line 262
            new java.security.spec.InvalidKeySpecException
            dup
            aload 3 /* e */
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.security.InvalidKeyException e
         4: .line 264
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.interfaces.ECPublicKey
            ifeq 16
         5: .line 265
            aload 1 /* key */
            checkcast java.security.interfaces.ECPublicKey
            astore 3 /* ecKey */
        start local 3 // java.security.interfaces.ECPublicKey ecKey
         6: .line 266
            ldc Ljava/security/spec/ECPublicKeySpec;
            aload 2 /* keySpec */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 11
         7: .line 267
            aload 2 /* keySpec */
            new java.security.spec.ECPublicKeySpec
            dup
         8: .line 268
            aload 3 /* ecKey */
            invokeinterface java.security.interfaces.ECPublicKey.getW:()Ljava/security/spec/ECPoint;
         9: .line 269
            aload 3 /* ecKey */
            invokeinterface java.security.interfaces.ECPublicKey.getParams:()Ljava/security/spec/ECParameterSpec;
            invokespecial java.security.spec.ECPublicKeySpec.<init>:(Ljava/security/spec/ECPoint;Ljava/security/spec/ECParameterSpec;)V
        10: .line 267
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.security.spec.KeySpec
            areturn
        11: .line 271
      StackMap locals: java.security.interfaces.ECPublicKey
      StackMap stack:
            ldc Ljava/security/spec/X509EncodedKeySpec;
            aload 2 /* keySpec */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 13
        12: .line 272
            aload 2 /* keySpec */
            new java.security.spec.X509EncodedKeySpec
            dup
            aload 1 /* key */
            invokeinterface java.security.Key.getEncoded:()[B
            invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.security.spec.KeySpec
            areturn
        13: .line 274
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
        14: .line 275
            ldc "KeySpec must be ECPublicKeySpec or X509EncodedKeySpec for EC public keys"
        15: .line 274
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.security.interfaces.ECPublicKey ecKey
        16: .line 278
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.interfaces.ECPrivateKey
            ifeq 28
        17: .line 279
            ldc Ljava/security/spec/PKCS8EncodedKeySpec;
            aload 2 /* keySpec */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 19
        18: .line 280
            aload 2 /* keySpec */
            new java.security.spec.PKCS8EncodedKeySpec
            dup
            aload 1 /* key */
            invokeinterface java.security.Key.getEncoded:()[B
            invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.security.spec.KeySpec
            areturn
        19: .line 281
      StackMap locals:
      StackMap stack:
            ldc Ljava/security/spec/ECPrivateKeySpec;
            aload 2 /* keySpec */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 25
        20: .line 282
            aload 1 /* key */
            checkcast java.security.interfaces.ECPrivateKey
            astore 3 /* ecKey */
        start local 3 // java.security.interfaces.ECPrivateKey ecKey
        21: .line 283
            aload 2 /* keySpec */
            new java.security.spec.ECPrivateKeySpec
            dup
        22: .line 284
            aload 3 /* ecKey */
            invokeinterface java.security.interfaces.ECPrivateKey.getS:()Ljava/math/BigInteger;
        23: .line 285
            aload 3 /* ecKey */
            invokeinterface java.security.interfaces.ECPrivateKey.getParams:()Ljava/security/spec/ECParameterSpec;
            invokespecial java.security.spec.ECPrivateKeySpec.<init>:(Ljava/math/BigInteger;Ljava/security/spec/ECParameterSpec;)V
        24: .line 283
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.security.spec.KeySpec
            areturn
        end local 3 // java.security.interfaces.ECPrivateKey ecKey
        25: .line 288
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
        26: .line 289
            ldc "KeySpec must be ECPrivateKeySpec or PKCS8EncodedKeySpec for EC private keys"
        27: .line 288
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        28: .line 294
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
            ldc "Neither public nor private key"
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.Class keySpec
        end local 1 // java.security.Key key
        end local 0 // sun.security.ec.ECKeyFactory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   29     0     this  Lsun/security/ec/ECKeyFactory;
            0   29     1      key  Ljava/security/Key;
            0   29     2  keySpec  Ljava/lang/Class<TT;>;
            3    4     3        e  Ljava/security/InvalidKeyException;
            6   16     3    ecKey  Ljava/security/interfaces/ECPublicKey;
           21   25     3    ecKey  Ljava/security/interfaces/ECPrivateKey;
      Exception table:
        from    to  target  type
           0     1       2  Class java.security.InvalidKeyException
    Exceptions:
      throws java.security.spec.InvalidKeySpecException
    Signature: <T::Ljava/security/spec/KeySpec;>(Ljava/security/Key;Ljava/lang/Class<TT;>;)TT;
    MethodParameters:
         Name  Flags
      key      
      keySpec  
}
SourceFile: "ECKeyFactory.java"
NestMembers:
  sun.security.ec.ECKeyFactory$1  sun.security.ec.ECKeyFactory$2
InnerClasses:
  sun.security.ec.ECKeyFactory$1
  sun.security.ec.ECKeyFactory$2