The DiffieHellmanManaged type exposes the following members.

Constructors

  NameDescription
Public methodDiffieHellmanManaged()()()()
Initializes a new instance of the DiffieHellmanManaged class.
Public methodDiffieHellmanManaged(Int32)
Initializes a new instance of the DiffieHellmanManaged class with a specified key size.

Methods

  NameDescription
Public methodClear
Releases all resources used by the AsymmetricAlgorithm class.
(Inherited from AsymmetricAlgorithm.)
Public methodDispose()()()() (Inherited from AsymmetricAlgorithm.)
Protected methodDispose(Boolean)
Releases the unmanaged resources and optionally releases the managed resources.
(Overrides AsymmetricAlgorithm..::..Dispose(Boolean).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExportParameters (Overrides DiffieHellman..::..ExportParameters(Boolean).)
Protected methodFinalize
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 methodFromXmlString
When overridden in a derived class, reconstructs a DiffieHellmanManaged object from an XML string.
(Overrides AsymmetricAlgorithm..::..FromXmlString(String).)
Public methodGetHashCode
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 methodGetPublicKey
Returns the public key.
(Overrides DiffieHellman..::..GetPublicKey()()()().)
Public methodGetSharedSecretKey (Overrides DiffieHellman..::..GetSharedSecretKey(array<Byte>[]()[][]).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImportParameters
Imports the specified DiffieHellmanParameters.
(Overrides DiffieHellman..::..ImportParameters(DiffieHellmanParameters).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodToXmlString
Creates and returns an XML string representation of the current object.
(Overrides AsymmetricAlgorithm..::..ToXmlString(Boolean).)

Fields

  NameDescription
Protected fieldKeySizeValue
Represents the size, in bits, of the key modulus used by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)
Protected fieldLegalKeySizesValue
Specifies the key sizes that are supported by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)

Properties

  NameDescription
Public propertyKeyExchangeAlgorithm
Gets the name of the key exchange algorithm available with this implementation of DiffieHellman.
(Overrides AsymmetricAlgorithm..::..KeyExchangeAlgorithm.)
Public propertyKeySize
Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)
Public propertyLegalKeySizes
Gets the key sizes that are supported by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)
Public propertySignatureAlgorithm
Gets the name of the signature algorithm available with this implementation of DiffieHellman.
(Overrides AsymmetricAlgorithm..::..SignatureAlgorithm.)

See Also