SignDocSDK Class Library
SignDocSDK Class Library
de.softpro.signdocsdk
ISignRSA Interface
ISignRSA Methods
getCertificate Method
getCertificateCount Method
getErrorMessage Method
getSignatureSize Method
getSigningCertificate Method
sign Method
ISignRSA
sign 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#
Copy
byte
[]
sign
(
ISource
source
,
Version
version
,
HashAlgorithm
hashAlgorithm
)
Parameters
source
Type:
de.softpro.signdocsdk
ISource
An object providing data to be hashed and signed.
version
Type:
de.softpro.signdocsdk.Enums.ESignRSA
Version
RSA version (#v_1_5 or #v_2_0).
hashAlgorithm
Type:
de.softpro.signdocsdk.Enums.ESignRSA
HashAlgorithm
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
Reference
ISignRSA Interface
de.softpro.signdocsdk Namespace