예제 #1
0
 /// <summary>
 /// Get the Key/IV secret from the cookies and generate the parts that don't yet exist
 /// and directly save it to the cookies collection
 /// </summary>
 /// <returns></returns>
 internal static Crypt.Secret GetSecret <M, F, S>(this ISmcControl <M, F, S> controlMain)
     where M : class, new()
     where F : statemap.FSMContext
     where S : statemap.State
 {
     return(ControlStorageExtension.GetSecret <M>(controlMain));
 }