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