Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / EncryptedKeyHashIdentifierClause.cs / 1 / EncryptedKeyHashIdentifierClause.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Security { using System.Globalization; using System.ServiceModel; using System.IdentityModel.Tokens; sealed class EncryptedKeyHashIdentifierClause : BinaryKeyIdentifierClause { public EncryptedKeyHashIdentifierClause(byte[] encryptedKeyHash) : this(encryptedKeyHash, true) { } internal EncryptedKeyHashIdentifierClause(byte[] encryptedKeyHash, bool cloneBuffer) : this(encryptedKeyHash, cloneBuffer, null, 0) { } internal EncryptedKeyHashIdentifierClause(byte[] encryptedKeyHash, bool cloneBuffer, byte[] derivationNonce, int derivationLength) : base(null, encryptedKeyHash, cloneBuffer, derivationNonce, derivationLength) { } public byte[] GetEncryptedKeyHash() { return GetBuffer(); } public override string ToString() { return string.Format(CultureInfo.InvariantCulture, "EncryptedKeyHashIdentifierClause(Hash = {0})", Convert.ToBase64String(GetRawBuffer())); } } } // 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
- RoleService.cs
- AccessibleObject.cs
- ArcSegment.cs
- CodeMethodInvokeExpression.cs
- XamlFigureLengthSerializer.cs
- CharacterString.cs
- BatchServiceHost.cs
- ResourceDefaultValueAttribute.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Delegate.cs
- AssociationSetMetadata.cs
- ColorAnimationBase.cs
- Triangle.cs
- documentsequencetextcontainer.cs
- CaretElement.cs
- EntityDataSourceState.cs
- GenericEnumConverter.cs
- FilterableAttribute.cs
- ExpandableObjectConverter.cs
- VideoDrawing.cs
- MobileControlsSection.cs
- objectquery_tresulttype.cs
- MetafileHeader.cs
- CompilerErrorCollection.cs
- RawStylusInputCustomDataList.cs
- RoutedPropertyChangedEventArgs.cs
- DynamicRouteExpression.cs
- ErrorFormatter.cs
- RemotingAttributes.cs
- BlurEffect.cs
- MailFileEditor.cs
- Processor.cs
- COM2Properties.cs
- SqlClientPermission.cs
- NonParentingControl.cs
- KeyboardNavigation.cs
- FontSource.cs
- ObservableCollectionDefaultValueFactory.cs
- XmlIlVisitor.cs
- Directory.cs
- ActivationArguments.cs
- HostingPreferredMapPath.cs
- ToolStripLocationCancelEventArgs.cs
- TabItem.cs
- HistoryEventArgs.cs
- SqlProcedureAttribute.cs
- KoreanCalendar.cs
- MD5.cs
- TypedTableBase.cs
- ContainerSelectorActiveEvent.cs
- DbProviderFactories.cs
- KnownColorTable.cs
- AttributeAction.cs
- UIElementHelper.cs
- JsonDataContract.cs
- SelfIssuedSamlTokenFactory.cs
- TextComposition.cs
- DependencyObjectPropertyDescriptor.cs
- EventManager.cs
- RuleElement.cs
- WizardStepBase.cs
- AddInEnvironment.cs
- httpapplicationstate.cs
- SqlClientMetaDataCollectionNames.cs
- HttpModuleAction.cs
- IndexedGlyphRun.cs
- DrawingBrush.cs
- LicenseManager.cs
- TextTreeObjectNode.cs
- TableStyle.cs
- ADMembershipUser.cs
- ServicePointManagerElement.cs
- SoapHeaderException.cs
- OutputScope.cs
- HostExecutionContextManager.cs
- ControlEvent.cs
- CfgArc.cs
- FileChangesMonitor.cs
- SelectedDatesCollection.cs
- CodeArrayIndexerExpression.cs
- indexingfiltermarshaler.cs
- GPPOINTF.cs
- DebuggerAttributes.cs
- HtmlEmptyTagControlBuilder.cs
- AttachedPropertyBrowsableAttribute.cs
- XmlCompatibilityReader.cs
- MainMenu.cs
- RawAppCommandInputReport.cs
- XamlPathDataSerializer.cs
- OutOfProcStateClientManager.cs
- BitmapEffectvisualstate.cs
- WebBrowserContainer.cs
- HttpModuleActionCollection.cs
- CriticalFinalizerObject.cs
- DataGridViewRowCollection.cs
- DataBinding.cs
- FileDialog.cs
- ListMarkerSourceInfo.cs
- GreenMethods.cs
- CatalogZoneDesigner.cs