internal AsymmetricSecurityBindingElement(SecurityTokenParameters recipientTokenParameters, SecurityTokenParameters initiatorTokenParameters, bool allowSerializedSigningTokenOnReply)
 {
     this.messageProtectionOrder             = System.ServiceModel.Security.MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature;
     this.requireSignatureConfirmation       = false;
     this.initiatorTokenParameters           = initiatorTokenParameters;
     this.recipientTokenParameters           = recipientTokenParameters;
     this.allowSerializedSigningTokenOnReply = allowSerializedSigningTokenOnReply;
     this.isCertificateSignatureBinding      = false;
 }
 private SymmetricSecurityBindingElement(SymmetricSecurityBindingElement elementToBeCloned) : base(elementToBeCloned)
 {
     this.messageProtectionOrder = elementToBeCloned.messageProtectionOrder;
     if (elementToBeCloned.protectionTokenParameters != null)
     {
         this.protectionTokenParameters = elementToBeCloned.protectionTokenParameters.Clone();
     }
     this.requireSignatureConfirmation = elementToBeCloned.requireSignatureConfirmation;
 }
 private AsymmetricSecurityBindingElement(AsymmetricSecurityBindingElement elementToBeCloned) : base(elementToBeCloned)
 {
     if (elementToBeCloned.initiatorTokenParameters != null)
     {
         this.initiatorTokenParameters = elementToBeCloned.initiatorTokenParameters.Clone();
     }
     this.messageProtectionOrder = elementToBeCloned.messageProtectionOrder;
     if (elementToBeCloned.recipientTokenParameters != null)
     {
         this.recipientTokenParameters = elementToBeCloned.recipientTokenParameters.Clone();
     }
     this.requireSignatureConfirmation       = elementToBeCloned.requireSignatureConfirmation;
     this.allowSerializedSigningTokenOnReply = elementToBeCloned.allowSerializedSigningTokenOnReply;
     this.isCertificateSignatureBinding      = elementToBeCloned.isCertificateSignatureBinding;
 }
 public SymmetricSecurityBindingElement(SecurityTokenParameters protectionTokenParameters)
 {
     this.messageProtectionOrder       = System.ServiceModel.Security.MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature;
     this.requireSignatureConfirmation = false;
     this.protectionTokenParameters    = protectionTokenParameters;
 }