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
- namescope.cs
- RegexCapture.cs
- XmlIgnoreAttribute.cs
- DataGridrowEditEndingEventArgs.cs
- ComIntegrationManifestGenerator.cs
- FormsAuthenticationUserCollection.cs
- DataMisalignedException.cs
- XmlUtf8RawTextWriter.cs
- WindowsContainer.cs
- MaterialCollection.cs
- Peer.cs
- DynamicValueConverter.cs
- FontCacheUtil.cs
- GregorianCalendar.cs
- TextBoxBase.cs
- ComplexLine.cs
- CounterSampleCalculator.cs
- TreeViewEvent.cs
- UnitySerializationHolder.cs
- Margins.cs
- CornerRadiusConverter.cs
- AtomicFile.cs
- XmlSchemaSimpleTypeList.cs
- KeyConverter.cs
- Effect.cs
- Window.cs
- MatrixTransform3D.cs
- ContainerParagraph.cs
- _SSPISessionCache.cs
- PasswordBoxAutomationPeer.cs
- EdmProperty.cs
- SecurityResources.cs
- CorrelationExtension.cs
- GridViewAutomationPeer.cs
- MulticastOption.cs
- WebPartEditorOkVerb.cs
- Soap.cs
- ThreadExceptionEvent.cs
- FragmentQueryKB.cs
- Encoder.cs
- RightsManagementResourceHelper.cs
- DataGridViewIntLinkedList.cs
- XmlTextEncoder.cs
- ErrorStyle.cs
- WindowsClaimSet.cs
- DataServiceRequestOfT.cs
- TranslateTransform.cs
- StylusSystemGestureEventArgs.cs
- FormViewCommandEventArgs.cs
- RegexCompilationInfo.cs
- ConfigurationCollectionAttribute.cs
- ExpressionDumper.cs
- Point3DAnimation.cs
- BlurBitmapEffect.cs
- ScriptModule.cs
- complextypematerializer.cs
- TimeSpanValidator.cs
- cookiecollection.cs
- OverlappedContext.cs
- PartManifestEntry.cs
- SafeNativeMethodsCLR.cs
- MonthChangedEventArgs.cs
- ScriptResourceDefinition.cs
- FrameDimension.cs
- Enum.cs
- UserControlParser.cs
- wmiprovider.cs
- SystemInfo.cs
- ObjectStateManagerMetadata.cs
- SingleResultAttribute.cs
- GiveFeedbackEvent.cs
- GenerateTemporaryTargetAssembly.cs
- DropTarget.cs
- VideoDrawing.cs
- Rules.cs
- BitmapScalingModeValidation.cs
- ForwardPositionQuery.cs
- AttachInfo.cs
- InterleavedZipPartStream.cs
- NestedContainer.cs
- IteratorDescriptor.cs
- ObjectToIdCache.cs
- Substitution.cs
- HttpResponseHeader.cs
- ProcessModule.cs
- CurrentChangingEventManager.cs
- PackageDigitalSignature.cs
- GridLengthConverter.cs
- SafeRegistryKey.cs
- PrePostDescendentsWalker.cs
- SingleStorage.cs
- UpdateException.cs
- IndexerNameAttribute.cs
- HitTestResult.cs
- ReliabilityContractAttribute.cs
- OpCellTreeNode.cs
- PrinterResolution.cs
- MimePart.cs
- CodeTypeParameterCollection.cs
- TableTextElementCollectionInternal.cs