This documentation is archived and is not being maintained.

SignedCms Methods

(see also Protected Methods )
  Name Description
Public method 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.
Public method CheckSignature Overloaded. Verifies the digital signatures on the signed CMS/PKCS #7 message.
Public method ComputeSignature Overloaded. Creates a signature, and adds the signature to the CMS/PKCS #7 message.
Public method 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.
Public method Encode The Encode method encodes the information in the object into a CMS/PKCS #7 message.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method 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.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method RemoveSignature Overloaded. Removes the specified signature from the SignerInfos collection.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)

  Name Description
Protected method 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.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)