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
- XmlReturnReader.cs
- DataTableNewRowEvent.cs
- metrodevice.cs
- BuiltInExpr.cs
- MailAddressCollection.cs
- Row.cs
- XmlArrayItemAttributes.cs
- RoutedEvent.cs
- CalendarDay.cs
- EventToken.cs
- Sequence.cs
- _IPv6Address.cs
- ControlIdConverter.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- UnknownBitmapEncoder.cs
- AsymmetricSignatureDeformatter.cs
- ConfigErrorGlyph.cs
- BindToObject.cs
- ScriptControlDescriptor.cs
- EasingQuaternionKeyFrame.cs
- FrameworkObject.cs
- messageonlyhwndwrapper.cs
- DocumentOrderQuery.cs
- Number.cs
- MemberRelationshipService.cs
- Crc32.cs
- DockingAttribute.cs
- ServicePointManagerElement.cs
- CollectionConverter.cs
- List.cs
- InvokeBinder.cs
- ProtocolsConfigurationHandler.cs
- WaitHandle.cs
- TreeNodeStyle.cs
- GradientStopCollection.cs
- HttpPostProtocolReflector.cs
- TemplateManager.cs
- LogEntrySerializationException.cs
- ObjectStateEntryDbDataRecord.cs
- GeometryCollection.cs
- UnsafeNetInfoNativeMethods.cs
- ApplicationException.cs
- InstanceNotReadyException.cs
- CollectionBuilder.cs
- ServicesUtilities.cs
- Condition.cs
- SystemIPInterfaceProperties.cs
- SeekStoryboard.cs
- CodeParameterDeclarationExpression.cs
- Image.cs
- SessionParameter.cs
- BasePropertyDescriptor.cs
- KeyboardDevice.cs
- PlainXmlWriter.cs
- ConnectionPoolManager.cs
- MemberAssignmentAnalysis.cs
- SemanticBasicElement.cs
- LongValidator.cs
- AuthenticationService.cs
- AnimationTimeline.cs
- ServerType.cs
- ModifierKeysValueSerializer.cs
- WebPartCatalogCloseVerb.cs
- ExecutionContext.cs
- RegistryDataKey.cs
- GradientSpreadMethodValidation.cs
- NumericUpDownAcceleration.cs
- StringUtil.cs
- CompositeFontFamily.cs
- BaseResourcesBuildProvider.cs
- PropertyChangedEventArgs.cs
- TransactionChannelFactory.cs
- BinaryNode.cs
- QilScopedVisitor.cs
- ConditionalWeakTable.cs
- PersonalizationProvider.cs
- IgnoreFlushAndCloseStream.cs
- TemplateControlParser.cs
- FormattedTextSymbols.cs
- MemoryFailPoint.cs
- AutomationPropertyChangedEventArgs.cs
- EventLogEntryCollection.cs
- OdbcConnectionOpen.cs
- WebServiceEndpoint.cs
- EnumValidator.cs
- DiscoveryClientChannelFactory.cs
- ShaderEffect.cs
- DependentList.cs
- XmlDataDocument.cs
- Run.cs
- TableCellCollection.cs
- MetadataWorkspace.cs
- StorageInfo.cs
- ForwardPositionQuery.cs
- DataFieldEditor.cs
- BufferedGraphicsContext.cs
- NameValueSectionHandler.cs
- SqlCaseSimplifier.cs
- List.cs
- Ops.cs