System.Security.Cryptography.ECDsaCng
Provides a Cryptography Next Generation (CNG) implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA).
Gets or sets the hash algorithm to use when signing and verifying data.
Gets or sets the key to use when signing and verifying data.
public ECDsaCng()
Initializes a new instance of the ECDsaCng class with a random key pair.
Initializes a new instance of the ECDsaCng class with a specified target key size.
Deserializes the key information from an XML string by using the specified format.
Generates a signature for the specified data.
Generates a digital signature for the specified length of data, beginning at the specified offset.
Generates a signature for the specified data stream, reading to the end of the stream.
Serializes the key information to an XML string by using the specified format.
Verifies the digital signature of the specified data.
Verifies a signature for the specified length of data, beginning at the specified offset.
Verifies the digital signature of the specified data stream, reading to the end of the stream.