ECDsaCng Methods

 

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodClear()

Releases all resources used by the AsymmetricAlgorithm class.(Inherited from AsymmetricAlgorithm.)

System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the AsymmetricAlgorithm class.(Inherited from AsymmetricAlgorithm.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExportExplicitParameters(Boolean)

Exports the key and explicit curve parameters used by the Elliptic curve cryptography (ECC) object into an ECParameters object. (Overrides ECDsa.ExportExplicitParameters(Boolean).)

System_CAPS_pubmethodExportParameters(Boolean)

Exports the key used by the Elliptic curve cryptography (ECC) object into an ECParameters object. If the key was created as a named curve, the Curve field contains named curve parameters; otherwise, it contains explicit parameters.(Overrides ECDsa.ExportParameters(Boolean).)

System_CAPS_pubmethodFromXmlString(String)

This method is not implemented.(Overrides AsymmetricAlgorithm.FromXmlString(String).)

System_CAPS_pubmethodFromXmlString(String, ECKeyXmlFormat)

Deserializes the key information from an XML string by using the specified format.

System_CAPS_pubmethodGenerateKey(ECCurve)

Generates a key to use for the ECDsaCng algorithm.(Overrides ECDsa.GenerateKey(ECCurve).)

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_pubmethodImportParameters(ECParameters)

Replaces the existing key that the current instance is working with by creating a new CngKey for the parameters structure.(Overrides ECDsa.ImportParameters(ECParameters).)

System_CAPS_pubmethodSignData(Byte[])

Generates a signature for the specified data.

System_CAPS_pubmethodSignData(Byte[], HashAlgorithmName)

Computes the hash value of the specified byte array using the specified hash algorithm and signs the resulting hash value. (Inherited from ECDsa.)

System_CAPS_pubmethodSignData(Byte[], Int32, Int32)

Generates a digital signature for the specified length of data, beginning at the specified offset.

System_CAPS_pubmethodSignData(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. (Inherited from ECDsa.)

System_CAPS_pubmethodSignData(Stream)

Generates a signature for the specified data stream, reading to the end of the stream.

System_CAPS_pubmethodSignData(Stream, HashAlgorithmName)

Computes the hash value of the specified stream using the specified hash algorithm and signs the resulting hash value.(Inherited from ECDsa.)

System_CAPS_pubmethodSignHash(Byte[])

Generates a signature for the specified hash value.(Overrides ECDsa.SignHash(Byte[]).)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodToXmlString(Boolean)

This method is not implemented.(Overrides AsymmetricAlgorithm.ToXmlString(Boolean).)

System_CAPS_pubmethodToXmlString(ECKeyXmlFormat)

Serializes the key information to an XML string by using the specified format.

System_CAPS_pubmethodVerifyData(Byte[], Byte[])

Verifies the digital signature of the specified data.

System_CAPS_pubmethodVerifyData(Byte[], 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. (Inherited from ECDsa.)

System_CAPS_pubmethodVerifyData(Byte[], Int32, Int32, Byte[])

Verifies a signature for the specified length of data, beginning at the specified offset.

System_CAPS_pubmethodVerifyData(Byte[], Int32, Int32, 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. (Inherited from ECDsa.)

System_CAPS_pubmethodVerifyData(Stream, Byte[])

Verifies the digital signature of the specified data stream, reading to the end of the stream.

System_CAPS_pubmethodVerifyData(Stream, 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. (Inherited from ECDsa.)

System_CAPS_pubmethodVerifyHash(Byte[], Byte[])

Verifies the specified digital signature against a specified hash value.(Overrides ECDsa.VerifyHash(Byte[], Byte[]).)

Return to top
Show: