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
- ObjectFullSpanRewriter.cs
- ToolboxItemAttribute.cs
- SecurityTokenValidationException.cs
- RenderTargetBitmap.cs
- ProfileSettingsCollection.cs
- TreeNodeCollection.cs
- UnsafeNativeMethods.cs
- UnicastIPAddressInformationCollection.cs
- DataSet.cs
- CultureTableRecord.cs
- SettingsPropertyNotFoundException.cs
- ParseHttpDate.cs
- Documentation.cs
- IteratorFilter.cs
- ObjectViewEntityCollectionData.cs
- AssemblyBuilderData.cs
- ControlIdConverter.cs
- ImageAttributes.cs
- ZipPackage.cs
- UserThread.cs
- UrlMappingsSection.cs
- Operand.cs
- SimpleMailWebEventProvider.cs
- DefaultSection.cs
- ScrollViewerAutomationPeer.cs
- DrawingVisualDrawingContext.cs
- TrackingParameters.cs
- DetailsViewRow.cs
- StatusBarDrawItemEvent.cs
- OleDbPropertySetGuid.cs
- DeleteIndexBinder.cs
- IndentTextWriter.cs
- path.cs
- ProcessStartInfo.cs
- ToolStripDropDownButton.cs
- SelectionItemProviderWrapper.cs
- XmlQuerySequence.cs
- CodeMemberMethod.cs
- MenuItemAutomationPeer.cs
- UserControlBuildProvider.cs
- Unit.cs
- LinkLabelLinkClickedEvent.cs
- CodeMethodInvokeExpression.cs
- SecurityException.cs
- XmlTypeMapping.cs
- WebDisplayNameAttribute.cs
- DoubleCollection.cs
- WebBrowserEvent.cs
- AssemblyAttributes.cs
- ConfigurationLocationCollection.cs
- xamlnodes.cs
- Button.cs
- MatrixStack.cs
- SplashScreen.cs
- NetCodeGroup.cs
- EventLog.cs
- SiteMapNodeCollection.cs
- FullTrustAssembly.cs
- ConnectionManagementElement.cs
- EmbeddedMailObjectsCollection.cs
- SignedXml.cs
- MembershipPasswordException.cs
- InputLanguageEventArgs.cs
- XmlAnyAttributeAttribute.cs
- FlowNode.cs
- MexTcpBindingCollectionElement.cs
- LambdaCompiler.ControlFlow.cs
- PointLight.cs
- IndexObject.cs
- AuthorizationRuleCollection.cs
- SmiContextFactory.cs
- ByteArrayHelperWithString.cs
- RayHitTestParameters.cs
- IdentityReference.cs
- DeviceContext.cs
- FontWeightConverter.cs
- SQLInt64Storage.cs
- JavaScriptSerializer.cs
- LinqTreeNodeEvaluator.cs
- MTConfigUtil.cs
- versioninfo.cs
- ParamArrayAttribute.cs
- QueueProcessor.cs
- TransformConverter.cs
- UriSection.cs
- XmlIlGenerator.cs
- TraceLevelHelper.cs
- ProcessRequestAsyncResult.cs
- DrawingImage.cs
- ColumnReorderedEventArgs.cs
- XmlSortKeyAccumulator.cs
- FormViewDeleteEventArgs.cs
- LazyLoadBehavior.cs
- MembershipAdapter.cs
- SqlBuilder.cs
- DependentList.cs
- ProfileGroupSettingsCollection.cs
- ExpressionStringBuilder.cs
- Transform.cs
- BypassElementCollection.cs