Export (0) Print
Expand All

SignedCms Members

The SignedCms class enables signing and verifying of CMS/PKCS #7 messages.

The following tables list the members exposed by the SignedCms type.

  Name Description
Public method SignedCms Overloaded. Initializes a new instance of the SignedCms class.
Top

  Name Description
Public property Certificates The Certificates property retrieves the certificates associated with the encoded CMS/PKCS #7 message.
Public property ContentInfo The ContentInfo property retrieves the inner contents of the encoded CMS/PKCS #7 message.
Public property Detached The Detached property retrieves whether the SignedCms object is for a detached signature.
Public property SignerInfos The SignerInfos property retrieves the SignerInfoCollection collection associated with the CMS/PKCS #7 message.
Public property Version The Version property retrieves the version of the CMS/PKCS #7 message.
Top

(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.)
Top

  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.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft