ECDsa Class
Provides an abstract base class that encapsulates the Elliptic Curve Digital Signature Algorithm (ECDSA).
Assembly: System.Core (in System.Core.dll)
System.Security.Cryptography::AsymmetricAlgorithm
System.Security.Cryptography::ECDsa
System.Security.Cryptography::ECDsaCng
| Name | Description | |
|---|---|---|
![]() | ECDsa() | Initializes a new instance of the ECDsa class. |
| Name | Description | |
|---|---|---|
![]() | KeyExchangeAlgorithm | Gets the name of the key exchange algorithm.(Overrides AsymmetricAlgorithm::KeyExchangeAlgorithm.) |
![]() | KeySize | Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm.(Inherited from AsymmetricAlgorithm.) |
![]() | LegalKeySizes | Gets the key sizes that are supported by the asymmetric algorithm.(Inherited from AsymmetricAlgorithm.) |
![]() | SignatureAlgorithm | Gets the name of the signature algorithm.(Overrides AsymmetricAlgorithm::SignatureAlgorithm.) |
| Name | Description | |
|---|---|---|
![]() | Clear() | Releases all resources used by the AsymmetricAlgorithm class.(Inherited from AsymmetricAlgorithm.) |
![]() ![]() | Create() | Creates a new instance of the default implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA). |
![]() ![]() | Create(ECCurve) | Creates a new instance of the default implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA) with a newly generated key over the specified curve. |
![]() ![]() | Create(ECParameters) | Creates a new instance of the default implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA) using the specified parameters as the key. |
![]() ![]() | Create(String^) | Creates a new instance of the specified implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA). |
![]() | Dispose() | Releases all resources used by the current instance of the AsymmetricAlgorithm class.(Inherited from AsymmetricAlgorithm.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the AsymmetricAlgorithm class and optionally releases the managed resources.(Inherited from AsymmetricAlgorithm.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | ExportExplicitParameters(Boolean) | When overridden in a derived class, exports the explicit parameters for an elliptic curve. |
![]() | ExportParameters(Boolean) | When overridden in a derived class, exports the named or explicit parameters for an elliptic curve. If the curve has a name, the Curve field contains named curve parameters, otherwise it contains explicit parameters. |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | FromXmlString(String^) | When overridden in a derived class, reconstructs an AsymmetricAlgorithm object from an XML string. Otherwise, throws a NotImplementedException.(Inherited from AsymmetricAlgorithm.) |
![]() | GenerateKey(ECCurve) | When overridden in a derived class, generates a new public/private key pair for the specified curve. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | HashData(array<Byte>^, Int32, Int32, HashAlgorithmName) | When overridden in a derived class, computes the hash value of the specified portion of a byte array by using the specified hashing algorithm. |
![]() | HashData(Stream^, HashAlgorithmName) | When overridden in a derived class, computes the hash value of the specified binary stream by using the specified hashing algorithm. |
![]() | ImportParameters(ECParameters) | When overridden in a derived class, imports the specified parameters. |
![]() | MemberwiseClone() | |
![]() | SignData(array<Byte>^, HashAlgorithmName) | Computes the hash value of the specified byte array using the specified hash algorithm and signs the resulting hash value. |
![]() | SignData(array<Byte>^, Int32, Int32, HashAlgorithmName) | Computes the hash value of a portion of the specified byte array using the specified hash algorithm and signs the resulting hash value. |
![]() | SignData(Stream^, HashAlgorithmName) | Computes the hash value of the specified stream using the specified hash algorithm and signs the resulting hash value. |
![]() | SignHash(array<Byte>^) | Generates a digital signature for the specified hash value. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | ToXmlString(Boolean) | When overridden in a derived class, creates and returns an XML string representation of the current AsymmetricAlgorithm object. Otherwise, throws a NotImplementedException.(Inherited from AsymmetricAlgorithm.) |
![]() | VerifyData(array<Byte>^, array<Byte>^, HashAlgorithmName) | Verifies that a digital signature is valid by calculating the hash value of the specified data using the specified hash algorithm and comparing it to the provided signature. |
![]() | VerifyData(array<Byte>^, Int32, Int32, array<Byte>^, HashAlgorithmName) | Verifies that a digital signature is valid by calculating the hash value of the data in a portion of a byte array using the specified hash algorithm and comparing it to the provided signature. |
![]() | VerifyData(Stream^, array<Byte>^, HashAlgorithmName) | Verifies that a digital signature is valid by calculating the hash value of the specified stream using the specified hash algorithm and comparing it to the provided signature. |
![]() | VerifyHash(array<Byte>^, array<Byte>^) | Verifies a digital signature against the specified hash value. |
| Name | Description | |
|---|---|---|
![]() | KeySizeValue | Represents the size, in bits, of the key modulus used by the asymmetric algorithm.(Inherited from AsymmetricAlgorithm.) |
![]() | LegalKeySizesValue | Specifies the key sizes that are supported by the asymmetric algorithm.(Inherited from AsymmetricAlgorithm.) |
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.




