Click or drag to resize
SignDocSignatureParameterssetPKCS7 Method

Set an object which will create a PKCS #7 or CAdES signature.

By default, PKCS #7 and CAdES signatures are handled internally which means that the private key must be available on this machine.

Requirements for string parameters: - CommonName must not be set - Country must not be set - Locality must not be set - Organization must not be set - OrganizationUnit must not be set

Requirements for integer parameters: - GenerateKeyPair must not be set - Method must be #m_digsig_pkcs7_detached, #m_digsig_pkcs7_sha1, or #m_digsig_cades_detached - SelectCertificate must be zero (which is the default value)

Requirements for blob parameters: - Certificate must not be set - CertificatePrivateKey must not be set

The SignPKCS7 interface is quite hard to use, please use setRSA() and the SignRSA interface instead.

Namespace: de.softpro.signdocsdk
Assembly: SPSignDoc_4.1_DotNetLibd (in SPSignDoc_4.1_DotNetLibd.dll) Version: 1.0.5882.21462
Syntax
public void setPKCS7(
	SignPKCS7Wrapper pkcs7
)

Parameters

pkcs7
Type: de.softpro.signdocsdkSignPKCS7Wrapper
The object that will create the PKCS #7 or CAdES signature.
See Also