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 - GenerateECCKeyPair 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 setECDSA() and setRSA() must not have been called

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

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntax
C#
public void setPKCS7(
	SignPKCS7Wrapper pkcs7
)

Parameters

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