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
- ErrorRuntimeConfig.cs
- BulletDecorator.cs
- AspNetHostingPermission.cs
- ElasticEase.cs
- Certificate.cs
- SqlRewriteScalarSubqueries.cs
- ScriptRef.cs
- WindowsListViewItemCheckBox.cs
- TransformBlockRequest.cs
- IUnknownConstantAttribute.cs
- AdPostCacheSubstitution.cs
- CorrelationRequestContext.cs
- DataFormats.cs
- ToolBarButton.cs
- RequestSecurityToken.cs
- ToolZone.cs
- AesManaged.cs
- ParseHttpDate.cs
- FrameworkObject.cs
- CodeMemberProperty.cs
- LogReserveAndAppendState.cs
- XmlDocumentFragment.cs
- SubclassTypeValidatorAttribute.cs
- KeyConverter.cs
- CompositeCollectionView.cs
- SiteMap.cs
- ListViewGroupItemCollection.cs
- HyperLinkStyle.cs
- BevelBitmapEffect.cs
- SortKey.cs
- DataGridViewHitTestInfo.cs
- Int16KeyFrameCollection.cs
- ProcessThread.cs
- SecurityDescriptor.cs
- ProcessManager.cs
- DrawingAttributes.cs
- ItemCheckedEvent.cs
- LocatorManager.cs
- HttpDictionary.cs
- LocatorBase.cs
- IIS7UserPrincipal.cs
- ActivityCodeDomReferenceService.cs
- SamlDelegatingWriter.cs
- Compiler.cs
- SecurityTokenAttachmentMode.cs
- XmlNodeWriter.cs
- SimpleMailWebEventProvider.cs
- TextElementAutomationPeer.cs
- ParenthesizePropertyNameAttribute.cs
- EventLogEntryCollection.cs
- _TLSstream.cs
- DocumentGrid.cs
- TypeResolvingOptionsAttribute.cs
- InstalledFontCollection.cs
- ContentValidator.cs
- PeerService.cs
- CollectionEditor.cs
- Inflater.cs
- EntitySqlQueryCacheEntry.cs
- Win32Exception.cs
- DocumentViewerBaseAutomationPeer.cs
- Relationship.cs
- XMLDiffLoader.cs
- ConfigurationErrorsException.cs
- UmAlQuraCalendar.cs
- ControlsConfig.cs
- XmlElementCollection.cs
- DataTableReader.cs
- ButtonBase.cs
- Vector3DKeyFrameCollection.cs
- ISAPIApplicationHost.cs
- DefaultTextStoreTextComposition.cs
- TextEndOfSegment.cs
- ItemsPanelTemplate.cs
- ObjectContextServiceProvider.cs
- Variable.cs
- SchemaManager.cs
- AssemblyAttributes.cs
- XsltArgumentList.cs
- precedingsibling.cs
- UserControlBuildProvider.cs
- PropertyPathConverter.cs
- FileSystemEventArgs.cs
- Attributes.cs
- MatrixConverter.cs
- WebPartConnectionsConfigureVerb.cs
- StopStoryboard.cs
- ColorKeyFrameCollection.cs
- VisualStateGroup.cs
- Pair.cs
- IdentityHolder.cs
- RegexWriter.cs
- TextTreeObjectNode.cs
- WebPartZone.cs
- AudioException.cs
- TableLayoutSettingsTypeConverter.cs
- Listbox.cs
- sqlinternaltransaction.cs
- ClientSettingsProvider.cs
- ProfilePropertyNameValidator.cs