ECDiffieHellmanCngPublicKey Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies an Elliptic Curve Diffie-Hellman (ECDH) public key for use with the ECDiffieHellmanCng class.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

System::Object
  System.Security.Cryptography::ECDiffieHellmanPublicKey
    System.Security.Cryptography::ECDiffieHellmanCngPublicKey

[SerializableAttribute]
[HostProtectionAttribute(SecurityAction::LinkDemand, MayLeakOnAbort = true)]
public ref class ECDiffieHellmanCngPublicKey sealed : ECDiffieHellmanPublicKey

NameDescription
System_CAPS_pubpropertyBlobFormat

Gets the key BLOB format for a ECDiffieHellmanCngPublicKey object.

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the ECDiffieHellman class.(Inherited from ECDiffieHellmanPublicKey.)

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExportExplicitParameters()

Exports the key and explicit curve parameters used by the ECCurve object into an ECParameters object. (Overrides ECDiffieHellmanPublicKey::ExportExplicitParameters().)

System_CAPS_pubmethodExportParameters()

Exports the key used by the ECCurve object into an ECParameters object. (Overrides ECDiffieHellmanPublicKey::ExportParameters().)

System_CAPS_pubmethodSystem_CAPS_staticFromByteArray(array<Byte>^, CngKeyBlobFormat^)

Converts a byte array that contains a public key to a ECDiffieHellmanCngPublicKey object according to the specified format.

System_CAPS_pubmethodSystem_CAPS_staticFromXmlString(String^)

Converts an XML string to an ECDiffieHellmanCngPublicKey object.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodImport()

Converts the ECDiffieHellmanCngPublicKey object to a CngKey object.

System_CAPS_pubmethodToByteArray()

Serializes the ECDiffieHellmanPublicKey key BLOB to a byte array.(Inherited from ECDiffieHellmanPublicKey.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodToXmlString()

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.

.NET Framework
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.

Return to top
Show: