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
- SerializationException.cs
- XmlAutoDetectWriter.cs
- CompilerErrorCollection.cs
- _SafeNetHandles.cs
- ParentUndoUnit.cs
- LocatorPartList.cs
- SecurityManager.cs
- RegexInterpreter.cs
- XslVisitor.cs
- DataGridViewButtonColumn.cs
- InfoCardClaimCollection.cs
- Exception.cs
- AssemblyUtil.cs
- MetadataItemSerializer.cs
- HttpDictionary.cs
- ImageIndexConverter.cs
- RangeValidator.cs
- PrintEvent.cs
- ExtendedProtectionPolicyElement.cs
- RequestCachingSection.cs
- ColumnHeaderConverter.cs
- XmlSchemaException.cs
- MetadataArtifactLoaderFile.cs
- DataGridViewLayoutData.cs
- EnumType.cs
- PageVisual.cs
- Vector3D.cs
- DictionaryEntry.cs
- QueueProcessor.cs
- SessionStateSection.cs
- DefaultPropertyAttribute.cs
- SqlReferenceCollection.cs
- ScrollContentPresenter.cs
- WebPartTracker.cs
- DependencyPropertyAttribute.cs
- DataRelationCollection.cs
- TimeSpanConverter.cs
- LinkClickEvent.cs
- ObjectHandle.cs
- TemplateControlCodeDomTreeGenerator.cs
- QilPatternVisitor.cs
- Transform3D.cs
- EmptyElement.cs
- GlobalAllocSafeHandle.cs
- SystemTcpStatistics.cs
- KeyGestureConverter.cs
- SQLInt64Storage.cs
- ApplicationDirectoryMembershipCondition.cs
- CallbackDebugElement.cs
- ServiceControllerDesigner.cs
- ConfigXmlDocument.cs
- ContactManager.cs
- Line.cs
- BuildProviderUtils.cs
- DataObjectSettingDataEventArgs.cs
- StsCommunicationException.cs
- ClrPerspective.cs
- HtmlTernaryTree.cs
- XmlSchemaExporter.cs
- WebPartAddingEventArgs.cs
- XmlImplementation.cs
- BasePattern.cs
- DataGridViewCellConverter.cs
- NotifyInputEventArgs.cs
- ImageSource.cs
- ADRoleFactory.cs
- EmptyElement.cs
- ScriptingWebServicesSectionGroup.cs
- ManipulationDevice.cs
- GatewayIPAddressInformationCollection.cs
- AnimationStorage.cs
- X509CertificateEndpointIdentity.cs
- PriorityQueue.cs
- WindowsStartMenu.cs
- ToolStripDropDownClosedEventArgs.cs
- QueryReaderSettings.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- MonitoringDescriptionAttribute.cs
- QueryParameter.cs
- TextServicesPropertyRanges.cs
- ConnectionManagementElement.cs
- BufferedStream.cs
- initElementDictionary.cs
- Point3DKeyFrameCollection.cs
- RequiredAttributeAttribute.cs
- unsafenativemethodsother.cs
- BinaryObjectReader.cs
- EntityContainerRelationshipSetEnd.cs
- ExpandSegmentCollection.cs
- HandlerBase.cs
- XsdValidatingReader.cs
- OpenFileDialog.cs
- XsltArgumentList.cs
- HMACSHA1.cs
- TranslateTransform3D.cs
- StatusBar.cs
- XomlCompilerError.cs
- EntityDataSourceSelectingEventArgs.cs
- TransformPatternIdentifiers.cs
- DataBoundControlAdapter.cs