[]
Implements the ISignatureBuilder interface, can be used to build a PKCS#7 signature.
public class Pkcs7SignatureBuilder : ISignatureBuilder
| Name | Description |
|---|---|
| Pkcs7SignatureBuilder() | Initializes a new instance of the Pkcs7SignatureBuilder class. |
| Pkcs7SignatureBuilder(X509Certificate2, SignatureFormat, OID) | Initializes a new instance of the Pkcs7SignatureBuilder class. |
| Pkcs7SignatureBuilder(X509Certificate2[], SignatureFormat, OID) | Initializes a new instance of the Pkcs7SignatureBuilder class. |
| Name | Description |
|---|---|
| CertificateChain | Gets or sets the certificate chain. The first certificate is used to sign the document. |
| Crls | Gets or sets the collection of certificate revocation lists (CRLs) to use. Items in this collection may be of the following types:
|
| Format | Gets or sets the signature format. |
| HashAlgorithm | Gets or sets the HASH algorithm used if SignatureGenerator is not specified. Note! If Format is adbe_pkcs7_sha1 then this property is ignored and always SHA-1 used. |
| IncludeOcsp | Gets or sets a value indicating whether to include OCSP information into the signature. |
| SignatureGenerator | Gets or sets the IPkcs7SignatureGenerator object used to sign the authenticated attribute set that is a part of PKCS#7 signature. If not set, the default built-in generator will be used. |