mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
2004-10-28 Sebastien Pouliot <[email protected]>
* AuthenticodeDeformatterTest.cs: Check timestamp as an UTC value so that the test can work anywhere in the world (and not just at home ;) svn path=/trunk/mcs/; revision=35396
This commit is contained in:
1 parent
c37aeba820
commit
997fee31ef
2 files changed
+7
-2
No files matched your search
+1
-1
@@ -702,7 +702,7 @@ namespace MonoTests.Mono.Security.Authenticode {
|
||||
// mean it's root is trusted on the current system
|
||||
Assert.IsTrue (((ad.Reason == 0) || (ad.Reason == 6)), "Reason");
|
||||
Assert.AreEqual ("35-A5-21-3B-FC-FE-FA-40-97-AA-BB-DE-3B-52-15-6F", BitConverter.ToString (ad.Hash), "Hash");
|
||||
Assert.AreEqual (632011226700000000, ad.Timestamp.Ticks, "Timestamp");
|
||||
Assert.AreEqual (632011370700000000, ad.Timestamp.ToUniversalTime ().Ticks, "Timestamp");
|
||||
Assert.AreEqual (4, ad.Certificates.Count, "#Certificates");
|
||||
Assert.AreEqual ("C=ZA, S=Western Cape, L=Cape Town, O=Thawte Consulting cc, OU=Certification Services Division, CN=Thawte Server CA, [email protected]", ad.SigningCertificate.IssuerName, "IssuerName");
|
||||
Assert.AreEqual ("C=CA, S=Quebec, L=Quebec, O=Motus Technologies Inc., OU=Secure Application Development, CN=Motus Technologies Inc.", ad.SigningCertificate.SubjectName, "SubjectName");
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
2005-09-07 Sebastien Pouliot <[email protected]>
|
||||
2004-10-28 Sebastien Pouliot <[email protected]>
|
||||
|
||||
* AuthenticodeDeformatterTest.cs: Check timestamp as an UTC value so
|
||||
that the test can work anywhere in the world (and not just at home ;)
|
||||
|
||||
2004-09-07 Sebastien Pouliot <[email protected]>
|
||||
|
||||
* AuthenticodeDeformatterTest.cs: New. Unit tests to validate a valid
|
||||
authenticode-signed assembly (included in test file) and an invalid
|
||||
|
||||
Reference in new issue
Block a user