DSACryptoServiceProvider: SignData

SignData

Creates a signature for a Stream object or Byte array.



 Public Function SignData(
	  ByRef InputStreamOrBuffer As Variant,
	  Optional ByRef offset As Variant,
	  Optional ByRef Count As Variant ) As Byte ( )

Parameters

InputStreamOrBuffer
[ByRef] Variant. The input source to be signed. This can be any Stream object or Byte array.
offset
[ByRef] Optional. Variant. The starting index of the Byte array to begin processing. This is only applied to a Byte array.
Count
[ByRef] Optional. Variant. The number of bytes to be processed. This is only applied to a Byte array.

Return Values

Byte() -  A byte array representing the signature for the data.

Remarks

See Also

Project VBCorLib Overview Class DSACryptoServiceProvider Overview DSACryptoServiceProvider Properties DSACryptoServiceProvider Methods SignatureAlgorithm (get) SignHash