Esempio n. 1
0
 // Token: 0x060007B4 RID: 1972 RVA: 0x0003A74E File Offset: 0x0003894E
 public bool ValidateCanary(string canaryString)
 {
     return(Canary.ValidateCanary(canaryString, this.LogonUniqueKey));
 }
Esempio n. 2
0
 // Token: 0x060007B3 RID: 1971 RVA: 0x0003A708 File Offset: 0x00038908
 public static Canary RestoreCanary(string canaryString, string logonUniqueKey)
 {
     byte[] userContextIdBinary;
     byte[] timeStampBinary;
     byte[] array;
     if (Canary.ParseCanary(canaryString, out userContextIdBinary, out timeStampBinary, out array) && Canary.ValidateCanary(canaryString, logonUniqueKey))
     {
         return(new Canary(userContextIdBinary, timeStampBinary, logonUniqueKey));
     }
     ExTraceGlobals.UserContextTracer.TraceDebug <string, string, string>(5L, "{0}.RestoreCanary failed: logonUniqueKey={1}, canaryString={2}", "Owa.Core.Canary", logonUniqueKey, canaryString);
     return(null);
 }