Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / infocard / Client / System / IdentityModel / Selectors / ProofTokenCryptoHandle.cs / 1305376 / ProofTokenCryptoHandle.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.IdentityModel.Selectors { using System; using System.Runtime.InteropServices; using System.Threading; using IDT=Microsoft.InfoCards.Diagnostics.InfoCardTrace; // // Summary: // InfoCardProofTokens can be created from this kind of CryptoHandle. // internal abstract class ProofTokenCryptoHandle : CryptoHandle { protected ProofTokenCryptoHandle( InternalRefCountedHandle nativeHandle, DateTime expiration, IntPtr nativeParameters, Type paramType ) : base( nativeHandle, expiration, nativeParameters, paramType ) { } protected ProofTokenCryptoHandle( InternalRefCountedHandle internalHandle ) : base( internalHandle ) {} // // Summary: // Creates a new InfoCardProofToken from the underlying CryptoHandle. // public InfoCardProofToken CreateProofToken() { ThrowIfDisposed(); return OnCreateProofToken(); } // // Summary: // Allows subclasses to create their particular proof token. // protected abstract InfoCardProofToken OnCreateProofToken(); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.IdentityModel.Selectors { using System; using System.Runtime.InteropServices; using System.Threading; using IDT=Microsoft.InfoCards.Diagnostics.InfoCardTrace; // // Summary: // InfoCardProofTokens can be created from this kind of CryptoHandle. // internal abstract class ProofTokenCryptoHandle : CryptoHandle { protected ProofTokenCryptoHandle( InternalRefCountedHandle nativeHandle, DateTime expiration, IntPtr nativeParameters, Type paramType ) : base( nativeHandle, expiration, nativeParameters, paramType ) { } protected ProofTokenCryptoHandle( InternalRefCountedHandle internalHandle ) : base( internalHandle ) {} // // Summary: // Creates a new InfoCardProofToken from the underlying CryptoHandle. // public InfoCardProofToken CreateProofToken() { ThrowIfDisposed(); return OnCreateProofToken(); } // // Summary: // Allows subclasses to create their particular proof token. // protected abstract InfoCardProofToken OnCreateProofToken(); } } // 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
- LineMetrics.cs
- DelayLoadType.cs
- Rules.cs
- ThaiBuddhistCalendar.cs
- DbDataReader.cs
- ThreadSafeList.cs
- MultiBindingExpression.cs
- ElementAtQueryOperator.cs
- ExcludeFromCodeCoverageAttribute.cs
- Scene3D.cs
- TemplateBindingExtensionConverter.cs
- AccessControlEntry.cs
- ExtensibleClassFactory.cs
- TrackingProvider.cs
- GroupItemAutomationPeer.cs
- RemoveFromCollection.cs
- PhysicalAddress.cs
- PackUriHelper.cs
- HtmlFormParameterReader.cs
- Query.cs
- EndpointPerformanceCounters.cs
- MulticastDelegate.cs
- Vars.cs
- Documentation.cs
- HttpRequest.cs
- XmlRawWriter.cs
- MarginsConverter.cs
- TypePresenter.xaml.cs
- TransformedBitmap.cs
- RowToParametersTransformer.cs
- PersistChildrenAttribute.cs
- ObjectMemberMapping.cs
- TextViewSelectionProcessor.cs
- UserControlFileEditor.cs
- StoreItemCollection.Loader.cs
- TypeExtension.cs
- PageBreakRecord.cs
- ProfileInfo.cs
- FormClosedEvent.cs
- RuntimeConfigLKG.cs
- OptimalBreakSession.cs
- XsltLoader.cs
- PolyQuadraticBezierSegment.cs
- SchemaInfo.cs
- Utils.cs
- ListViewSelectEventArgs.cs
- Nodes.cs
- ExpressionBuilderContext.cs
- SourceFilter.cs
- TagPrefixCollection.cs
- UnsafeNativeMethodsTablet.cs
- XhtmlBasicFormAdapter.cs
- TextAutomationPeer.cs
- CodeChecksumPragma.cs
- DataGridViewCellFormattingEventArgs.cs
- SortedDictionary.cs
- WhileDesigner.cs
- XmlNamespaceMapping.cs
- PathSegment.cs
- FrameworkElement.cs
- WindowsMenu.cs
- WebPartConnectionsCancelEventArgs.cs
- ToolStripDropDownButton.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- BindingOperations.cs
- ChangeBlockUndoRecord.cs
- ErrorEventArgs.cs
- FormsAuthentication.cs
- CodeParameterDeclarationExpression.cs
- MinimizableAttributeTypeConverter.cs
- SpotLight.cs
- UserNameSecurityTokenAuthenticator.cs
- Size.cs
- EntityParameterCollection.cs
- SiteMapNodeCollection.cs
- ConfigPathUtility.cs
- ListViewAutomationPeer.cs
- TemplateXamlParser.cs
- ObfuscationAttribute.cs
- ConfigXmlComment.cs
- log.cs
- WindowsBrush.cs
- StdValidatorsAndConverters.cs
- DataGridViewAdvancedBorderStyle.cs
- LogWriteRestartAreaAsyncResult.cs
- AssociationTypeEmitter.cs
- WebControlsSection.cs
- XmlILTrace.cs
- SecurityDescriptor.cs
- XmlTextReader.cs
- DataError.cs
- IList.cs
- WebControlAdapter.cs
- PrintPageEvent.cs
- InternalPermissions.cs
- TlsnegoTokenAuthenticator.cs
- SequenceFullException.cs
- FormsAuthenticationEventArgs.cs
- CacheHelper.cs
- _ScatterGatherBuffers.cs