SignData()

RSACryptoServiceProvider::SignData(const ByteArrayPtr&, const SharedPtr<Object>&) method

Computes the signature of specified input value.

ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::SignData(const ByteArrayPtr &buffer, const SharedPtr<Object> &halg)

Arguments

ParameterTypeDescription
bufferconst ByteArrayPtr&Buffer to read input data from.
halgconst SharedPtr<Object>&Hash algorithm to use.

Return Value

RSA signature for specified data.

RSACryptoServiceProvider::SignData(const SharedPtr<IO::Stream>&, const SharedPtr<Object>&) method

Computes the signature of specified input value.

ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::SignData(const SharedPtr<IO::Stream> &input_stream, const SharedPtr<Object> &halg)

Arguments

ParameterTypeDescription
input_streamconst SharedPtr<IO::Stream>&Stream to read data being signed from.
halgconst SharedPtr<Object>&Hash algorithm to use.

Return Value

RSA signature for specified data.

RSACryptoServiceProvider::SignData(const ByteArrayPtr&, int32_t, int32_t, const SharedPtr<Object>&) method

Computes the signature of specified input value.

ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::SignData(const ByteArrayPtr &buffer, int32_t offset, int32_t count, const SharedPtr<Object> &halg)

Arguments

ParameterTypeDescription
bufferconst ByteArrayPtr&Buffer to read input data from.
offsetint32_tInput buffer slice beginning index.
countint32_tInput buffer slice size.
halgconst SharedPtr<Object>&Hash algorithm to use.

Return Value

RSA signature for specified data.

See Also