Esempio n. 1
0
 public UpdateUserRSAKeyMqMessage(string appId, string loginName, DateTime timestamp, Cryptography.RSAKey key)
 {
     this.AppId     = appId;
     this.LoginName = loginName;
     this.Timestamp = timestamp;
     this.Key       = key;
 }
Esempio n. 2
0
 public static byte[] GetUpdateUserRSAKeyMqSendBody(Cryptography.RSAKey key)
 {
     return(Encoding.UTF8.GetBytes(VirtualRoot.JsonSerializer.Serialize(key)));
 }