Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides a wrapper Elliptic Curve Diffie-Hellman key exchange.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT.Cryptoki. . :: . .SessionContainer
System.Security.Cryptography. . :: . .AsymmetricAlgorithm
System.Security.Cryptography..::..ECDiffieHellmanCryptoServiceProvider
Namespace: System.Security.Cryptography
Assembly: System.Security (in System.Security.dll)
Syntax
'Declaration
Public NotInheritable Class ECDiffieHellmanCryptoServiceProvider _
Inherits AsymmetricAlgorithm
public sealed class ECDiffieHellmanCryptoServiceProvider : AsymmetricAlgorithm
public ref class ECDiffieHellmanCryptoServiceProvider sealed : public AsymmetricAlgorithm
[<Sealed>]
type ECDiffieHellmanCryptoServiceProvider =
class
inherit AsymmetricAlgorithm
end
public final class ECDiffieHellmanCryptoServiceProvider extends AsymmetricAlgorithm
The ECDiffieHellmanCryptoServiceProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ECDiffieHellmanCryptoServiceProvider(CryptoKey) | Initializes a new instance of the ECDiffieHellmanCryptoServiceProvider class with the specified key object. |
![]() |
ECDiffieHellmanCryptoServiceProvider(Int32) | Initializes a new instance of the ECDiffieHellmanCryptoServiceProvider class with the specified key size. |
![]() |
ECDiffieHellmanCryptoServiceProvider(Session, Int32) | Initializes a new instance of the ECDiffieHellmanCryptoServiceProvider class with the specified session object and key size. |
![]() |
ECDiffieHellmanCryptoServiceProvider(String, Int32) | Initializes a new instance of the ECDiffieHellmanCryptoServiceProvider class with the specified service provider and key size. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
HashAlgorithm | Gets or set the hash algorithm to use when generating the key material. |
![]() |
HmacKey | Gets or sets the hash-based message authentication code (HMAC) key to use when deriving key material. |
![]() |
IsDisposed | (Inherited from SessionContainer.) |
![]() |
KeyDerivationFunction | Gets or sets the key derivation function for the ECDiffieHellmanCryptoServiceProvider class. |
![]() |
KeyPair | Gets or sets the CryptoKey object representing the key pair for the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) |
![]() |
KeySize | Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) |
![]() |
Label | Gets or sets the label value that is used for key derivation. |
![]() |
LegalKeySizes | Gets the key sizes that are supported by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) |
![]() |
PublicKey | Gets the public key that can be used by another ECDiffieHellmanCryptoServiceProvider object to generate a shared secret agreement. |
![]() |
SecretAppend | Gets or sets a value that will be appended to the secret agreement when generating key material. |
![]() |
SecretPrepend | Gets or sets a value that will be added to the beginning of the secret agreement when deriving key material. |
![]() |
Seed | Gets or sets the seed value that will be used when deriving key material. |
![]() |
Session | (Inherited from SessionContainer.) |
![]() |
UseSecretAgreementAsHmacKey | Gets a value that indicates whether the secret agreement is used as a hash-based message authentication code (HMAC) key to derive key material. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Clear | Releases all resources used by the AsymmetricAlgorithm class. (Inherited from AsymmetricAlgorithm.) |
![]() |
DeriveKeyMaterial | Derives the key material that is generated from the agreement between the two parties. |
![]() |
Dispose() () () () | (Inherited from SessionContainer.) |
![]() |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
![]() ![]() |
DefaultKeySize | Specifies the key size to use if one is not provided. This value is set to 521. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.