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
- URLEditor.cs
- Connector.cs
- Visitor.cs
- PowerModeChangedEventArgs.cs
- ResourceIDHelper.cs
- DataServiceQueryOfT.cs
- CommandField.cs
- CodeTypeParameterCollection.cs
- SoapIgnoreAttribute.cs
- CodeVariableReferenceExpression.cs
- TextMetrics.cs
- ReflectPropertyDescriptor.cs
- Error.cs
- Light.cs
- SqlConnection.cs
- SystemColors.cs
- ListViewItem.cs
- ComponentTray.cs
- ResourceReader.cs
- EpmContentSerializer.cs
- DBAsyncResult.cs
- ResourceProviderFactory.cs
- HttpModuleCollection.cs
- DesignerVerb.cs
- OAVariantLib.cs
- MetaDataInfo.cs
- ProcessModelSection.cs
- BehaviorEditorPart.cs
- WebServiceData.cs
- ITextView.cs
- TableRowCollection.cs
- UnsignedPublishLicense.cs
- TypeCollectionDesigner.xaml.cs
- KeyedHashAlgorithm.cs
- LogRestartAreaEnumerator.cs
- CookieProtection.cs
- StylusPointCollection.cs
- SmtpSection.cs
- SqlDelegatedTransaction.cs
- AdornerPresentationContext.cs
- OracleParameterBinding.cs
- Condition.cs
- TagElement.cs
- ArglessEventHandlerProxy.cs
- Tuple.cs
- ApplicationInterop.cs
- FormViewInsertEventArgs.cs
- ProcessModule.cs
- EnglishPluralizationService.cs
- CodeCommentStatement.cs
- UdpDiscoveryEndpoint.cs
- TextServicesContext.cs
- columnmapfactory.cs
- PropertyGridDesigner.cs
- GenericWebPart.cs
- ObjectAnimationUsingKeyFrames.cs
- SiteMapNode.cs
- ApplicationServiceManager.cs
- ConsumerConnectionPointCollection.cs
- URLMembershipCondition.cs
- WebPartRestoreVerb.cs
- NotifyInputEventArgs.cs
- RealizedColumnsBlock.cs
- ListBoxChrome.cs
- ObjectTypeMapping.cs
- UIInitializationException.cs
- XPathParser.cs
- TypeInfo.cs
- ErrorStyle.cs
- RuntimeWrappedException.cs
- ManifestResourceInfo.cs
- QilParameter.cs
- WindowsToolbar.cs
- CapabilitiesPattern.cs
- DateTimeFormat.cs
- QueryBranchOp.cs
- IgnoreFileBuildProvider.cs
- ToolStripDropDownItemDesigner.cs
- InstanceDescriptor.cs
- ConfigsHelper.cs
- XPathException.cs
- LinqDataSourceInsertEventArgs.cs
- IUnknownConstantAttribute.cs
- XmlSchemaParticle.cs
- UnaryNode.cs
- WorkItem.cs
- EntityDataSourceContextCreatedEventArgs.cs
- EventLogPermissionEntryCollection.cs
- ToolStripProgressBar.cs
- MenuItemStyle.cs
- Pkcs9Attribute.cs
- SspiSecurityToken.cs
- Blend.cs
- HttpRequestCacheValidator.cs
- TdsParserStateObject.cs
- ManagedFilter.cs
- DocumentSequenceHighlightLayer.cs
- BigInt.cs
- DocumentOrderComparer.cs
- MultitargetingHelpers.cs