* FileSystemInfo.cs: corrected COM visibility of UTC properties
[mono.git] / mcs / class / Mono.Security / Mono.Security.Cryptography / DHParameters.cs
1 //
2 // DHParameters.cs: Defines a structure that holds the parameters of the Diffie-Hellman algorithm
3 //
4 // Author:
5 //      Pieter Philippaerts (Pieter@mentalis.org)
6 //
7 // (C) 2003 The Mentalis.org Team (http://www.mentalis.org/)
8 //
9
10 using System;
11
12 namespace Mono.Security.Cryptography {
13         /// <summary>
14         /// Represents the parameters of the Diffie-Hellman algorithm.
15         /// </summary>
16         [Serializable]
17         public struct DHParameters {
18                 /// <summary>
19                 /// Represents the public <b>P</b> parameter of the Diffie-Hellman algorithm.
20                 /// </summary>
21                 public byte[] P;
22                 /// <summary>
23                 /// Represents the public <b>G</b> parameter of the Diffie-Hellman algorithm.
24                 /// </summary>
25                 public byte[] G;
26                 /// <summary>
27                 /// Represents the private <b>X</b> parameter of the Diffie-Hellman algorithm.
28                 /// </summary>
29                 [NonSerialized]
30                 public byte[] X;
31         }
32 }