SignedCmsBuilder Class |
Namespace: SysadminsLV.PKI.Cryptography.Pkcs
The SignedCmsBuilder type exposes the following members.
| Name | Description | |
|---|---|---|
| SignedCmsBuilder(DefaultSignedPkcs7) |
Initializes a new instance of SignedCmsBuilder from existing Signed CMS. Data from existing CMS
is copied to builder and can be modified.
| |
| SignedCmsBuilder(Oid, Byte) |
Initializes a new instance of SignedCmsBuilder from content type identifier and optional content.
|
| Name | Description | |
|---|---|---|
| Certificates |
Gets a collection of certificates contained in signed message.
| |
| ContentType |
Gets the object identifier that identifies the content type stored in current object.
| |
| DigestAlgorithms |
Gets a collection of hashing algorithms.
| |
| RevocationLists |
Gets an array of certificate revocation lists contained in the message.
| |
| SignerInfos |
Gets a collection of signer infos. This collection is read-only and populated automatically by signing current object.
| |
| Version |
Gets the version of the CMS/PKCS#7 message. Currently, only version 1 is defined.
|
| Name | Description | |
|---|---|---|
| AddTimestamp |
Attaches a timestamp to signed CMS object.
| |
| Encode |
Encodes CMS without signing.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Sign |
Signs current PKCS#7 message and adds a new signer information to SignerInfos collection.
Certificates specified in chain parameter are added to Certificates collection.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |