ECDiffieHellmanCngPublicKey Class
TOC
Collapse the table of content
Expand the table of content

ECDiffieHellmanCngPublicKey Class

 

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 sealed class ECDiffieHellmanCngPublicKey : 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_pubmethodSystem_CAPS_staticFromByteArray(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:
© 2016 Microsoft