Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / IdentityModel / System / IdentityModel / Tokens / KerberosTicketHashIdentifierClause.cs / 1305376 / KerberosTicketHashIdentifierClause.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.IdentityModel.Tokens { using System.Globalization; public sealed class KerberosTicketHashKeyIdentifierClause : BinaryKeyIdentifierClause { public KerberosTicketHashKeyIdentifierClause(byte[] ticketHash) : this(ticketHash, null, 0) { } public KerberosTicketHashKeyIdentifierClause(byte[] ticketHash, byte[] derivationNonce, int derivationLength) : this(ticketHash, true, derivationNonce, derivationLength) { } internal KerberosTicketHashKeyIdentifierClause(byte[] ticketHash, bool cloneBuffer, byte[] derivationNonce, int derivationLength) : base(null, ticketHash, cloneBuffer, derivationNonce, derivationLength) { } public byte[] GetKerberosTicketHash() { return GetBuffer(); } public override string ToString() { return string.Format(CultureInfo.InvariantCulture, "KerberosTicketHashKeyIdentifierClause(Hash = {0})", ToBase64String()); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.IdentityModel.Tokens { using System.Globalization; public sealed class KerberosTicketHashKeyIdentifierClause : BinaryKeyIdentifierClause { public KerberosTicketHashKeyIdentifierClause(byte[] ticketHash) : this(ticketHash, null, 0) { } public KerberosTicketHashKeyIdentifierClause(byte[] ticketHash, byte[] derivationNonce, int derivationLength) : this(ticketHash, true, derivationNonce, derivationLength) { } internal KerberosTicketHashKeyIdentifierClause(byte[] ticketHash, bool cloneBuffer, byte[] derivationNonce, int derivationLength) : base(null, ticketHash, cloneBuffer, derivationNonce, derivationLength) { } public byte[] GetKerberosTicketHash() { return GetBuffer(); } public override string ToString() { return string.Format(CultureInfo.InvariantCulture, "KerberosTicketHashKeyIdentifierClause(Hash = {0})", ToBase64String()); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AutomationIdentifier.cs
- NumericUpDownAccelerationCollection.cs
- IfAction.cs
- FontFamilyValueSerializer.cs
- EventMappingSettings.cs
- ColorBlend.cs
- WebPartAuthorizationEventArgs.cs
- datacache.cs
- GC.cs
- DBConnection.cs
- CodeParameterDeclarationExpressionCollection.cs
- Menu.cs
- WrappedIUnknown.cs
- CultureInfo.cs
- ScriptRef.cs
- TreeNodeConverter.cs
- CollectionViewGroup.cs
- GlobalDataBindingHandler.cs
- PocoPropertyAccessorStrategy.cs
- PerspectiveCamera.cs
- AdRotatorDesigner.cs
- PreviewPageInfo.cs
- WebPartUserCapability.cs
- DataGridViewColumnEventArgs.cs
- InArgument.cs
- Journal.cs
- IdentifierElement.cs
- GridItem.cs
- WebControlParameterProxy.cs
- HttpFileCollection.cs
- FixedHyperLink.cs
- DbInsertCommandTree.cs
- SolidColorBrush.cs
- XmlElementList.cs
- TableCell.cs
- GraphicsPathIterator.cs
- StackOverflowException.cs
- MetaTable.cs
- Point3DCollectionConverter.cs
- UIHelper.cs
- figurelength.cs
- BindingMemberInfo.cs
- OleDbError.cs
- MenuItemCollection.cs
- ConnectionManagementElementCollection.cs
- ErrorsHelper.cs
- AssemblyHash.cs
- EmptyControlCollection.cs
- VScrollBar.cs
- IndicShape.cs
- Relationship.cs
- MemoryFailPoint.cs
- WarningException.cs
- RootNamespaceAttribute.cs
- ComPlusTypeLoader.cs
- BuildResult.cs
- EventSourceCreationData.cs
- HwndHostAutomationPeer.cs
- OdbcParameterCollection.cs
- Win32.cs
- Model3DGroup.cs
- WebServiceMethodData.cs
- DefaultSettingsSection.cs
- DataSourceGeneratorException.cs
- OrderingInfo.cs
- StrokeNodeData.cs
- OleDbConnection.cs
- ControlHelper.cs
- Soap.cs
- DashStyle.cs
- PropertyCondition.cs
- SqlProcedureAttribute.cs
- XmlEntityReference.cs
- IsolatedStorageFilePermission.cs
- MeasureItemEvent.cs
- HealthMonitoringSection.cs
- HttpRawResponse.cs
- MissingMemberException.cs
- HtmlInputSubmit.cs
- ExtenderProvidedPropertyAttribute.cs
- EventMappingSettingsCollection.cs
- LoginDesigner.cs
- TraceSource.cs
- HtmlInputReset.cs
- ScriptServiceAttribute.cs
- DataGridViewControlCollection.cs
- UnSafeCharBuffer.cs
- PeerDuplexChannel.cs
- PolygonHotSpot.cs
- ParameterReplacerVisitor.cs
- TextEncodedRawTextWriter.cs
- EmbeddedObject.cs
- PersonalizationState.cs
- CalendarDataBindingHandler.cs
- StrongNamePublicKeyBlob.cs
- DateTimeUtil.cs
- ProgressBar.cs
- AnnotationComponentChooser.cs
- SQLDateTime.cs
- RightsManagementEncryptedStream.cs