Click or drag to resize

SignedCmsBuilder Class

Contains properties and methods to construct and (optionally) sign PKCS#7/CMS message.
Inheritance Hierarchy
SystemObject
  SysadminsLV.PKI.Cryptography.PkcsSignedCmsBuilder

Namespace:  SysadminsLV.PKI.Cryptography.Pkcs
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public sealed class SignedCmsBuilder

The SignedCmsBuilder type exposes the following members.

Constructors
  NameDescription
Public methodSignedCmsBuilder(DefaultSignedPkcs7)
Initializes a new instance of SignedCmsBuilder from existing Signed CMS. Data from existing CMS is copied to builder and can be modified.
Public methodSignedCmsBuilder(Oid, Byte)
Initializes a new instance of SignedCmsBuilder from content type identifier and optional content.
Top
Properties
  NameDescription
Public propertyCertificates
Gets a collection of certificates contained in signed message.
Public propertyContentType
Gets the object identifier that identifies the content type stored in current object.
Public propertyDigestAlgorithms
Gets a collection of hashing algorithms.
Public propertyRevocationLists
Gets an array of certificate revocation lists contained in the message.
Public propertySignerInfos
Gets a collection of signer infos. This collection is read-only and populated automatically by signing current object.
Public propertyVersion
Gets the version of the CMS/PKCS#7 message. Currently, only version 1 is defined.
Top
Methods
  NameDescription
Public methodAddTimestamp
Attaches a timestamp to signed CMS object.
Public methodEncode
Encodes CMS without signing.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSign
Signs current PKCS#7 message and adds a new signer information to SignerInfos collection. Certificates specified in chain parameter are added to Certificates collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also