Click or drag to resize
MimeKit

DigitalSignatureCollection Class

A collection of digital signatures.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelReadOnlyCollectionIDigitalSignature
    MimeKit.CryptographyDigitalSignatureCollection

Namespace:  MimeKit.Cryptography
Assembly:  MimeKit (in MimeKit.dll) Version: 2.1.0.0
Syntax
C#
public class DigitalSignatureCollection : ReadOnlyCollection<IDigitalSignature>

The DigitalSignatureCollection type exposes the following members.

Constructors
  NameDescription
Public methodDigitalSignatureCollection
Initializes a new instance of the DigitalSignatureCollection class.
Top
Properties
  NameDescription
Public propertyCount (Inherited from ReadOnlyCollectionIDigitalSignature.)
Public propertyItem
Gets the element at the specified index.
(Inherited from ReadOnlyCollectionIDigitalSignature.)
Protected propertyItems (Inherited from ReadOnlyCollectionIDigitalSignature.)
Top
Methods
  NameDescription
Public methodContains (Inherited from ReadOnlyCollectionIDigitalSignature.)
Public methodCopyTo (Inherited from ReadOnlyCollectionIDigitalSignature.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from ReadOnlyCollectionIDigitalSignature.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from ReadOnlyCollectionIDigitalSignature.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

When verifying a digitally signed MIME part such as a MultipartSigned or a ApplicationPkcs7Mime, you will get back a collection of digital signatures. Typically, a signed message will only have a single signature (created by the sender of the message), but it is possible for there to be multiple signatures.

See Also