SignData()

ECDsaBotan::SignData(const ByteArrayPtr&) method

Computes the hash value of the specified data array, and signs the result.

ByteArrayPtr System::Security::Cryptography::ECDsaBotan::SignData(const ByteArrayPtr &data)

Arguments

ParameterTypeDescription
dataconst ByteArrayPtr&Input data array. return ECDSA signature for the input data.

ECDsaBotan::SignData(const ByteArrayPtr&, int32_t, int32_t) method

Computes the hash value of the specified data array, and signs the result.

ByteArrayPtr System::Security::Cryptography::ECDsaBotan::SignData(const ByteArrayPtr &data, int32_t offset, int32_t count)

Arguments

ParameterTypeDescription
dataconst ByteArrayPtr&Input data array.
offsetint32_tOffset in data.
countint32_tNumber of bytes to use as input data. return ECDSA signature for the input data.

ECDsaBotan::SignData(const StreamPtr&) method

Computes the hash value of the specified binary stream, and signs the result.

ByteArrayPtr System::Security::Cryptography::ECDsaBotan::SignData(const StreamPtr &stream)

Arguments

ParameterTypeDescription
streamconst StreamPtr&Binary stream. return ECDSA signature for the input data.

ECDsaBotan::SignData(const ByteArrayPtr&, const HashAlgorithmName&) method

Computes the hash value of the specified data array using the specified hash algorithm, and signs the result.

virtual ByteArrayPtr System::Security::Cryptography::ECDsa::SignData(const ByteArrayPtr &data, const HashAlgorithmName &hash_algorithm)

Arguments

ParameterTypeDescription
dataconst ByteArrayPtr&Input data array.
hash_algorithmconst HashAlgorithmName&Hash algorithm. return ECDSA signature for the input data.

ECDsaBotan::SignData(const ByteArrayPtr&, int32_t, int32_t, const HashAlgorithmName&) method

Computes the hash value of the specified data array using the specified hash algorithm, and signs the result.

virtual ByteArrayPtr System::Security::Cryptography::ECDsa::SignData(const ByteArrayPtr &data, int32_t offset, int32_t count, const HashAlgorithmName &hash_algorithm)

Arguments

ParameterTypeDescription
dataconst ByteArrayPtr&Input data array.
offsetint32_tOffset in data.
countint32_tNumber of bytes to use as input data.
hash_algorithmconst HashAlgorithmName&Hash algorithm. return ECDSA signature for the input data.

ECDsaBotan::SignData(const StreamPtr&, const HashAlgorithmName&) method

Computes the hash value of the specified binary stream using the specified hash algorithm, and signs the result.

virtual ByteArrayPtr System::Security::Cryptography::ECDsa::SignData(const StreamPtr &stream, const HashAlgorithmName &hash_algorithm)

Arguments

ParameterTypeDescription
streamconst StreamPtr&Binary stream.
hash_algorithmconst HashAlgorithmName&Hash algorithm. return ECDSA signature for the input data.

See Also