Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: "HasValidRecipientCertificate" and "HasValidSignerCertificate" on SecureMimeContext #325

Closed
Nikkelmann opened this issue Aug 8, 2017 · 1 comment
Labels
enhancement New feature or request

Comments

@Nikkelmann
Copy link

I have at case where I need to send a mail to multiple recipients where some do not have certificates.
In this case I will create two MimeMessages, one that is signed and encrypted and one that is not.
For this to work I need to know which recipient emails have a valid recipient certificate and which "from" emails have a valid signer certificate.

Having

public bool HasValidRecipientCertificate(MailboxAddress)
public bool HasValidSignerCertificate(MailboxAddress)

on SecureMimeContext would solve this.

@jstedfast
Copy link
Owner

Seems like a reasonable request... I'll look into adding API for this.

Thanks!

@jstedfast jstedfast added the enhancement New feature or request label Aug 8, 2017
jstedfast added a commit that referenced this issue Aug 8, 2017
These methods can be used to check whether or not the
MailboxAddress can be used for signing or encrypting.

Fixes issue #325
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants