MimeKit.Cryptography.DefaultSecureMimeContext.GetPrivateKey C# (CSharp) Method

GetPrivateKey() protected method

Gets the private key for the certificate matching the specified selector.
Gets the private key for the first certificate that matches the specified selector.
protected GetPrivateKey ( IX509Selector selector ) : AsymmetricKeyParameter
selector IX509Selector The search criteria for the private key.
return Org.BouncyCastle.Crypto.AsymmetricKeyParameter
		protected override AsymmetricKeyParameter GetPrivateKey (IX509Selector selector)
		{
			return dbase.FindPrivateKeys (selector).FirstOrDefault ();
		}