Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / ReceiveSecurityHeaderEntry.cs / 1 / ReceiveSecurityHeaderEntry.cs
//---------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Security { struct ReceiveSecurityHeaderEntry { internal ReceiveSecurityHeaderElementCategory elementCategory; internal object element; internal ReceiveSecurityHeaderBindingModes bindingMode; internal string id; internal string encryptedFormId; internal bool signed; internal bool encrypted; internal byte[] decryptedBuffer; internal TokenTracker supportingTokenTracker; public bool MatchesId(string id, bool requiresEncryptedFormId) { if (requiresEncryptedFormId) { return this.encryptedFormId == id; } else { return this.id == id; } } public void PreserveIdBeforeDecryption() { this.encryptedFormId = this.id; } public void SetElement( ReceiveSecurityHeaderElementCategory elementCategory, object element, ReceiveSecurityHeaderBindingModes bindingMode, string id, bool encrypted, byte[] decryptedBuffer, TokenTracker supportingTokenTracker) { this.elementCategory = elementCategory; this.element = element; this.bindingMode = bindingMode; this.encrypted = encrypted; this.decryptedBuffer = decryptedBuffer; this.supportingTokenTracker = supportingTokenTracker; this.id = id; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StylusEditingBehavior.cs
- XsltContext.cs
- WebPartManager.cs
- BaseParagraph.cs
- ModelProperty.cs
- SqlGatherConsumedAliases.cs
- IDictionary.cs
- IntSecurity.cs
- AuthenticationModuleElementCollection.cs
- CommonGetThemePartSize.cs
- MemoryStream.cs
- Debug.cs
- DefaultMemberAttribute.cs
- EventProperty.cs
- UserInitiatedNavigationPermission.cs
- HttpContextServiceHost.cs
- SqlReferenceCollection.cs
- SerialReceived.cs
- RemoteCryptoDecryptRequest.cs
- HttpPostProtocolReflector.cs
- WebSysDisplayNameAttribute.cs
- FreezableOperations.cs
- DataTablePropertyDescriptor.cs
- XmlILOptimizerVisitor.cs
- ContentElement.cs
- NumericUpDownAcceleration.cs
- DelegateTypeInfo.cs
- SystemColors.cs
- ZipIOCentralDirectoryFileHeader.cs
- Speller.cs
- ClientFormsAuthenticationCredentials.cs
- MDIWindowDialog.cs
- BamlRecordWriter.cs
- TrustManagerMoreInformation.cs
- TextEffectCollection.cs
- UTF32Encoding.cs
- PagesChangedEventArgs.cs
- CustomWebEventKey.cs
- MetadataItemCollectionFactory.cs
- DesignerVerbCollection.cs
- CodeCommentStatementCollection.cs
- TextTreeRootTextBlock.cs
- TypeConstant.cs
- ApplicationManager.cs
- CompareValidator.cs
- BinaryOperationBinder.cs
- DropSource.cs
- SqlWriter.cs
- CompoundFileIOPermission.cs
- LicenseException.cs
- BaseProcessProtocolHandler.cs
- BidPrivateBase.cs
- Utility.cs
- NonVisualControlAttribute.cs
- BatchParser.cs
- HttpDebugHandler.cs
- DictionaryItemsCollection.cs
- InputChannelBinder.cs
- WebServiceTypeData.cs
- SelectionHighlightInfo.cs
- VisualBrush.cs
- SqlTopReducer.cs
- ParallelRangeManager.cs
- FontDialog.cs
- ACL.cs
- MimeMultiPart.cs
- PeerDefaultCustomResolverClient.cs
- FtpRequestCacheValidator.cs
- DataExpression.cs
- SimpleType.cs
- CapabilitiesRule.cs
- EpmSyndicationContentSerializer.cs
- HttpValueCollection.cs
- XmlSchemaComplexContentExtension.cs
- StrokeNodeEnumerator.cs
- PerformanceCounterCategory.cs
- FontStyles.cs
- AlphabeticalEnumConverter.cs
- DbParameterCollectionHelper.cs
- DSASignatureFormatter.cs
- TextBoxBase.cs
- ToolStripStatusLabel.cs
- TCPClient.cs
- HtmlSelect.cs
- TagMapCollection.cs
- SR.cs
- SoapClientMessage.cs
- ListView.cs
- AutomationProperties.cs
- Enum.cs
- RotateTransform3D.cs
- FacetEnabledSchemaElement.cs
- ObjectItemLoadingSessionData.cs
- ErrorRuntimeConfig.cs
- SqlProfileProvider.cs
- _SslSessionsCache.cs
- CodeTypeOfExpression.cs
- ValidationHelper.cs
- SrgsDocumentParser.cs
- Double.cs