Digital Signature Collection Class
A collection of digital signatures.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public class DigitalSignatureCollection : ReadOnlyCollection<IDigitalSignature>- Inheritance
- Object ReadOnlyCollectionIDigitalSignature DigitalSignatureCollection
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.
Constructors
| DigitalSignatureCollection | Initialize a new instance of the DigitalSignatureCollection class. |
Properties
| Count | Gets the number of elements contained in the ReadOnlyCollectionT instance. (Inherited from ReadOnlyCollectionIDigitalSignature) |
| Item | Gets the element at the specified index. (Inherited from ReadOnlyCollectionIDigitalSignature) |
| Items | Returns the IListT that the ReadOnlyCollectionT wraps. (Inherited from ReadOnlyCollectionIDigitalSignature) |
Methods
| Contains | Determines whether an element is in the ReadOnlyCollectionT. (Inherited from ReadOnlyCollectionIDigitalSignature) |
| CopyTo | Copies the entire ReadOnlyCollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from ReadOnlyCollectionIDigitalSignature) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetEnumerator | Returns an enumerator that iterates through the ReadOnlyCollectionT. (Inherited from ReadOnlyCollectionIDigitalSignature) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollectionT. (Inherited from ReadOnlyCollectionIDigitalSignature) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |