public override SoapFilterResult ProcessMessage(SoapEnvelope envelope)
        {
            //Se crea una instancia de la componente “Intergrup.Core4.Soap.dll”
            WSSecuritySignature<SoapEnvelope, X509Certificate2> signed = new
            WSSecuritySignature<SoapEnvelope, X509Certificate2>();
            X509Certificate2 certificate = new CertManager(issuerCertificateName).Certificate;

            //Generar la firma digital
            signed.Signature(envelope, certificate);
            return SoapFilterResult.Continue;
        }
Пример #2
0
 public XmlDsigDetached(bool c14, CertManager manager)
 {
     this.manager = manager;
     this.c14 = c14;
 }
 public XmlDsigEnveloped(bool c14, CertManager manager)
 {
     this.manager = manager;
     this.c14 = c14;
 }