IDecryptionOptions.cs 833 B

1234567891011121314151617181920212223
  1. using CommandLine;
  2. namespace ArcToolkitCLI.Commands.Options
  3. {
  4. public interface IDecryptionOptions
  5. {
  6. [Option("arc-search-dir", Required = false,
  7. HelpText = "Directory where to search ARC file to decrypt the WARP file")]
  8. string ArcDirectory { get; set; }
  9. [Option('k', "key", HelpText = "Decryption key as a base64 string (applied to all inputs)", Required = false)]
  10. string DecryptionKey { get; set; }
  11. [Option("key-file",
  12. HelpText =
  13. "A file with decryption keys on each line. Format of the file is <decryption arc name>:<key in base64>.",
  14. Required = false)]
  15. string KeyFile { get; set; }
  16. [Option("warc", Required = false, HelpText = "WARC file to use for decryption")]
  17. string WarcFile { get; set; }
  18. }
  19. }