code: @Deprecated
      public static Algorithm RSA512(RSAKey key) throws IllegalArgumentException {
          RSAPublicKey publicKey = key instanceof RSAPublicKey ? (RSAPublicKey) key : null;
          RSAPrivateKey privateKey = key instanceof RSAPrivateKey ? (RSAPrivateKey) key : null;
          return RSA512(publicKey, privateKey);
      }
docs: Creates a new Algorithm instance using SHA512withRSA. Tokens specify this as "RS512".
  
  @param key the key to use in the verify or signing instance.
  @return a valid RSA512 Algorithm.
  @throws IllegalArgumentException if the provided Key is null.
  @deprecated use {@link #RSA512(RSAPublicKey, RSAPrivateKey)} or {@link #RSA512(RSAKeyProvider)}