ECDiffieHellmanCngPublicKey Class
Specifies an Elliptic Curve Diffie-Hellman (ECDH) public key for use with the ECDiffieHellmanCng class.
Assembly: System.Core (in System.Core.dll)
System.Security.Cryptography::ECDiffieHellmanPublicKey
System.Security.Cryptography::ECDiffieHellmanCngPublicKey
| Name | Description | |
|---|---|---|
![]() | BlobFormat | Gets the key BLOB format for a ECDiffieHellmanCngPublicKey object. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases all resources used by the current instance of the ECDiffieHellman class.(Inherited from ECDiffieHellmanPublicKey.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | ExportExplicitParameters() | Exports the key and explicit curve parameters used by the ECCurve object into an ECParameters object. (Overrides ECDiffieHellmanPublicKey::ExportExplicitParameters().) |
![]() | ExportParameters() | Exports the key used by the ECCurve object into an ECParameters object. (Overrides ECDiffieHellmanPublicKey::ExportParameters().) |
![]() ![]() | FromByteArray(array<Byte>^, CngKeyBlobFormat^) | Converts a byte array that contains a public key to a ECDiffieHellmanCngPublicKey object according to the specified format. |
![]() ![]() | FromXmlString(String^) | Converts an XML string to an ECDiffieHellmanCngPublicKey object. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | Import() | Converts the ECDiffieHellmanCngPublicKey object to a CngKey object. |
![]() | ToByteArray() | Serializes the ECDiffieHellmanPublicKey key BLOB to a byte array.(Inherited from ECDiffieHellmanPublicKey.) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | ToXmlString() | Serializes the ECDiffieHellmanCngPublicKey public key to an XML string in RFC 4050 format.(Overrides ECDiffieHellmanPublicKey::ToXmlString().) |
ECDiffieHellmanCngPublicKey objects are used in key exchanges with ECDiffieHellmanCng objects.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


