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
- HTMLTextWriter.cs
- TextRangeEditTables.cs
- Geometry.cs
- Object.cs
- UserPreferenceChangedEventArgs.cs
- EmptyControlCollection.cs
- DocumentsTrace.cs
- AlphaSortedEnumConverter.cs
- StorageMappingItemCollection.cs
- EntityCommandDefinition.cs
- StyleSheetComponentEditor.cs
- SafeSecurityHelper.cs
- ModelVisual3D.cs
- OdbcConnectionFactory.cs
- DocumentStream.cs
- CodeFieldReferenceExpression.cs
- Ray3DHitTestResult.cs
- AvTraceFormat.cs
- MediaPlayer.cs
- TryLoadRunnableWorkflowCommand.cs
- SspiSecurityTokenProvider.cs
- _HelperAsyncResults.cs
- Serializer.cs
- counter.cs
- CommandHelpers.cs
- APCustomTypeDescriptor.cs
- SystemResourceHost.cs
- TagNameToTypeMapper.cs
- MethodBody.cs
- AlignmentXValidation.cs
- ReflectionUtil.cs
- PersonalizableTypeEntry.cs
- NetCodeGroup.cs
- DatatypeImplementation.cs
- DeferrableContentConverter.cs
- ButtonBaseAutomationPeer.cs
- SQLChars.cs
- SvcMapFile.cs
- EllipseGeometry.cs
- DocumentGridPage.cs
- UnsafeNativeMethods.cs
- ExtractCollection.cs
- InvariantComparer.cs
- EventMappingSettings.cs
- KeyBinding.cs
- AndCondition.cs
- StartUpEventArgs.cs
- RuleSet.cs
- Attributes.cs
- ResXResourceWriter.cs
- MessageSecurityOverTcpElement.cs
- Vector3DCollectionConverter.cs
- AspNetHostingPermission.cs
- ExpressionBinding.cs
- BitmapEffectInput.cs
- TreeNode.cs
- ServiceHttpHandlerFactory.cs
- TextSelectionHighlightLayer.cs
- MessageDroppedTraceRecord.cs
- RtfToXamlReader.cs
- Span.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- ValidationEventArgs.cs
- TraceListeners.cs
- ProfileGroupSettings.cs
- Vector3D.cs
- SiteOfOriginPart.cs
- ReferencedAssembly.cs
- PropertyIdentifier.cs
- BooleanExpr.cs
- RoutedCommand.cs
- ExpressionNode.cs
- ErrorRuntimeConfig.cs
- File.cs
- HandleInitializationContext.cs
- RegexGroupCollection.cs
- Reference.cs
- InputBuffer.cs
- SetIndexBinder.cs
- ECDsaCng.cs
- JavaScriptObjectDeserializer.cs
- CheckBoxField.cs
- X509Chain.cs
- Message.cs
- CharacterHit.cs
- ColumnMapProcessor.cs
- documentsequencetextpointer.cs
- SchemaObjectWriter.cs
- ParserOptions.cs
- ListViewInsertedEventArgs.cs
- GeometryCollection.cs
- ExtenderProvidedPropertyAttribute.cs
- AdPostCacheSubstitution.cs
- ListCommandEventArgs.cs
- SvcMapFileSerializer.cs
- BorderSidesEditor.cs
- TemplateKeyConverter.cs
- StylusButtonEventArgs.cs
- DataGridViewColumn.cs
- Rect3D.cs