Click or drag to resize
ISignRSAsign Method
Compute an RSA signature.

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntax
C#
byte[] sign(
	ISource source,
	Version version,
	HashAlgorithm hashAlgorithm
)

Parameters

source
Type: de.softpro.signdocsdkISource
An object providing data to be hashed and signed.
version
Type: de.softpro.signdocsdk.Enums.ESignRSAVersion
RSA version (#v_1_5 or #v_2_0).
hashAlgorithm
Type: de.softpro.signdocsdk.Enums.ESignRSAHashAlgorithm
Hash algorithm (#ha_sha1, #ha_sha256, #ha_sha384, #ha_sha512, or #ha_ripemd160).

Return Value

Type: Byte
The RSA signature. This shall be just the result of the RSA operation, not wrapped in an OCTET STRING.
See Also