DiffieHellmanCryptoServiceProvider Class
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9119)
Wrapper around Diffie-Hellman CSP.
Syntax
public class DiffieHellmanCryptoServiceProvider : DiffieHellman, IDisposable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
DiffieHellmanCryptoServiceProvider() | Creates an instance of DiffieHellmanCryptoServiceProvider using the default key size of 1024. |
DiffieHellmanCryptoServiceProvider(Int32) | Creates an instance of DiffieHellmanCryptoServiceProvider using the 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. |