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