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
- QuaternionAnimation.cs
- DataGridViewUtilities.cs
- CopyCodeAction.cs
- WSTrustFeb2005.cs
- ServiceObjectContainer.cs
- TaiwanLunisolarCalendar.cs
- ReadWriteObjectLock.cs
- CellPartitioner.cs
- OutputCacheSettings.cs
- SequenceNumber.cs
- MouseGestureValueSerializer.cs
- User.cs
- WebZone.cs
- ToolboxService.cs
- SkinIDTypeConverter.cs
- TextServicesDisplayAttributePropertyRanges.cs
- TreeViewAutomationPeer.cs
- ProcessInfo.cs
- IListConverters.cs
- XmlSchemaObject.cs
- SqlConnectionPoolProviderInfo.cs
- SerializationEventsCache.cs
- DataServiceRequest.cs
- ExpressionBindingsDialog.cs
- DataGridViewBindingCompleteEventArgs.cs
- HelpProvider.cs
- BuilderPropertyEntry.cs
- RegexTypeEditor.cs
- CodeTypeMember.cs
- LedgerEntryCollection.cs
- DisableDpiAwarenessAttribute.cs
- PkcsMisc.cs
- BackgroundFormatInfo.cs
- XmlDocumentType.cs
- SiblingIterators.cs
- LassoSelectionBehavior.cs
- FederatedMessageSecurityOverHttp.cs
- IsolatedStorageFileStream.cs
- X509SubjectKeyIdentifierClause.cs
- BaseCollection.cs
- Clock.cs
- ImageFormatConverter.cs
- ReferentialConstraint.cs
- SystemFonts.cs
- OleServicesContext.cs
- DataGridViewRowPrePaintEventArgs.cs
- MultiSelector.cs
- DeploymentSectionCache.cs
- ErrorHandler.cs
- HandlerFactoryWrapper.cs
- LogSwitch.cs
- ResourceProviderFactory.cs
- CodeAttributeArgument.cs
- WebSysDefaultValueAttribute.cs
- OwnerDrawPropertyBag.cs
- TransactionScope.cs
- SeekableMessageNavigator.cs
- BlurEffect.cs
- ComponentSerializationService.cs
- UserUseLicenseDictionaryLoader.cs
- PrintDialogDesigner.cs
- ContentPlaceHolder.cs
- FactoryGenerator.cs
- FullTrustAssembly.cs
- LowerCaseStringConverter.cs
- SqlRecordBuffer.cs
- XamlInt32CollectionSerializer.cs
- AdapterDictionary.cs
- ObjectConverter.cs
- PaintEvent.cs
- SimpleTextLine.cs
- ExpressionPrefixAttribute.cs
- ClientSettingsSection.cs
- WorkflowElementDialog.cs
- CompModSwitches.cs
- DataBinding.cs
- Rect3D.cs
- ServiceModelConfigurationSection.cs
- SaveFileDialogDesigner.cs
- XPathBinder.cs
- DetailsViewPageEventArgs.cs
- XamlSerializerUtil.cs
- WebPartZone.cs
- SuppressMergeCheckAttribute.cs
- RootBuilder.cs
- Encoder.cs
- WebPartCancelEventArgs.cs
- DataPagerFieldItem.cs
- XsdValidatingReader.cs
- ImageBrush.cs
- HashCodeCombiner.cs
- FlowDocumentPage.cs
- UIElementHelper.cs
- ComponentChangedEvent.cs
- LogLogRecord.cs
- RIPEMD160Managed.cs
- SequentialOutput.cs
- TemplateXamlParser.cs
- SpellerError.cs
- Vars.cs