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
- DescriptionAttribute.cs
- Processor.cs
- ExpressionWriter.cs
- QuaternionAnimation.cs
- OneOfElement.cs
- ActivityInfo.cs
- WeakRefEnumerator.cs
- CodeDirectoryCompiler.cs
- SafeNativeMethods.cs
- RuntimeWrappedException.cs
- LockedHandleGlyph.cs
- WorkflowPersistenceContext.cs
- BooleanConverter.cs
- DesignRelation.cs
- HttpException.cs
- CallSite.cs
- XmlNodeReader.cs
- BinarySecretKeyIdentifierClause.cs
- QilScopedVisitor.cs
- BoundPropertyEntry.cs
- CustomLineCap.cs
- _ProxyRegBlob.cs
- Highlights.cs
- CodeDomExtensionMethods.cs
- KeyTime.cs
- WebPartDisplayModeEventArgs.cs
- SettingsSection.cs
- _TimerThread.cs
- WebDisplayNameAttribute.cs
- FilteredAttributeCollection.cs
- LineSegment.cs
- DataBindingCollection.cs
- DebugController.cs
- XmlAttribute.cs
- FontCacheUtil.cs
- UnsafeNativeMethods.cs
- AppSettingsSection.cs
- PropertyValidationContext.cs
- DeviceContext.cs
- IDispatchConstantAttribute.cs
- WinInetCache.cs
- IFormattable.cs
- BooleanConverter.cs
- ExternalCalls.cs
- MasterPageCodeDomTreeGenerator.cs
- PassportAuthenticationModule.cs
- RoleService.cs
- Group.cs
- WbmpConverter.cs
- DialogResultConverter.cs
- PageSetupDialog.cs
- RegexRunnerFactory.cs
- PersonalizationDictionary.cs
- StrongNameUtility.cs
- BrowserDefinitionCollection.cs
- XmlSortKeyAccumulator.cs
- SessionStateSection.cs
- Drawing.cs
- Rule.cs
- ProcessModuleDesigner.cs
- Glyph.cs
- SHA256Managed.cs
- CapabilitiesUse.cs
- WebPartConnectionsConfigureVerb.cs
- QueryStringParameter.cs
- SqlParameterCollection.cs
- PropertyGridEditorPart.cs
- CompilerWrapper.cs
- SqlParameterizer.cs
- RadioButtonAutomationPeer.cs
- Line.cs
- RegionInfo.cs
- XmlSchemaComplexContent.cs
- SourceFileInfo.cs
- DelimitedListTraceListener.cs
- SqlResolver.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- RuntimeConfig.cs
- UnsafeNativeMethods.cs
- StandardTransformFactory.cs
- XmlHierarchyData.cs
- SignatureHelper.cs
- RowCache.cs
- ISAPIRuntime.cs
- ListenerAdapter.cs
- MobileComponentEditorPage.cs
- MarkupWriter.cs
- CryptoHandle.cs
- StateRuntime.cs
- LineVisual.cs
- ListBox.cs
- DataBindingList.cs
- RegexMatchCollection.cs
- GeometryCollection.cs
- MailMessageEventArgs.cs
- SecureConversationServiceCredential.cs
- UserPreferenceChangedEventArgs.cs
- LookupBindingPropertiesAttribute.cs
- TypeDelegator.cs
- HtmlInputCheckBox.cs