This documentation is archived and is not being maintained.
The SignedCms class enables signing and verifying of CMS/PKCS #7 messages.
The following tables list the members exposed by the SignedCms type.
|Certificates||The Certificates property retrieves the certificates associated with the encoded CMS/PKCS #7 message.|
|ContentInfo||The ContentInfo property retrieves the inner contents of the encoded CMS/PKCS #7 message.|
|Detached||The Detached property retrieves whether the SignedCms object is for a detached signature.|
|SignerInfos||The SignerInfos property retrieves the SignerInfoCollection collection associated with the CMS/PKCS #7 message.|
|Version||The Version property retrieves the version of the CMS/PKCS #7 message.|
(see also Protected Methods )
|CheckHash||The CheckHash method verifies the data integrity of the CMS/PKCS #7 message. CheckHash is a specialized method used in specific security infrastructure applications in which the subject uses the HashOnly enumeration member when setting up a CmsSigner object. CheckHash does not authenticate the author nor sender of the message because this method does not involve verifying a digital signature. For general-purpose checking of the integrity and authenticity of a CMS/PKCS #7 message, use the CheckSignature(Boolean) or CheckSignature(X509Certificate2Collection,Boolean) methods.|
|CheckSignature||Overloaded. Verifies the digital signatures on the signed CMS/PKCS #7 message.|
|ComputeSignature||Overloaded. Creates a signature, and adds the signature to the CMS/PKCS #7 message.|
|Decode||The Decode method decodes an encoded SignedCms message. Upon successful decoding, the decoded information can be retrieved from the properties of the SignedCms object.|
|Encode||The Encode method encodes the information in the object into a CMS/PKCS #7 message.|
|Equals||Overloaded. Determines whether two Object instances are equal. (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.)|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|RemoveSignature||Overloaded. Removes the specified signature from the SignerInfos collection.|
|ToString||Returns a String that represents the current Object. (Inherited from Object.)|