Beispiel #1
0
 public InitiatorSecureMessageDecryptor(
     Message source, SecurityMessageProperty secprop, InitiatorMessageSecurityBindingSupport security)
     : base(source, security)
 {
     this.security    = security;
     request_security = secprop;
 }
Beispiel #2
0
 public SecurityChannelFactory(
     IChannelFactory <TChannel> innerFactory,
     InitiatorMessageSecurityBindingSupport security)
 {
     this.inner    = innerFactory;
     this.security = security;
 }
Beispiel #3
0
        public InitiatorMessageSecurityGenerator(
            Message msg,
            InitiatorMessageSecurityBindingSupport security,
            EndpointAddress messageTo)
            : base(msg, security)
        {
            // FIXME: I believe it should be done at channel
            // creation phase, but WinFX does not.
//			if (!security.InitiatorParameters.InternalHasAsymmetricKey)
//				throw new InvalidOperationException ("Wrong security token parameters: it must have an asymmetric key (HasAsymmetricKey). There is likely a misconfiguration in the custom security binding element.");

            this.security   = security;
            this.message_to = messageTo;
        }
Beispiel #4
0
 protected void InitializeSecurityFunctionality(InitiatorMessageSecurityBindingSupport security)
 {
     this.security = security;
 }