System::Security::Cryptography::ECDsa class

ECDsa class

Base class for implementations of ECDsa algorithm. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class ECDsa : public System::Security::Cryptography::AsymmetricAlgorithm

Methods

MethodDescription
static Create()Creates default ECDSA aglorithm implementation.
static Create(const ECCurve&)Creates default ECDSA aglorithm implementation with newly created key over the specified curve.
static Create(const ECParameters&)Creates default ECDSA aglorithm implementation using the specified parameters.
static Create(const String&)Creates specified ECDSA aglorithm implementation.
virtual ExportExplicitParameters(bool)Exports explicit parameters.
virtual ExportParameters(bool)Exports named or explicit parameters.
virtual GenerateKey(const ECCurve&)Generates a new public/private key pair for the specified curve.
get_KeyExchangeAlgorithm() overrideRTTI information.
get_SignatureAlgorithm() overrideGets signature algorithm to use.
virtual ImportParameters(const ECParameters&)Imports all parameters from data structure.
virtual SignData(const ByteArrayPtr&, const HashAlgorithmName&)Computes the hash value of the specified data array using the specified hash algorithm, and signs the result.
virtual SignData(const ByteArrayPtr&, int32_t, int32_t, const HashAlgorithmName&)Computes the hash value of the specified data array using the specified hash algorithm, and signs the result.
virtual SignData(const StreamPtr&, const HashAlgorithmName&)Computes the hash value of the specified binary stream using the specified hash algorithm, and signs the result.
virtual SignHash(const ByteArrayPtr&)Computes the signature of specified input value.
VerifyData(const ByteArrayPtr&, const ByteArrayPtr&, const HashAlgorithmName&)Verifies that the signature of the specified data is valid.
VerifyData(const ByteArrayPtr&, int32_t, int32_t, const ByteArrayPtr&, const HashAlgorithmName&)Verifies that the signature of the specified data is valid.
VerifyData(const StreamPtr&, const ByteArrayPtr&, const HashAlgorithmName&)Verifies that the signature of the specified binary stream is valid.
virtual VerifyHash(ByteArrayPtr, ByteArrayPtr)Checks data signature.

See Also