The SignedData type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SignedData()()()() |
Creates an instance of SignedData class.
| |
SignedData(ContentInfo) |
Creates an instance of SignedData class using the specified content
information as the inner content.
| |
SignedData(ContentInfo, Boolean) |
Creates an instance of SignedData class using the specified content
information as the inner content.
|
Methods
Name | Description | |
---|---|---|
Clone |
Creates a copy of this object.
| |
Decode |
Decodes an encoded CMS/PKCS #7 signed message from raw data.
Upon successful decoding, information can be retrieved using SignedData
methods and properties.
| |
Encode |
Encodes the SignedData object into CMS/PKCS #7 message data.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsSignedData |
Determines whether the specified content info ASN.1 sequence is a signed data sequence.
| |
Load |
Loads a CMS/PKCS #7 signed message from a stream.
Upon successful decoding, information can be retrieved using SignedData
methods and properties.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save |
Saves SignedData into a stream.
| |
Sign()()()() |
Creates a signatures for all signers that do not have one yet.
| |
Sign(SignatureOptions) |
Creates a signatures for all signers that do not have one yet.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
Validate()()()() |
Validates all digital signatures on this CMS/PKCS #7 signed message
and validates all the signers' certificates.
| |
Validate(Boolean, ValidationOptions) |
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, ValidationOptions, CertificateChainEngine) |
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.
|
Properties
Name | Description | |
---|---|---|
CertificateFinder |
Gets or sets the ICertificateFinder to be used to find certificates
corresponding to a SubjectIdentifier.
| |
CertificateRevocationLists |
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.
| |
ContentInfo |
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.
| |
IncludeOption |
Specifies what parts of the certificate chain should be included in the signed data.
| |
SignerInfos |
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.
|