コード例 #1
0
        public void Test()
        {
            Assert.IsFalse(string.IsNullOrWhiteSpace(CERTIFICATE_THUMBPRINT));
            Assert.IsFalse(string.IsNullOrWhiteSpace(PRIVATE_KEY_PASSWORD));

            string xmlStr = File.ReadAllText("docToBeSignedXades.txt");

            Client client = new Client();
            Server server = new Server(xmlStr, client);

            server.Run();
        }
コード例 #2
0
 public Server(string xmlStr, Client client)
 {
     _xmlStr = xmlStr;
     _client = client;
 }