SignedData Class
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9147)
Represents a CMS/PKCS #7 signed data.
Syntax
public class SignedData : PkcsBase
Inherited Members
Constructors
Name | Description |
---|---|
Signed |
Creates an instance of Signed |
Signed |
Creates an instance of Signed |
Signed |
Creates an instance of Signed |
Properties
Name | Description |
---|---|
Certificate |
Gets or sets the ICertificate |
Certificate |
Gets the collection of certificate revocation lists (CRLs) that are embedded in the message. |
Certificates | Gets the collection of certificates that are embedded in the message. |
Content |
Gets or sets the inner content information for this CMS/PKCS #7 message. It contains the content type identifier and content data. |
Detached | Gets or sets a value indicating whether the actual content is detached from the message. |
Include |
Specifies what parts of the certificate chain should be included in the signed data. |
Signer |
Gets the collection of signers associated with this CMS/PKCS #7 message. |
Silent | Gets or sets a value indicating whether cryptographic providers are allowed to display any user interface (UI) when working with private keys. |
Use |
Gets or sets a value indicating whether to use DER encoding rules when encoding Signed |
Methods
Name | Description |
---|---|
Clone() | Creates a copy of this object. |
Decode(Byte[]) | Decodes an encoded CMS/PKCS #7 signed message from raw data.
Upon successful decoding, information can be retrieved using Signed |
Encode() | Encodes the Signed |
Is |
Determines whether the specified content info ASN.1 sequence is a signed data sequence. |
Load(Stream) | Loads a CMS/PKCS #7 signed message from a stream.
Upon successful decoding, information can be retrieved using Signed |
Load |
Loads a CMS/PKCS #7 signed or enveloped message from a stream.
Returns an instance of Signed |
Save(Stream) | Saves Signed |
Sign() | Creates a signatures for all signers that do not have one yet. |
Sign(Signature |
Creates a signatures for all signers that do not have one yet. |
Validate() | Validates all digital signatures on this CMS/PKCS #7 signed message and validates all the signers' certificates. |
Validate(Boolean, Validation |
Validates all digital signatures on this CMS/PKCS #7 signed message. Optionally, signers' certificates are validated, and the specified validation options are taken into account. |
Validate(Boolean, Validation |
Validates all digital signatures on this CMS/PKCS #7 signed message. Optionally, signers' certificates are validated, and the specified validation options are taken into account. |