X509Certificate Chain Class
An X.509 certificate chain.
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 X509CertificateChain : IList<X509Certificate>,
ICollection<X509Certificate>, IEnumerable<X509Certificate>, IEnumerable,
IStore<X509Certificate>- Inheritance
- Object X509CertificateChain
- Implements
- IStoreX509Certificate, ICollectionX509Certificate, IEnumerableX509Certificate, IListX509Certificate, IEnumerable
Remarks
An X.509 certificate chain.
Constructors
| X509CertificateChain | Initialize a new instance of the X509CertificateChain class. |
| X509CertificateChain(IEnumerableX509Certificate) | Initialize a new instance of the X509CertificateChain class. |
Properties
| Count | Get the number of certificates in the chain. |
| IsReadOnly | Get a value indicating whether the X509CertificateChain is read only. |
| Item | Get or set the certificate at the specified index. |
Methods
| Add | Add a certificate to the chain. |
| AddRange | Add a range of certificates to the chain. |
| Clear | Clear the certificate chain. |
| Contains | Check if the chain contains the specified certificate. |
| CopyTo | Copy all of the certificates in the chain to the specified array. |
| 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 | Gets an enumerator for the list of certificates. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetMatches | Gets an enumerator of matching X.509 certificates based on the specified selector. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IndexOf | Get the index of a certificate within the chain. |
| Insert | Insert a certificate at the specified index. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Remove | Remove a certificate from the chain. |
| RemoveAt | Remove a certificate at the specified index. |
| RemoveRange | Removes the specified range of certificates from the chain. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |