DiffieHellmanManaged Class
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9083)
Managed implementation of Diffie-Hellman algorithm.
Syntax
public class DiffieHellmanManaged : DiffieHellman, IDisposable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
DiffieHellmanManaged() | Initializes a new instance of the DiffieHellmanManaged class. |
DiffieHellmanManaged(Int32) | Initializes a new instance of the DiffieHellmanManaged class with a specified key size. |
Properties
Name | Description |
---|---|
KeyExchangeAlgorithm | Gets the name of the key exchange algorithm available with this implementation of DiffieHellman. |
SignatureAlgorithm | Gets the name of the signature algorithm available with this implementation of DiffieHellman. |
Methods
Name | Description |
---|---|
Dispose(Boolean) | Releases the unmanaged resources and optionally releases the managed resources. |
ExportParameters(Boolean) | Exports the DiffieHellmanParameters. |
FromXmlString(String) | When overridden in a derived class, reconstructs a DiffieHellmanManaged object from an XML string. |
GetOakleyGenerator() | Returns Oakley generator value. Inherited from DiffieHellman. |
GetOakleyGroup14() | Returns Oakley group 14. Inherited from DiffieHellman. |
GetOakleyGroup2() | Returns Oakley group 2. Inherited from DiffieHellman. |
GetPublicKey() | Returns the public key. |
GetSharedSecretKey(Byte[]) | Calculates the shared secret key from the other side's public key. |
ImportParameters(DiffieHellmanParameters) | Imports the specified DiffieHellmanParameters. |
ToXmlString(Boolean) | Creates and returns an XML string representation of the current object. |