The DiffieHellmanCryptoServiceProvider type exposes the following 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.
|
Methods
Name | Description | |
---|---|---|
Clear | Releases all resources used by the AsymmetricAlgorithm class. (Inherited from AsymmetricAlgorithm.) | |
Dispose()()()() | (Inherited from AsymmetricAlgorithm.) | |
Dispose(Boolean) |
Releases the unmanaged resources and optionally releases the managed resources.
(Overrides AsymmetricAlgorithm..::..Dispose(Boolean).) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
ExportParameters |
Exports the DiffieHellmanParameters.
(Overrides DiffieHellman..::..ExportParameters(Boolean).) | |
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.) | |
GetPublicKey |
Returns the public key.
(Overrides DiffieHellman..::..GetPublicKey()()()().) | |
GetSharedSecretKey | (Overrides DiffieHellman..::..GetSharedSecretKey(array<Byte>[]()[][]).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ImportParameters |
Imports the specified DiffieHellmanParameters.
(Overrides DiffieHellman..::..ImportParameters(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 |
Gets the name of the key exchange algorithm available with this implementation of DiffieHellman.
(Overrides AsymmetricAlgorithm..::..KeyExchangeAlgorithm.) | |
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 available with this implementation of DiffieHellman.
(Overrides AsymmetricAlgorithm..::..SignatureAlgorithm.) |