This documentation is archived and is not being maintained.

SignerInfo Members

The SignerInfo class represents a signer associated with a SignedCms object that represents a CMS/PKCS #7 message.

The SignerInfo type exposes the following members.

Public method CheckHash The CheckHash method verifies the data integrity of the CMS/PKCS #7 message signer information. CheckHash is a specialized method used in specific security infrastructure applications in which the subject uses the HashOnly member of the SubjectIdentifierType enumeration when setting up a CmsSigner object. CheckHash does not authenticate the signer information because this method does not involve verifying a digital signature. For general-purpose checking of the integrity and authenticity of CMS/PKCS #7 message signer information and countersignatures, use the CheckSignature(Boolean) or CheckSignature(X509Certificate2Collection, Boolean) methods.
Public method CheckSignature Overloaded. Verifies the digital signature of the message.
Public method ComputeCounterSignature Overloaded. Creates a countersignature and adds the signature to the CMS/PKCS #7 message.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveCounterSignature Overloaded. Removes the specified countersignature from the CounterSignerInfos collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property Certificate The Certificate property retrieves the signing certificate associated with the signer information.
Public property CounterSignerInfos The CounterSignerInfos property retrieves the set of counter signers associated with the signer information.
Public property DigestAlgorithm The DigestAlgorithm property retrieves the Oid object that represents the hash algorithm used in the computation of the signatures.
Public property SignedAttributes The SignedAttributes property retrieves the CryptographicAttributeObjectCollection collection of signed attributes that is associated with the signer information. Signed attributes are signed along with the rest of the message content.
Public property SignerIdentifier The SignerIdentifier property retrieves the certificate identifier of the signer associated with the signer information.
Public property UnsignedAttributes The UnsignedAttributes property retrieves the CryptographicAttributeCollection collection of unsigned attributes that is associated with the SignerInfo content. Unsigned attributes can be modified without invalidating the signature.
Public property Version The Version property retrieves the signer information version.