The DiffieHellman type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DiffieHellman |
Initializes a new instance of DiffieHellman.
|
Methods
| Name | Description | |
|---|---|---|
| Clear | Releases all resources used by the AsymmetricAlgorithm class. (Inherited from AsymmetricAlgorithm.) | |
| Dispose()()()() | (Inherited from AsymmetricAlgorithm.) | |
| Dispose(Boolean) | When overridden in a derived class, releases the unmanaged resources used by the AsymmetricAlgorithm and optionally releases the managed resources. (Inherited from AsymmetricAlgorithm.) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| ExportParameters |
Exports the DiffieHellmanParameters.
| |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FromXmlString | When overridden in a derived class, reconstructs an AsymmetricAlgorithm object from an XML string. (Inherited from AsymmetricAlgorithm.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetOakleyGenerator |
Returns Oakley generator value.
| |
| GetOakleyGroup14 |
Returns Oakley group 14.
| |
| GetOakleyGroup2 |
Returns Oakley group 2.
| |
| GetPublicKey |
Returns the public key.
| |
| GetSharedSecretKey |
Calculates the shared secret key from the other side's public key.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ImportParameters |
Imports the specified DiffieHellmanParameters.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
| ToXmlString | When overridden in a derived class, creates and returns an XML string representation of the current AsymmetricAlgorithm object. (Inherited from AsymmetricAlgorithm.) |
Fields
| Name | Description | |
|---|---|---|
| KeySizeValue | Represents the size, in bits, of the key modulus used by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) | |
| LegalKeySizesValue | Specifies the key sizes that are supported by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) |
Properties
| Name | Description | |
|---|---|---|
| KeyExchangeAlgorithm | When overridden in a derived class, gets the name of the key exchange algorithm. (Inherited from AsymmetricAlgorithm.) | |
| KeySize | Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) | |
| LegalKeySizes | Gets the key sizes that are supported by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) | |
| SignatureAlgorithm | Gets the name of the signature algorithm. (Inherited from AsymmetricAlgorithm.) |