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
- SessionEndingEventArgs.cs
- ObsoleteAttribute.cs
- ViewLoader.cs
- QueryRewriter.cs
- RootBuilder.cs
- PropertyMapper.cs
- OpCellTreeNode.cs
- EventEntry.cs
- ProgressBar.cs
- DocumentViewerBaseAutomationPeer.cs
- OperationFormatStyle.cs
- SqlCacheDependencyDatabase.cs
- MatrixKeyFrameCollection.cs
- DNS.cs
- PrintPreviewDialog.cs
- ManagementQuery.cs
- EntryIndex.cs
- XmlSchemaAnnotated.cs
- ControlDesigner.cs
- RbTree.cs
- DataGridViewCellConverter.cs
- UpdateRecord.cs
- Number.cs
- PeerSecurityManager.cs
- CompilerGeneratedAttribute.cs
- AttributeCollection.cs
- NullableIntSumAggregationOperator.cs
- ResourcePermissionBaseEntry.cs
- Triplet.cs
- ParameterCollection.cs
- WindowsToolbar.cs
- ClientRoleProvider.cs
- HybridDictionary.cs
- DataGridSortCommandEventArgs.cs
- UriSectionData.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- Membership.cs
- ServiceNotStartedException.cs
- VirtualizingStackPanel.cs
- CommandConverter.cs
- HtmlHistory.cs
- XmlNotation.cs
- XmlSchemaProviderAttribute.cs
- SelectedDatesCollection.cs
- _OverlappedAsyncResult.cs
- XmlnsDictionary.cs
- WmlLinkAdapter.cs
- ProcessStartInfo.cs
- _UriTypeConverter.cs
- PersonalizationProviderHelper.cs
- BoundingRectTracker.cs
- LoginAutoFormat.cs
- ContractHandle.cs
- LinkClickEvent.cs
- BitSet.cs
- Int32EqualityComparer.cs
- Pair.cs
- TextContainerChangedEventArgs.cs
- GeneralTransformGroup.cs
- NopReturnReader.cs
- CompilerParameters.cs
- ColorInterpolationModeValidation.cs
- NameValuePair.cs
- RightsManagementEncryptionTransform.cs
- SmtpDigestAuthenticationModule.cs
- Helper.cs
- AppDomainProtocolHandler.cs
- GridLengthConverter.cs
- HttpListenerException.cs
- SingleTagSectionHandler.cs
- ScrollChrome.cs
- AuthenticationService.cs
- GC.cs
- ToolBar.cs
- ListViewCommandEventArgs.cs
- RectValueSerializer.cs
- RelationshipEnd.cs
- FrameAutomationPeer.cs
- PerformanceCounterPermissionEntryCollection.cs
- CircleEase.cs
- AssertUtility.cs
- ExtendedProtectionPolicyTypeConverter.cs
- ValidatedControlConverter.cs
- EventMemberCodeDomSerializer.cs
- AggregateNode.cs
- CatalogPartDesigner.cs
- SafeHandles.cs
- SqlMethodAttribute.cs
- ProtocolsSection.cs
- ReservationCollection.cs
- FocusTracker.cs
- FunctionNode.cs
- DateTimeValueSerializerContext.cs
- RTLAwareMessageBox.cs
- ByteStack.cs
- UTF8Encoding.cs
- JsonQNameDataContract.cs
- ParseChildrenAsPropertiesAttribute.cs
- GridViewDeletedEventArgs.cs
- EmptyWithCancelationCheckWorkItem.cs