X509CertificateChainItem Property

Get or set the certificate at the specified index.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public X509Certificate this[
	int index
] { get; set; }

Parameters

index  Int32
The index of the certificate to get or set.

Property Value

X509Certificate
The internet certificate at the specified index.

Implements

IListTItemInt32

Remarks

Gets or sets the certificate at the specified index.

Exceptions

ArgumentNullException value is .
ArgumentOutOfRangeException index is out of range.

See Also