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
- DocumentViewer.cs
- SchemaObjectWriter.cs
- LassoHelper.cs
- TableRow.cs
- SynchronousChannel.cs
- LoginView.cs
- TextElementEnumerator.cs
- BindingNavigator.cs
- ChannelManagerService.cs
- CapabilitiesAssignment.cs
- XmlWrappingReader.cs
- recordstatefactory.cs
- XmlEnumAttribute.cs
- NetNamedPipeBindingCollectionElement.cs
- TextDecoration.cs
- BitmapEncoder.cs
- PerformanceCounter.cs
- SQLMembershipProvider.cs
- SqlAggregateChecker.cs
- RangeBaseAutomationPeer.cs
- LingerOption.cs
- TranslateTransform3D.cs
- AuthenticodeSignatureInformation.cs
- XmlDownloadManager.cs
- OneWayChannelListener.cs
- StylusTip.cs
- MarshalByRefObject.cs
- NamedObject.cs
- BooleanExpr.cs
- Panel.cs
- AnnotationHighlightLayer.cs
- TextureBrush.cs
- XmlCodeExporter.cs
- FixedSOMImage.cs
- IntersectQueryOperator.cs
- X509Chain.cs
- _ShellExpression.cs
- Margins.cs
- SqlTransaction.cs
- compensatingcollection.cs
- MouseOverProperty.cs
- EditorZoneBase.cs
- MembershipUser.cs
- FileChangesMonitor.cs
- DispatcherHooks.cs
- InternalsVisibleToAttribute.cs
- XPathDocumentIterator.cs
- XmlCharacterData.cs
- SqlBinder.cs
- DataContractAttribute.cs
- IncrementalCompileAnalyzer.cs
- FileLogRecordHeader.cs
- EventBindingService.cs
- Slider.cs
- FixedDocumentPaginator.cs
- safelinkcollection.cs
- LineServicesCallbacks.cs
- x509utils.cs
- XmlSerializationWriter.cs
- PointLightBase.cs
- IdleTimeoutMonitor.cs
- FormsAuthenticationModule.cs
- TreeNodeSelectionProcessor.cs
- ConstantCheck.cs
- ToolboxComponentsCreatedEventArgs.cs
- BuildProviderInstallComponent.cs
- ModulesEntry.cs
- ErrorEventArgs.cs
- HijriCalendar.cs
- DesignColumnCollection.cs
- HtmlInputText.cs
- Dispatcher.cs
- StateBag.cs
- _NativeSSPI.cs
- TableTextElementCollectionInternal.cs
- EventLogTraceListener.cs
- RuleDefinitions.cs
- IndexedString.cs
- SafeLibraryHandle.cs
- HtmlInputImage.cs
- CorrelationTokenTypeConvertor.cs
- ServiceModelSecurityTokenTypes.cs
- GetImportFileNameRequest.cs
- InternalMappingException.cs
- LineSegment.cs
- WebPartDisplayMode.cs
- DesignerCalendarAdapter.cs
- PrivateFontCollection.cs
- ArrayConverter.cs
- AnonymousIdentificationSection.cs
- PackageDigitalSignature.cs
- StylusDownEventArgs.cs
- ByteStreamMessageEncoder.cs
- RepeatBehaviorConverter.cs
- WasAdminWrapper.cs
- SchemaEntity.cs
- PeerPresenceInfo.cs
- DeclarativeCatalogPartDesigner.cs
- AudioDeviceOut.cs
- NamespaceList.cs