Gnu |
public void GenerateKeyPair( MailboxAddress mailbox, string password, DateTime? expirationDate = null, EncryptionAlgorithm algorithm = EncryptionAlgorithm.Aes256, SecureRandom random = null )
| Exception | Condition |
|---|---|
| ArgumentNullException | mailbox is . -or- password is . |
| ArgumentException | expirationDate is not a date in the future. |