public void WinCertificateConstructorWorks_Test() { var winCertifiacte = new WIN_CERTIFICATE(RawStructures.RawWinCertificate, 2); Assert.AreEqual((uint) 0x0000000b, winCertifiacte.dwLength); Assert.AreEqual((ushort) 0x5544, winCertifiacte.wRevision); Assert.AreEqual((ushort) 0x7766, winCertifiacte.wCertificateType); Assert.AreEqual((byte) 0x11, winCertifiacte.bCertificate[0]); Assert.AreEqual((byte) 0x22, winCertifiacte.bCertificate[1]); Assert.AreEqual((byte) 0x33, winCertifiacte.bCertificate[2]); }
internal PKCS7Parser Constructor(WIN_CERTIFICATE winCertificate) { var target = new PKCS7Parser(winCertificate); return target; // TODO: add assertions to method PKCS7ParserTest.Constructor(WIN_CERTIFICATE) }