ECDiffieHellmanCngPublicKey ECDiffieHellmanCngPublicKey ECDiffieHellmanCngPublicKey ECDiffieHellmanCngPublicKey Class

Definition

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

public ref class ECDiffieHellmanCngPublicKey sealed : System::Security::Cryptography::ECDiffieHellmanPublicKey
public sealed class ECDiffieHellmanCngPublicKey : System.Security.Cryptography.ECDiffieHellmanPublicKey
type ECDiffieHellmanCngPublicKey = class
    inherit ECDiffieHellmanPublicKey
Public NotInheritable Class ECDiffieHellmanCngPublicKey
Inherits ECDiffieHellmanPublicKey
Inheritance
ECDiffieHellmanCngPublicKeyECDiffieHellmanCngPublicKeyECDiffieHellmanCngPublicKeyECDiffieHellmanCngPublicKey

Remarks

ECDiffieHellmanCngPublicKey objects are used in key exchanges with ECDiffieHellmanCng objects.

Properties

BlobFormat BlobFormat BlobFormat BlobFormat

Gets the key BLOB format for a ECDiffieHellmanCngPublicKey object.

Methods

Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the current instance of the ECDiffieHellman class.

(Inherited from ECDiffieHellmanPublicKey)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources used by the ECDiffieHellman class and optionally releases the managed resources.

(Inherited from ECDiffieHellmanPublicKey)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
ExportExplicitParameters() ExportExplicitParameters() ExportExplicitParameters() ExportExplicitParameters()

Exports the key and explicit curve parameters used by the ECCurve object into an ECParameters object.

ExportParameters() ExportParameters() ExportParameters() ExportParameters()

Exports the key used by the ECCurve object into an ECParameters object.

FromByteArray(Byte[], CngKeyBlobFormat) FromByteArray(Byte[], CngKeyBlobFormat) FromByteArray(Byte[], CngKeyBlobFormat) FromByteArray(Byte[], CngKeyBlobFormat)

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

FromXmlString(String) FromXmlString(String) FromXmlString(String) FromXmlString(String)

Converts an XML string to an ECDiffieHellmanCngPublicKey object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Import() Import() Import() Import()

Converts the ECDiffieHellmanCngPublicKey object to a CngKey object.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToByteArray() ToByteArray() ToByteArray() ToByteArray()

Serializes the ECDiffieHellmanPublicKey key BLOB to a byte array.

(Inherited from ECDiffieHellmanPublicKey)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
ToXmlString() ToXmlString() ToXmlString() ToXmlString()

Serializes the ECDiffieHellmanCngPublicKey public key to an XML string in RFC 4050 format.

Applies to