public static string createUploadToken(PutPolicy putPolicy, Mac mac) { string jsonData = putPolicy.ToString(); return(mac.SignWithData(Encoding.UTF8.GetBytes(jsonData))); }
public static string createUploadToken(PutPolicy putPolicy, Mac mac) { string jsonData = putPolicy.ToString(); return mac.SignWithData(Encoding.UTF8.GetBytes(jsonData)); }