MimeKit.Cryptography.TemporarySecureMimeContext.GetIntermediateCertificates C# (CSharp) Method

GetIntermediateCertificates() protected method

Gets the intermediate certificates.
An intermediate certificate is any certificate that exists between the root certificate issued by a Certificate Authority (CA) and the certificate at the end of the chain.
protected GetIntermediateCertificates ( ) : IX509Store
return IX509Store
		protected override IX509Store GetIntermediateCertificates ()
		{
			var store = new X509CertificateStore ();

			foreach (var certificate in certificates) {
				store.Add (certificate);
			}

			return store;
		}