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
- RegularExpressionValidator.cs
- JpegBitmapDecoder.cs
- HtmlInputButton.cs
- PermissionListSet.cs
- MetaModel.cs
- LogManagementAsyncResult.cs
- WebServiceBindingAttribute.cs
- SqlNamer.cs
- TraceEventCache.cs
- XsdBuilder.cs
- RelativeSource.cs
- Context.cs
- FocusWithinProperty.cs
- SplineQuaternionKeyFrame.cs
- Content.cs
- SessionStateUtil.cs
- CodePrimitiveExpression.cs
- DataGridViewCellStyleConverter.cs
- _LocalDataStore.cs
- ConfigurationValue.cs
- Tokenizer.cs
- StateDesigner.CommentLayoutGlyph.cs
- Serializer.cs
- TdsParserStaticMethods.cs
- cookiecollection.cs
- CharacterMetrics.cs
- ToolboxItemFilterAttribute.cs
- EntityStoreSchemaGenerator.cs
- GenericsInstances.cs
- SmiMetaData.cs
- XamlDesignerSerializationManager.cs
- OdbcErrorCollection.cs
- NCryptSafeHandles.cs
- WebPartMenuStyle.cs
- RequestResizeEvent.cs
- PolicyStatement.cs
- shaper.cs
- HtmlImage.cs
- ProfileService.cs
- ChannelOptions.cs
- EndPoint.cs
- AmbientValueAttribute.cs
- UnmanagedMemoryStream.cs
- NullableConverter.cs
- SectionRecord.cs
- ExportOptions.cs
- InvalidCastException.cs
- Pts.cs
- DbgUtil.cs
- Int32AnimationUsingKeyFrames.cs
- EntitySqlQueryCacheKey.cs
- StrokeNodeData.cs
- AsyncResult.cs
- XmlDocumentFieldSchema.cs
- TextStore.cs
- PropertyGridEditorPart.cs
- PropertyPushdownHelper.cs
- SystemParameters.cs
- PackWebRequest.cs
- WeakReferenceEnumerator.cs
- CmsInterop.cs
- TextRunTypographyProperties.cs
- UdpSocketReceiveManager.cs
- Page.cs
- RenderingEventArgs.cs
- MobileCapabilities.cs
- ReaderWriterLockWrapper.cs
- ObjectConverter.cs
- EventManager.cs
- HelpEvent.cs
- BinaryCommonClasses.cs
- rsa.cs
- EventRecord.cs
- CacheHelper.cs
- ResourceDescriptionAttribute.cs
- DummyDataSource.cs
- HttpListenerException.cs
- PackagePart.cs
- AsyncCompletedEventArgs.cs
- EntityDataSourceUtil.cs
- SerializationException.cs
- WmlObjectListAdapter.cs
- VectorKeyFrameCollection.cs
- MatrixCamera.cs
- StringSorter.cs
- Byte.cs
- PeerResolverSettings.cs
- SmtpClient.cs
- TimeIntervalCollection.cs
- PtsHost.cs
- PenCursorManager.cs
- BitmapVisualManager.cs
- TranslateTransform3D.cs
- ClosureBinding.cs
- LoadedEvent.cs
- StringSource.cs
- Event.cs
- MarshalDirectiveException.cs
- SemaphoreSecurity.cs
- GroupBox.cs