KeyExchangeArgs.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics.Contracts;
  4. using System.Text;
  5. namespace FxSsh.Services
  6. {
  7. public class KeyExchangeArgs
  8. {
  9. public KeyExchangeArgs(Session s)
  10. {
  11. this.Session = s;
  12. }
  13. public Session Session { get; private set; }
  14. public byte[] Cookie { get; private set; }
  15. public string[] KeyExchangeAlgorithms { get; set; }
  16. public string[] ServerHostKeyAlgorithms { get; set; }
  17. public string[] EncryptionAlgorithmsClientToServer { get; set; }
  18. public string[] EncryptionAlgorithmsServerToClient { get; set; }
  19. public string[] MacAlgorithmsClientToServer { get; set; }
  20. public string[] MacAlgorithmsServerToClient { get; set; }
  21. public string[] CompressionAlgorithmsClientToServer { get; set; }
  22. public string[] CompressionAlgorithmsServerToClient { get; set; }
  23. public string[] LanguagesClientToServer { get; set; }
  24. public string[] LanguagesServerToClient { get; set; }
  25. }
  26. }