MimeKit.Cryptography.MultipartEncrypted.Decrypt C# (CSharp) Method

Decrypt() public method

Decrypts the MultipartEncrypted part.
Decrypts the MultipartEncrypted part.
/// is null. /// /// The protocol parameter was not specified. /// -or- /// The multipart is malformed in some way. /// /// The provided does not support the protocol parameter. /// /// The private key could not be found to decrypt the encrypted data. /// /// The user chose to cancel the password prompt. /// /// 3 bad attempts were made to unlock the secret key. ///
public Decrypt ( MimeKit.Cryptography.OpenPgpContext ctx ) : MimeEntity
ctx MimeKit.Cryptography.OpenPgpContext The OpenPGP cryptography context to use for decrypting.
return MimeEntity
		public MimeEntity Decrypt (OpenPgpContext ctx)
		{
			DigitalSignatureCollection signatures;

			return Decrypt (ctx, out signatures);
		}

Same methods

MultipartEncrypted::Decrypt ( ) : MimeEntity
MultipartEncrypted::Decrypt ( DigitalSignatureCollection &signatures ) : MimeEntity
MultipartEncrypted::Decrypt ( MimeKit.Cryptography.OpenPgpContext ctx, DigitalSignatureCollection &signatures ) : MimeEntity