EncryptionAlgorithm.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //------------------------------------------------------------------------------
  2. // <copyright file="EncryptionAlgorithm.cs" company="Microsoft">
  3. // Copyright (c) Microsoft Corporation. All rights reserved.
  4. // </copyright>
  5. //------------------------------------------------------------------------------
  6. using Experimental.System.Messaging.Interop;
  7. namespace Experimental.System.Messaging
  8. {
  9. /// <include file='doc\EncryptionAlgorithm.uex' path='docs/doc[@for="EncryptionAlgorithm"]/*' />
  10. /// <devdoc>
  11. /// <para>
  12. /// Specifies the encryption algorithm used to encrypt the message body of a
  13. /// private message.
  14. ///
  15. /// </para>
  16. /// </devdoc>
  17. public enum EncryptionAlgorithm
  18. {
  19. /// <include file='doc\EncryptionAlgorithm.uex' path='docs/doc[@for="EncryptionAlgorithm.None"]/*' />
  20. /// <devdoc>
  21. /// <para>
  22. /// No encryption.
  23. /// </para>
  24. /// </devdoc>
  25. None = 0,
  26. /// <include file='doc\EncryptionAlgorithm.uex' path='docs/doc[@for="EncryptionAlgorithm.Rc2"]/*' />
  27. /// <devdoc>
  28. /// <para>
  29. /// The value MQMSG_CALG_RC2. This is the default value for
  30. /// the <see langword='EncryptAlgorithm'/> property of the Message Queuing
  31. /// application's <see langword='MSMQMessage '/>
  32. ///
  33. ///
  34. /// object.
  35. ///
  36. /// </para>
  37. /// </devdoc>
  38. Rc2 = NativeMethods.CALG_RC2,
  39. /// <include file='doc\EncryptionAlgorithm.uex' path='docs/doc[@for="EncryptionAlgorithm.Rc4"]/*' />
  40. /// <devdoc>
  41. /// <para>
  42. /// The value MQMSG_CALG_RC4. This corresponds to the less
  43. /// secure option for the <see langword='EncryptAlgorithm '/>property of the
  44. /// Message Queuing application's <see langword='MSMQMessage '/>
  45. ///
  46. /// object.
  47. ///
  48. /// </para>
  49. /// </devdoc>
  50. Rc4 = NativeMethods.CALG_RC4,
  51. }
  52. }