code: @Deprecated
      public static Algorithm ECDSA512(ECKey key) throws IllegalArgumentException {
          ECPublicKey publicKey = key instanceof ECPublicKey ? (ECPublicKey) key : null;
          ECPrivateKey privateKey = key instanceof ECPrivateKey ? (ECPrivateKey) key : null;
          return ECDSA512(publicKey, privateKey);
      }
docs: Creates a new Algorithm instance using SHA512withECDSA. Tokens specify this as "ES512".
  
  @param key the key to use in the verify or signing instance.
  @return a valid ECDSA512 Algorithm.
  @throws IllegalArgumentException if the provided Key is null.
  @deprecated use {@link #ECDSA512(ECPublicKey, ECPrivateKey)} or {@link #ECDSA512(ECDSAKeyProvider)}