// Static Methods public static Account Create(List <string> contactEmails) { var key = RsaKeyPair.New(); return(new Account(key) { Contact = contactEmails }); }
// Ctor public Certificate(RsaKeyPair key = null) { // Generate new RSA key for certificate if (key == null) { Key = RsaKeyPair.New(); } else { Key = key; } }