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
- PersonalizableTypeEntry.cs
- RowVisual.cs
- SignatureHelper.cs
- QueryOptionExpression.cs
- WebPartZoneCollection.cs
- WebScriptEndpointElement.cs
- FixedPageStructure.cs
- MediaContextNotificationWindow.cs
- PackagingUtilities.cs
- SystemInfo.cs
- SizeAnimation.cs
- unitconverter.cs
- ExecutionEngineException.cs
- CodeIterationStatement.cs
- IriParsingElement.cs
- TypeLoadException.cs
- TextElementEditingBehaviorAttribute.cs
- VarRemapper.cs
- BuildProviderCollection.cs
- RelationshipFixer.cs
- ToolStripItemGlyph.cs
- CompareValidator.cs
- ChtmlMobileTextWriter.cs
- Point3DAnimation.cs
- OdbcUtils.cs
- BitmapEffectGeneralTransform.cs
- BaseTemplateBuildProvider.cs
- Literal.cs
- WebPartZone.cs
- ActivationServices.cs
- OutOfProcStateClientManager.cs
- TimelineClockCollection.cs
- TracePayload.cs
- BitmapScalingModeValidation.cs
- RouteItem.cs
- MergeFilterQuery.cs
- PageCatalogPart.cs
- regiisutil.cs
- CookieParameter.cs
- PropertyCondition.cs
- Menu.cs
- CharacterBufferReference.cs
- SequenceRangeCollection.cs
- HttpContextWrapper.cs
- QuaternionAnimationBase.cs
- TypeConverter.cs
- CompoundFileStorageReference.cs
- InstanceLockQueryResult.cs
- ElementHostPropertyMap.cs
- PassportAuthentication.cs
- _AutoWebProxyScriptWrapper.cs
- XmlSchemaObject.cs
- FormParameter.cs
- XmlHierarchicalDataSourceView.cs
- PointValueSerializer.cs
- RenderOptions.cs
- JumpTask.cs
- MediaTimeline.cs
- AdjustableArrowCap.cs
- AnnotationDocumentPaginator.cs
- MatchingStyle.cs
- BindingOperations.cs
- CharacterString.cs
- MembershipValidatePasswordEventArgs.cs
- CreatingCookieEventArgs.cs
- FactoryGenerator.cs
- TransformDescriptor.cs
- ConfigurationFileMap.cs
- DragDeltaEventArgs.cs
- DictionarySectionHandler.cs
- ContextDataSourceContextData.cs
- GregorianCalendarHelper.cs
- XmlReaderSettings.cs
- DelegateSerializationHolder.cs
- QuadraticBezierSegment.cs
- MD5.cs
- ContextConfiguration.cs
- TabletDeviceInfo.cs
- ColumnWidthChangedEvent.cs
- Point3D.cs
- InputQueueChannelAcceptor.cs
- ReferencedCollectionType.cs
- TickBar.cs
- TableLayoutSettingsTypeConverter.cs
- BooleanSwitch.cs
- XmlMemberMapping.cs
- GreenMethods.cs
- AutoResizedEvent.cs
- ImportedNamespaceContextItem.cs
- LiteralControl.cs
- FormsAuthenticationUser.cs
- _AcceptOverlappedAsyncResult.cs
- UriSection.cs
- BindingNavigatorDesigner.cs
- ValidatorCollection.cs
- MimeFormReflector.cs
- UnhandledExceptionEventArgs.cs
- StateWorkerRequest.cs
- SyndicationElementExtensionCollection.cs
- KeySpline.cs