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
- SatelliteContractVersionAttribute.cs
- TextAnchor.cs
- ImageIndexConverter.cs
- WarningException.cs
- propertyentry.cs
- PolicyUnit.cs
- Highlights.cs
- EncryptedReference.cs
- GcSettings.cs
- OverflowException.cs
- XslTransform.cs
- ContextStack.cs
- BoundField.cs
- FontUnit.cs
- ArgumentFixer.cs
- SoapEnumAttribute.cs
- cookiecontainer.cs
- DebugControllerThread.cs
- RequestCachingSection.cs
- AssemblyBuilder.cs
- Transform3D.cs
- ThreadNeutralSemaphore.cs
- StringWriter.cs
- DesignerAdRotatorAdapter.cs
- FixedSOMTableRow.cs
- ImageCollectionCodeDomSerializer.cs
- ItemCheckedEvent.cs
- ValidationRule.cs
- DesignerGeometryHelper.cs
- WhiteSpaceTrimStringConverter.cs
- MouseActionConverter.cs
- HelpKeywordAttribute.cs
- SqlTrackingService.cs
- TypeToken.cs
- smtpconnection.cs
- XmlCharCheckingReader.cs
- CodeMethodReturnStatement.cs
- DataServiceProviderMethods.cs
- Util.cs
- XPathDocumentIterator.cs
- BindingGraph.cs
- ClassGenerator.cs
- SoapAttributeAttribute.cs
- Base64WriteStateInfo.cs
- Error.cs
- BamlRecordWriter.cs
- GlobalProxySelection.cs
- ViewEventArgs.cs
- ZipIORawDataFileBlock.cs
- FileSystemEventArgs.cs
- ExtentJoinTreeNode.cs
- ObjectDataSourceFilteringEventArgs.cs
- ConsoleTraceListener.cs
- NonBatchDirectoryCompiler.cs
- TileBrush.cs
- RawStylusActions.cs
- TransformedBitmap.cs
- Condition.cs
- SHA1.cs
- HttpRequest.cs
- ElementAction.cs
- RenderDataDrawingContext.cs
- CustomServiceCredentials.cs
- XsdDateTime.cs
- ExpandableObjectConverter.cs
- Rect3DConverter.cs
- ElementFactory.cs
- DependsOnAttribute.cs
- SessionPageStateSection.cs
- XmlDataLoader.cs
- ItemList.cs
- MetaChildrenColumn.cs
- HandleCollector.cs
- __FastResourceComparer.cs
- OLEDB_Util.cs
- ExpressionList.cs
- DbConnectionInternal.cs
- CachedFontFace.cs
- FixUpCollection.cs
- XmlHierarchyData.cs
- unitconverter.cs
- CertificateReferenceElement.cs
- EventLogTraceListener.cs
- MaskedTextBoxTextEditor.cs
- UnSafeCharBuffer.cs
- Int32CollectionValueSerializer.cs
- WebPartConnectionCollection.cs
- AddInToken.cs
- InheritedPropertyDescriptor.cs
- TextBox.cs
- InputMethodStateTypeInfo.cs
- WindowsPrincipal.cs
- CodeNamespaceCollection.cs
- NetStream.cs
- HostProtectionPermission.cs
- FixedPageStructure.cs
- InfoCardProofToken.cs
- ViewStateException.cs
- UserValidatedEventArgs.cs
- FocusChangedEventArgs.cs