public CustomTextMessageEncoder(CustomTextMessageEncoderFactory factory, DifiGatewaySettings difiGatewaySettings) { _factory = factory; _difiGatewaySettings = difiGatewaySettings; _writerSettings = new XmlWriterSettings(); }
public DifiGatewaySettings CreateGatewaySettings() { var service = new System.Security.Cryptography.X509Certificates.X509Certificate2("Certificates\\idporten-ver2.difi.no-v2.crt", "changeit"); var client = new System.Security.Cryptography.X509Certificates.X509Certificate2("Certificates\\WcfClient.pfx", "changeit"); var settings = new DifiGatewaySettings(client, service); return settings; }
public CustomTextMessageEncoder(CustomTextMessageEncoderFactory factory, DifiGatewaySettings difiGatewaySettings) { _factory = factory; _difiGatewaySettings = difiGatewaySettings; _writerSettings = new XmlWriterSettings(); }
public DifiGatewaySettings CreateGatewaySettings() { var service = new System.Security.Cryptography.X509Certificates.X509Certificate2("Certificates\\idporten-ver2.difi.no-v2.crt", "changeit"); var client = new System.Security.Cryptography.X509Certificates.X509Certificate2("Certificates\\WcfClient.pfx", "changeit"); var settings = new DifiGatewaySettings(client, service); return(settings); }
internal CustomTextMessageEncoderFactory(DifiGatewaySettings difiGatewaySettings) { _encoder = new CustomTextMessageEncoder(this, difiGatewaySettings); }
internal CustomTextMessageEncoderFactory(DifiGatewaySettings difiGatewaySettings) { _encoder = new CustomTextMessageEncoder(this, difiGatewaySettings); }
public CustomTextMessageBindingElement(DifiGatewaySettings difiGatewaySettings) { DifiGatewaySettings = difiGatewaySettings; _readerQuotas = new XmlDictionaryReaderQuotas(); }