public Certificate Verify(string contentFilename, string signatureFilename) { var certificates = crypt.VerifySignature(File.ReadAllBytes(contentFilename), File.ReadAllBytes(signatureFilename)); return(new Certificate(new X509Certificate2(certificates[0]))); }