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
- UnsafeNativeMethods.cs
- ListItemsCollectionEditor.cs
- HwndStylusInputProvider.cs
- ExpressionBindings.cs
- ViewBase.cs
- prompt.cs
- ProfileGroupSettingsCollection.cs
- MethodBuilder.cs
- ChangePassword.cs
- AndAlso.cs
- NavigationWindow.cs
- Point3DIndependentAnimationStorage.cs
- AutomationIdentifier.cs
- TreeWalkHelper.cs
- CompensateDesigner.cs
- NativeMethodsOther.cs
- CustomError.cs
- BindUriHelper.cs
- WmlListAdapter.cs
- ReflectPropertyDescriptor.cs
- DynamicValidatorEventArgs.cs
- ObjectView.cs
- ButtonFlatAdapter.cs
- XPathDocumentNavigator.cs
- SqlNotificationRequest.cs
- FieldReference.cs
- DeferredTextReference.cs
- comcontractssection.cs
- WebServiceClientProxyGenerator.cs
- ClientSettingsStore.cs
- BaseTemplateBuildProvider.cs
- CodeTypeParameterCollection.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- ListSourceHelper.cs
- ListCollectionView.cs
- EventLogPermissionHolder.cs
- SecurityRuntime.cs
- ObjectTag.cs
- DocumentPage.cs
- XhtmlBasicValidatorAdapter.cs
- NameValueFileSectionHandler.cs
- MsmqInputChannelListenerBase.cs
- ExpressionConverter.cs
- StateDesigner.Helpers.cs
- TextEndOfLine.cs
- BlockCollection.cs
- SapiRecoContext.cs
- BreakRecordTable.cs
- ImageList.cs
- GlyphingCache.cs
- SamlAttributeStatement.cs
- InvokeBinder.cs
- ResetableIterator.cs
- X509CertificateValidator.cs
- DbQueryCommandTree.cs
- ObjectReaderCompiler.cs
- StatusBar.cs
- Span.cs
- FormViewDesigner.cs
- FullTextLine.cs
- TagPrefixInfo.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- FrameworkElement.cs
- PropertyFilter.cs
- StrokeNodeOperations2.cs
- RuntimeHandles.cs
- ListViewDeleteEventArgs.cs
- filewebrequest.cs
- XXXInfos.cs
- DataGridColumnCollection.cs
- AppDomainProtocolHandler.cs
- ListSourceHelper.cs
- LinqDataSource.cs
- ProviderUtil.cs
- mediaeventargs.cs
- QueryCacheManager.cs
- WindowsSolidBrush.cs
- UIElementCollection.cs
- TrustLevel.cs
- MarkupProperty.cs
- ParameterCollection.cs
- DataGridCellClipboardEventArgs.cs
- ImageListDesigner.cs
- ImportedNamespaceContextItem.cs
- MessagePropertyFilter.cs
- StatusBar.cs
- CompoundFileReference.cs
- WebEvents.cs
- MessagingDescriptionAttribute.cs
- SQLRoleProvider.cs
- CodeNamespaceImportCollection.cs
- StreamReader.cs
- AdvancedBindingPropertyDescriptor.cs
- UxThemeWrapper.cs
- EntityReference.cs
- WebDescriptionAttribute.cs
- ZipIOCentralDirectoryFileHeader.cs
- Geometry.cs
- PropertyItemInternal.cs
- Soap12ProtocolImporter.cs