Пример #1
0
 public override void ExecuteProcessingPasses(ReceiveSecurityHeader securityHeader, XmlDictionaryReader reader)
 {
     securityHeader.ExecuteReadingPass(reader);
     securityHeader.ExecuteDerivedKeyTokenStubPass(false);
     securityHeader.ExecuteSubheaderDecryptionPass();
     securityHeader.ExecuteDerivedKeyTokenStubPass(true);
     this.MarkElements(securityHeader.ElementManager, securityHeader.RequireMessageProtection);
     securityHeader.ExecuteSignatureEncryptionProcessingPass();
 }
 public override void ExecuteProcessingPasses(ReceiveSecurityHeader securityHeader, XmlDictionaryReader reader)
 {
     securityHeader.ExecuteReadingPass(reader);
     securityHeader.ExecuteDerivedKeyTokenStubPass(false);
     securityHeader.ExecuteSubheaderDecryptionPass();
     securityHeader.ExecuteDerivedKeyTokenStubPass(true);
     this.MarkElements(securityHeader.ElementManager, securityHeader.RequireMessageProtection);
     securityHeader.ExecuteSignatureEncryptionProcessingPass();
 }
        public override void ExecuteProcessingPasses(ReceiveSecurityHeader securityHeader, XmlDictionaryReader reader)
        {
            // pass 1
            securityHeader.ExecuteReadingPass(reader);

            // pass 1.5
            securityHeader.ExecuteDerivedKeyTokenStubPass(false);

            // pass 2
            securityHeader.ExecuteSubheaderDecryptionPass();

            // pass 2.5
            securityHeader.ExecuteDerivedKeyTokenStubPass(true);

            // layout-specific inferences
            MarkElements(securityHeader.ElementManager, securityHeader.RequireMessageProtection);

            // pass 3
            securityHeader.ExecuteSignatureEncryptionProcessingPass();
        }
        public override void ExecuteProcessingPasses(ReceiveSecurityHeader securityHeader, XmlDictionaryReader reader)
        {
            // pass 1
            securityHeader.ExecuteReadingPass(reader);

            // pass 1.5
            securityHeader.ExecuteDerivedKeyTokenStubPass(false);

            // pass 2
            securityHeader.ExecuteSubheaderDecryptionPass();

            // pass 2.5
            securityHeader.ExecuteDerivedKeyTokenStubPass(true);

            // layout-specific inferences
            MarkElements(securityHeader.ElementManager, securityHeader.RequireMessageProtection);

            // pass 3
            securityHeader.ExecuteSignatureEncryptionProcessingPass();
        }