System::Security::Cryptography::RSACryptoServiceProvider::SignData method

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)
ParameterTypeDescription
bufferconst ByteArrayPtr&Buffer to read input data from.
halgconst SharedPtr<Object>&Hash algorithm to use.

ReturnValue

RSA signature for specified data.

See Also

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)
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.

ReturnValue

RSA signature for specified data.

See Also

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)
ParameterTypeDescription
input_streamconst SharedPtr<IO::Stream>&Stream to read data being signed from.
halgconst SharedPtr<Object>&Hash algorithm to use.

ReturnValue

RSA signature for specified data.

See Also