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
- ToolStripItem.cs
- ProgressBarRenderer.cs
- LicenseException.cs
- PolyLineSegment.cs
- LinearKeyFrames.cs
- QuerySetOp.cs
- MissingSatelliteAssemblyException.cs
- MILUtilities.cs
- filewebresponse.cs
- FixedFindEngine.cs
- ReaderWriterLock.cs
- SqlTrackingService.cs
- Label.cs
- ClientData.cs
- DataGridViewTextBoxColumn.cs
- WCFServiceClientProxyGenerator.cs
- DynamicDataRoute.cs
- DoubleCollectionConverter.cs
- AnimatedTypeHelpers.cs
- EventProviderWriter.cs
- CorrelationQueryBehavior.cs
- Normalization.cs
- SymDocumentType.cs
- HttpHandlersSection.cs
- ExpressionVisitor.cs
- TableLayoutPanel.cs
- CallbackHandler.cs
- EventsTab.cs
- DBConcurrencyException.cs
- EDesignUtil.cs
- TypeViewSchema.cs
- TextOutput.cs
- AvTrace.cs
- CodeDOMUtility.cs
- PackageRelationshipCollection.cs
- ScaleTransform3D.cs
- EventProxy.cs
- XmlCDATASection.cs
- SecurityRuntime.cs
- PowerStatus.cs
- DirectoryInfo.cs
- DataServiceConfiguration.cs
- WebPartsPersonalization.cs
- BoundColumn.cs
- Shape.cs
- ResourceWriter.cs
- EventTrigger.cs
- BindingContext.cs
- GridSplitter.cs
- TextProperties.cs
- UnsafeCollabNativeMethods.cs
- ProgressBar.cs
- Compilation.cs
- _BaseOverlappedAsyncResult.cs
- HashRepartitionStream.cs
- safemediahandle.cs
- columnmapfactory.cs
- RoleGroup.cs
- PerfCounters.cs
- CodeThrowExceptionStatement.cs
- KoreanCalendar.cs
- SrgsElementFactoryCompiler.cs
- ChannelSettingsElement.cs
- Fonts.cs
- AvTraceFormat.cs
- ObjectSecurity.cs
- PerformanceCountersElement.cs
- ConfigurationFileMap.cs
- InkCanvasAutomationPeer.cs
- AuthenticateEventArgs.cs
- HttpCachePolicyElement.cs
- TrustExchangeException.cs
- ImportContext.cs
- ToolZoneDesigner.cs
- DataGridViewTextBoxEditingControl.cs
- Font.cs
- ThemeableAttribute.cs
- InvalidDataContractException.cs
- SymmetricAlgorithm.cs
- ScriptingRoleServiceSection.cs
- ProcessThread.cs
- DtrList.cs
- Module.cs
- LazyTextWriterCreator.cs
- TabItemAutomationPeer.cs
- SortQuery.cs
- ArrayElementGridEntry.cs
- CombinedGeometry.cs
- DateRangeEvent.cs
- BitStream.cs
- ProtocolImporter.cs
- StringComparer.cs
- UrlParameterReader.cs
- KnownAssembliesSet.cs
- HandleRef.cs
- HotCommands.cs
- AlphaSortedEnumConverter.cs
- DBSchemaRow.cs
- ToolStripDropDownMenu.cs
- CompilerParameters.cs