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
- DataGridViewCellStyleChangedEventArgs.cs
- Line.cs
- DataTableReader.cs
- SHA256.cs
- TrackingServices.cs
- ReturnEventArgs.cs
- StrongNameIdentityPermission.cs
- TrimSurroundingWhitespaceAttribute.cs
- XsdBuildProvider.cs
- CreateUserWizardStep.cs
- StylusShape.cs
- BitVec.cs
- NamespaceInfo.cs
- StrongNameIdentityPermission.cs
- Itemizer.cs
- TraceListeners.cs
- WebPartDisplayMode.cs
- ExternalCalls.cs
- CheckBoxBaseAdapter.cs
- PersonalizationDictionary.cs
- PresentationTraceSources.cs
- EventLogTraceListener.cs
- ListenerUnsafeNativeMethods.cs
- FontWeights.cs
- SoapEnumAttribute.cs
- CorePropertiesFilter.cs
- NotifyIcon.cs
- RowUpdatedEventArgs.cs
- EmptyReadOnlyDictionaryInternal.cs
- FormViewDeleteEventArgs.cs
- XmlDataContract.cs
- MatrixTransform3D.cs
- Helpers.cs
- MediaScriptCommandRoutedEventArgs.cs
- sqlcontext.cs
- Label.cs
- RuleSettingsCollection.cs
- ShaderEffect.cs
- DateTimeConverter2.cs
- ServiceModelReg.cs
- TemplateComponentConnector.cs
- GeometryHitTestResult.cs
- ConfigurationPropertyCollection.cs
- EventItfInfo.cs
- MultiByteCodec.cs
- ProfileProvider.cs
- Peer.cs
- ThemeDirectoryCompiler.cs
- ParameterInfo.cs
- DataServiceProcessingPipeline.cs
- SmiTypedGetterSetter.cs
- StrongTypingException.cs
- BulletedListEventArgs.cs
- SizeChangedEventArgs.cs
- FontWeights.cs
- DispatcherTimer.cs
- BitmapEffectDrawingContent.cs
- ObjectPropertyMapping.cs
- SiteMapDataSource.cs
- TryCatch.cs
- SQLDecimalStorage.cs
- _ScatterGatherBuffers.cs
- PositiveTimeSpanValidatorAttribute.cs
- StringArrayConverter.cs
- ConsoleEntryPoint.cs
- ProfileSettingsCollection.cs
- Substitution.cs
- Utilities.cs
- AppDomainFactory.cs
- ActivityScheduledRecord.cs
- EntityDataReader.cs
- PersonalizationStateInfo.cs
- AlternateViewCollection.cs
- StreamReader.cs
- SafeHandles.cs
- RenderContext.cs
- BitArray.cs
- DataObjectAttribute.cs
- Rect3D.cs
- XmlRawWriterWrapper.cs
- Config.cs
- ListItemCollection.cs
- PrintControllerWithStatusDialog.cs
- SqlAggregateChecker.cs
- InkCanvasSelectionAdorner.cs
- CircleHotSpot.cs
- EndOfStreamException.cs
- EncoderExceptionFallback.cs
- DataTablePropertyDescriptor.cs
- ProcessStartInfo.cs
- DataGridAutoFormat.cs
- QilExpression.cs
- Point4DConverter.cs
- DbProviderFactories.cs
- ProviderSettingsCollection.cs
- EntityContainerEmitter.cs
- WindowShowOrOpenTracker.cs
- SuppressMessageAttribute.cs
- SqlException.cs
- DocumentAutomationPeer.cs