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
- TextFormatterContext.cs
- EntityContainerAssociationSet.cs
- GroupQuery.cs
- ByteStorage.cs
- CodeNamespaceCollection.cs
- TypeConverterHelper.cs
- HashHelper.cs
- QueryStatement.cs
- ZoneIdentityPermission.cs
- XmlSortKey.cs
- parserscommon.cs
- StylusPointPropertyInfoDefaults.cs
- XmlSchema.cs
- EventDriven.cs
- ZoneIdentityPermission.cs
- SRGSCompiler.cs
- WindowCollection.cs
- ClientSideProviderDescription.cs
- ShimAsPublicXamlType.cs
- XmlIterators.cs
- Rule.cs
- WebReferencesBuildProvider.cs
- XamlFigureLengthSerializer.cs
- ContractInferenceHelper.cs
- ImageMetadata.cs
- DataPagerFieldCommandEventArgs.cs
- WebControl.cs
- FileUtil.cs
- AccessedThroughPropertyAttribute.cs
- XPathNavigatorKeyComparer.cs
- ArraySet.cs
- RectAnimationBase.cs
- PropertyPathWorker.cs
- MdImport.cs
- DirectoryObjectSecurity.cs
- EmptyCollection.cs
- WpfXamlMember.cs
- XamlStream.cs
- FormsAuthenticationCredentials.cs
- LoadWorkflowByKeyAsyncResult.cs
- StructureChangedEventArgs.cs
- MenuItemStyleCollection.cs
- IProvider.cs
- XamlUtilities.cs
- TextEffect.cs
- RecordsAffectedEventArgs.cs
- ItemContainerGenerator.cs
- BaseCodeDomTreeGenerator.cs
- DataGridViewHeaderCell.cs
- MethodExecutor.cs
- SecurityDescriptor.cs
- CounterCreationData.cs
- PageSettings.cs
- PhysicalAddress.cs
- ReaderContextStackData.cs
- StorageConditionPropertyMapping.cs
- FileDialog_Vista.cs
- WindowsPen.cs
- FreeFormDesigner.cs
- CultureNotFoundException.cs
- PropertyChangeTracker.cs
- RC2.cs
- MultiByteCodec.cs
- PageSetupDialog.cs
- TypeUsage.cs
- ViewManager.cs
- NonClientArea.cs
- DragStartedEventArgs.cs
- entitydatasourceentitysetnameconverter.cs
- ChannelParameterCollection.cs
- WpfGeneratedKnownProperties.cs
- WorkerRequest.cs
- DocumentXmlWriter.cs
- LogExtentCollection.cs
- SqlServices.cs
- RegexReplacement.cs
- securitycriticaldata.cs
- MetadataCache.cs
- SecurityContext.cs
- BookmarkList.cs
- ListViewItemSelectionChangedEvent.cs
- Geometry3D.cs
- LiteralControl.cs
- BitmapEffectGroup.cs
- NamespaceExpr.cs
- SequentialOutput.cs
- CodeGenHelper.cs
- CommandLibraryHelper.cs
- TransformerInfoCollection.cs
- TextBoxView.cs
- DetailsViewDeleteEventArgs.cs
- StaticContext.cs
- ClientProxyGenerator.cs
- IdentifierService.cs
- ExtenderHelpers.cs
- UnhandledExceptionEventArgs.cs
- RelatedEnd.cs
- Merger.cs
- DataTableCollection.cs
- BitmapMetadataEnumerator.cs