SignData()
Contents
[
Hide
]DSACryptoServiceProvider::SignData(const ByteArrayPtr&) method
Computes the signature of specified input value.
ByteArrayPtr System::Security::Cryptography::DSACryptoServiceProvider::SignData(const ByteArrayPtr &buffer)
Arguments
Parameter | Type | Description |
---|---|---|
buffer | const ByteArrayPtr& | Buffer to read input data from. |
Return Value
DSA signature for specified data.
DSACryptoServiceProvider::SignData(const SharedPtr<IO::Stream>&) method
Computes the signature of specified input value.
ByteArrayPtr System::Security::Cryptography::DSACryptoServiceProvider::SignData(const SharedPtr<IO::Stream> &input_stream)
Arguments
Parameter | Type | Description |
---|---|---|
input_stream | const SharedPtr<IO::Stream>& | Stream to read data being signed from. |
Return Value
DSA signature for specified data.
DSACryptoServiceProvider::SignData(const ByteArrayPtr&, int32_t, int32_t) method
Computes the signature of specified input value.
ByteArrayPtr System::Security::Cryptography::DSACryptoServiceProvider::SignData(const ByteArrayPtr &buffer, int32_t offset, int32_t count)
Arguments
Parameter | Type | Description |
---|---|---|
buffer | const ByteArrayPtr& | Buffer to read input data from. |
offset | int32_t | Input buffer slice beginning index. |
count | int32_t | Input buffer slice size. |
Return Value
DSA signature for specified data.
DSACryptoServiceProvider::SignData(const ByteArrayPtr&, const HashAlgorithmName&) method
Computes the hash value of the specified data array using the specified hash algorithm, and signs the result.
ByteArrayPtr System::Security::Cryptography::DSA::SignData(const ByteArrayPtr &data, const HashAlgorithmName &hash_algorithm)
Arguments
Parameter | Type | Description |
---|---|---|
data | const ByteArrayPtr& | Input data array. |
hash_algorithm | const HashAlgorithmName& | Hash algorithm. return DSA signature for the input data. |
DSACryptoServiceProvider::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.
ByteArrayPtr System::Security::Cryptography::DSA::SignData(const ByteArrayPtr &data, int32_t offset, int32_t count, const HashAlgorithmName &hash_algorithm)
Arguments
Parameter | Type | Description |
---|---|---|
data | const ByteArrayPtr& | Input data array. |
offset | int32_t | Offset in data. |
count | int32_t | Number of bytes to use as input data. |
hash_algorithm | const HashAlgorithmName& | Hash algorithm. return DSA signature for the input data. |
DSACryptoServiceProvider::SignData(const StreamPtr&, const HashAlgorithmName&) method
Computes the hash value of the specified binary stream using the specified hash algorithm, and signs the result.
ByteArrayPtr System::Security::Cryptography::DSA::SignData(const StreamPtr &stream, const HashAlgorithmName &hash_algorithm)
Arguments
Parameter | Type | Description |
---|---|---|
stream | const StreamPtr& | Binary stream. |
hash_algorithm | const HashAlgorithmName& | Hash algorithm. return DSA signature for the input data. |
See Also
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Typedef StreamPtr
- Class DSACryptoServiceProvider
- Class Stream
- Struct HashAlgorithmName
- Namespace System::Security::Cryptography
- Library Aspose.Slides