Bewerken

Share via


ECDiffieHellmanPublicKey Class

Definition

Provides an abstract base class from which all ECDiffieHellmanCngPublicKey implementations must inherit.

public ref class ECDiffieHellmanPublicKey abstract : IDisposable
public abstract class ECDiffieHellmanPublicKey : IDisposable
[System.Serializable]
public abstract class ECDiffieHellmanPublicKey : IDisposable
type ECDiffieHellmanPublicKey = class
    interface IDisposable
[<System.Serializable>]
type ECDiffieHellmanPublicKey = class
    interface IDisposable
Public MustInherit Class ECDiffieHellmanPublicKey
Implements IDisposable
Inheritance
ECDiffieHellmanPublicKey
Derived
Attributes
Implements

Constructors

ECDiffieHellmanPublicKey()

Initializes a new instance of the ECDiffieHellmanPublicKey class.

ECDiffieHellmanPublicKey(Byte[])
Obsolete.

Initializes a new instance of the ECDiffieHellmanPublicKey class.

Methods

Dispose()

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

Dispose(Boolean)

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

Equals(Object)

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

(Inherited from Object)
ExportExplicitParameters()

When overridden in a derived class, exports the explicit ECParameters for an ECCurve object.

ExportParameters()

When overridden in a derived class, exports the named or explicit ECParameters for an ECCurve object.

ExportSubjectPublicKeyInfo()

Exports the current key in the X.509 SubjectPublicKeyInfo format.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToByteArray()
Obsolete.

Serializes the ECDiffieHellmanPublicKey key BLOB to a byte array.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
ToXmlString()
Obsolete.

Serializes the ECDiffieHellmanPublicKey public key to an XML string.

TryExportSubjectPublicKeyInfo(Span<Byte>, Int32)

Attempts to export the current key in the X.509 SubjectPublicKeyInfo format.

Applies to