The DiffieHellmanManaged type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkDiffieHellmanManaged()()()()
Initializes a new instance of the DiffieHellmanManaged class.
Public methodSupported by the .NET Compact FrameworkDiffieHellmanManaged(Int32)
Initializes a new instance of the DiffieHellmanManaged class with a specified key size.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkClear
Releases all resources used by the AsymmetricAlgorithm class.
(Inherited from AsymmetricAlgorithm.)
Public methodSupported by the .NET Compact FrameworkDispose()()()() (Inherited from AsymmetricAlgorithm.)
Protected methodSupported by the .NET Compact FrameworkDispose(Boolean)
Releases the unmanaged resources and optionally releases the managed resources.
(Overrides AsymmetricAlgorithm..::..Dispose(Boolean).)
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkExportParameters (Overrides DiffieHellman..::..ExportParameters(Boolean).)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkFromXmlString
When overridden in a derived class, reconstructs an AsymmetricAlgorithm object from an XML string.
(Inherited from AsymmetricAlgorithm.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
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.)
Public methodSupported by the .NET Compact FrameworkGetPublicKey
Returns the public key.
(Overrides DiffieHellman..::..GetPublicKey()()()().)
Public methodSupported by the .NET Compact FrameworkGetSharedSecretKey (Overrides DiffieHellman..::..GetSharedSecretKey(array<Byte>[]()[][]).)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkImportParameters
Imports the specified DiffieHellmanParameters.
(Overrides DiffieHellman..::..ImportParameters(DiffieHellmanParameters).)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkToXmlString
When overridden in a derived class, creates and returns an XML string representation of the current AsymmetricAlgorithm object.
(Inherited from AsymmetricAlgorithm.)

Fields

  NameDescription
Protected fieldSupported by the .NET Compact FrameworkKeySizeValue
Represents the size, in bits, of the key modulus used by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)
Protected fieldSupported by the .NET Compact FrameworkLegalKeySizesValue
Specifies the key sizes that are supported by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkKeyExchangeAlgorithm
Gets the name of the key exchange algorithm available with this implementation of DiffieHellman.
(Overrides AsymmetricAlgorithm..::..KeyExchangeAlgorithm.)
Public propertySupported by the .NET Compact FrameworkKeySize
Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkLegalKeySizes
Gets the key sizes that are supported by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkSignatureAlgorithm
Gets the name of the signature algorithm available with this implementation of DiffieHellman.
(Overrides AsymmetricAlgorithm..::..SignatureAlgorithm.)

See Also