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
{
  private static java.security.KeyFactory instance;
    descriptor: Ljava/security/KeyFactory;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static java.security.KeyFactory getInstance();
    descriptor: ()Ljava/security/KeyFactory;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 58
            getstatic sun.security.ec.ECKeyFactory.instance:Ljava/security/KeyFactory;
            ifnonnull 7
         1: .line 60
            ldc "EC"
            ldc "SunEC"
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyFactory;
            putstatic sun.security.ec.ECKeyFactory.instance:Ljava/security/KeyFactory;
         2: .line 61
            goto 7
      StackMap locals:
      StackMap stack: java.security.NoSuchProviderException
         3: astore 0 /* e */
        start local 0 // java.security.NoSuchProviderException e
         4: .line 62
            new java.lang.RuntimeException
            dup
            aload 0 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 0 // java.security.NoSuchProviderException e
         5: .line 63
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
            astore 0 /* e */
        start local 0 // java.security.NoSuchAlgorithmException e
         6: .line 64
            new java.lang.RuntimeException
            dup
            aload 0 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 0 // java.security.NoSuchAlgorithmException e
         7: .line 68
      StackMap locals:
      StackMap stack:
            getstatic sun.security.ec.ECKeyFactory.instance:Ljava/security/KeyFactory;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            4    5     0     e  Ljava/security/NoSuchProviderException;
            6    7     0     e  Ljava/security/NoSuchAlgorithmException;
      Exception table:
        from    to  target  type
           1     2       3  Class java.security.NoSuchProviderException
           1     2       5  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 71
            aload 0 /* this */
            invokespecial java.security.KeyFactorySpi.<init>:()V
         1: .line 73
            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 88
            aload 0 /* key */
            instanceof java.security.interfaces.ECKey
            ifeq 4
         1: .line 89
            aload 0 /* key */
            checkcast java.security.interfaces.ECKey
            astore 1 /* ecKey */
        start local 1 // java.security.interfaces.ECKey ecKey
         2: .line 90
            aload 1 /* ecKey */
            invokestatic sun.security.ec.ECKeyFactory.checkKey:(Ljava/security/interfaces/ECKey;)V
         3: .line 91
            aload 1 /* ecKey */
            areturn
        end local 1 // java.security.interfaces.ECKey ecKey
         4: .line 98
      StackMap locals:
      StackMap stack:
            invokestatic sun.security.ec.ECKeyFactory.getInstance:()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 107
            aload 0 /* key */
            instanceof java.security.interfaces.ECPublicKey
            ifeq 3
         1: .line 108
            aload 0 /* key */
            instanceof sun.security.ec.ECPublicKeyImpl
            ifeq 7
         2: .line 109
            return
         3: .line 111
      StackMap locals:
      StackMap stack:
            aload 0 /* key */
            instanceof java.security.interfaces.ECPrivateKey
            ifeq 6
         4: .line 112
            aload 0 /* key */
            instanceof sun.security.ec.ECPrivateKeyImpl
            ifeq 7
         5: .line 113
            return
         6: .line 116
      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 119
      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 120
            aload 1 /* keyAlg */
            ldc "EC"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         9: .line 121
            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 125
      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 133
            aload 1 /* key */
            ifnonnull 2
         1: .line 134
            new java.security.InvalidKeyException
            dup
            ldc "Key must not be null"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 136
      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 137
            aload 2 /* keyAlg */
            ldc "EC"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 5
         4: .line 138
            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 140
      StackMap locals: java.lang.String
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.PublicKey
            ifeq 7
         6: .line 141
            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 142
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.PrivateKey
            ifeq 9
         8: .line 143
            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 145
      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 153
            aload 0 /* this */
            aload 1 /* keySpec */
            invokevirtual sun.security.ec.ECKeyFactory.implGeneratePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
         1: areturn
         2: .line 154
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 2 /* e */
        start local 2 // java.security.spec.InvalidKeySpecException e
         3: .line 155
            aload 2 /* e */
            athrow
        end local 2 // java.security.spec.InvalidKeySpecException e
         4: .line 156
      StackMap locals:
      StackMap stack: java.security.GeneralSecurityException
            astore 2 /* e */
        start local 2 // java.security.GeneralSecurityException e
         5: .line 157
            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 165
            aload 0 /* this */
            aload 1 /* keySpec */
            invokevirtual sun.security.ec.ECKeyFactory.implGeneratePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
         1: areturn
         2: .line 166
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 2 /* e */
        start local 2 // java.security.spec.InvalidKeySpecException e
         3: .line 167
            aload 2 /* e */
            athrow
        end local 2 // java.security.spec.InvalidKeySpecException e
         4: .line 168
      StackMap locals:
      StackMap stack: java.security.GeneralSecurityException
            astore 2 /* e */
        start local 2 // java.security.GeneralSecurityException e
         5: .line 169
            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 176
            aload 1 /* key */
            instanceof java.security.interfaces.ECPublicKey
            ifeq 8
         1: .line 177
            aload 1 /* key */
            instanceof sun.security.ec.ECPublicKeyImpl
            ifeq 3
         2: .line 178
            aload 1 /* key */
            areturn
         3: .line 180
      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 181
            new sun.security.ec.ECPublicKeyImpl
            dup
         5: .line 182
            aload 2 /* ecKey */
            invokeinterface java.security.interfaces.ECPublicKey.getW:()Ljava/security/spec/ECPoint;
         6: .line 183
            aload 2 /* ecKey */
            invokeinterface java.security.interfaces.ECPublicKey.getParams:()Ljava/security/spec/ECParameterSpec;
         7: .line 181
            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 185
      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 186
            aload 1 /* key */
            invokeinterface java.security.PublicKey.getEncoded:()[B
            astore 2 /* encoded */
        start local 2 // byte[] encoded
        10: .line 187
            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 189
      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 197
            aload 1 /* key */
            instanceof java.security.interfaces.ECPrivateKey
            ifeq 8
         1: .line 198
            aload 1 /* key */
            instanceof sun.security.ec.ECPrivateKeyImpl
            ifeq 3
         2: .line 199
            aload 1 /* key */
            areturn
         3: .line 201
      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 202
            new sun.security.ec.ECPrivateKeyImpl
            dup
         5: .line 203
            aload 2 /* ecKey */
            invokeinterface java.security.interfaces.ECPrivateKey.getS:()Ljava/math/BigInteger;
         6: .line 204
            aload 2 /* ecKey */
            invokeinterface java.security.interfaces.ECPrivateKey.getParams:()Ljava/security/spec/ECParameterSpec;
         7: .line 202
            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 206
      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 207
            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 209
      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 217
            aload 1 /* keySpec */
            instanceof java.security.spec.X509EncodedKeySpec
            ifeq 3
         1: .line 218
            aload 1 /* keySpec */
            checkcast java.security.spec.X509EncodedKeySpec
            astore 2 /* x509Spec */
        start local 2 // java.security.spec.X509EncodedKeySpec x509Spec
         2: .line 219
            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 220
      StackMap locals:
      StackMap stack:
            aload 1 /* keySpec */
            instanceof java.security.spec.ECPublicKeySpec
            ifeq 9
         4: .line 221
            aload 1 /* keySpec */
            checkcast java.security.spec.ECPublicKeySpec
            astore 2 /* ecSpec */
        start local 2 // java.security.spec.ECPublicKeySpec ecSpec
         5: .line 222
            new sun.security.ec.ECPublicKeyImpl
            dup
         6: .line 223
            aload 2 /* ecSpec */
            invokevirtual java.security.spec.ECPublicKeySpec.getW:()Ljava/security/spec/ECPoint;
         7: .line 224
            aload 2 /* ecSpec */
            invokevirtual java.security.spec.ECPublicKeySpec.getParams:()Ljava/security/spec/ECParameterSpec;
         8: .line 222
            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 227
      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 235
            aload 1 /* keySpec */
            instanceof java.security.spec.PKCS8EncodedKeySpec
            ifeq 3
         1: .line 236
            aload 1 /* keySpec */
            checkcast java.security.spec.PKCS8EncodedKeySpec
            astore 2 /* pkcsSpec */
        start local 2 // java.security.spec.PKCS8EncodedKeySpec pkcsSpec
         2: .line 237
            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 238
      StackMap locals:
      StackMap stack:
            aload 1 /* keySpec */
            instanceof java.security.spec.ECPrivateKeySpec
            ifeq 6
         4: .line 239
            aload 1 /* keySpec */
            checkcast java.security.spec.ECPrivateKeySpec
            astore 2 /* ecSpec */
        start local 2 // java.security.spec.ECPrivateKeySpec ecSpec
         5: .line 240
            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 242
      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 253
            aload 0 /* this */
            aload 1 /* key */
            invokevirtual sun.security.ec.ECKeyFactory.engineTranslateKey:(Ljava/security/Key;)Ljava/security/Key;
            astore 1 /* key */
         1: .line 254
            goto 4
      StackMap locals:
      StackMap stack: java.security.InvalidKeyException
         2: astore 3 /* e */
        start local 3 // java.security.InvalidKeyException e
         3: .line 255
            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 257
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.interfaces.ECPublicKey
            ifeq 16
         5: .line 258
            aload 1 /* key */
            checkcast java.security.interfaces.ECPublicKey
            astore 3 /* ecKey */
        start local 3 // java.security.interfaces.ECPublicKey ecKey
         6: .line 259
            aload 2 /* keySpec */
            ldc Ljava/security/spec/ECPublicKeySpec;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 11
         7: .line 260
            aload 2 /* keySpec */
            new java.security.spec.ECPublicKeySpec
            dup
         8: .line 261
            aload 3 /* ecKey */
            invokeinterface java.security.interfaces.ECPublicKey.getW:()Ljava/security/spec/ECPoint;
         9: .line 262
            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 260
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.security.spec.KeySpec
            areturn
        11: .line 264
      StackMap locals: java.security.interfaces.ECPublicKey
      StackMap stack:
            aload 2 /* keySpec */
            ldc Ljava/security/spec/X509EncodedKeySpec;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 13
        12: .line 265
            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 267
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
        14: .line 268
            ldc "KeySpec must be ECPublicKeySpec or X509EncodedKeySpec for EC public keys"
        15: .line 267
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.security.interfaces.ECPublicKey ecKey
        16: .line 271
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.interfaces.ECPrivateKey
            ifeq 28
        17: .line 272
            aload 2 /* keySpec */
            ldc Ljava/security/spec/PKCS8EncodedKeySpec;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 19
        18: .line 273
            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 274
      StackMap locals:
      StackMap stack:
            aload 2 /* keySpec */
            ldc Ljava/security/spec/ECPrivateKeySpec;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 25
        20: .line 275
            aload 1 /* key */
            checkcast java.security.interfaces.ECPrivateKey
            astore 3 /* ecKey */
        start local 3 // java.security.interfaces.ECPrivateKey ecKey
        21: .line 276
            aload 2 /* keySpec */
            new java.security.spec.ECPrivateKeySpec
            dup
        22: .line 277
            aload 3 /* ecKey */
            invokeinterface java.security.interfaces.ECPrivateKey.getS:()Ljava/math/BigInteger;
        23: .line 278
            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 276
            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 281
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
        26: .line 282
            ldc "KeySpec must be ECPrivateKeySpec or PKCS8EncodedKeySpec for EC private keys"
        27: .line 281
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        28: .line 287
      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"