Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / infocard / Client / System / IdentityModel / Selectors / AsymmetricCryptoHandle.cs / 1305376 / AsymmetricCryptoHandle.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; // // For common & resources // using Microsoft.InfoCards; // // Summary: // Wraps an AsymmetricCryptoSession. // internal class AsymmetricCryptoHandle : ProofTokenCryptoHandle { public AsymmetricCryptoHandle( InternalRefCountedHandle nativeHandle, DateTime expiration, IntPtr parameters ) : base( nativeHandle, expiration, parameters, typeof( RpcAsymmetricCryptoParameters ) ) { } private AsymmetricCryptoHandle( InternalRefCountedHandle internalHandle ) : base( internalHandle ) {} protected override CryptoHandle OnDuplicate() { return new AsymmetricCryptoHandle( InternalHandle ); } protected override InfoCardProofToken OnCreateProofToken() { return new InfoCardProofToken( this, Expiration ); } } } // 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; // // For common & resources // using Microsoft.InfoCards; // // Summary: // Wraps an AsymmetricCryptoSession. // internal class AsymmetricCryptoHandle : ProofTokenCryptoHandle { public AsymmetricCryptoHandle( InternalRefCountedHandle nativeHandle, DateTime expiration, IntPtr parameters ) : base( nativeHandle, expiration, parameters, typeof( RpcAsymmetricCryptoParameters ) ) { } private AsymmetricCryptoHandle( InternalRefCountedHandle internalHandle ) : base( internalHandle ) {} protected override CryptoHandle OnDuplicate() { return new AsymmetricCryptoHandle( InternalHandle ); } protected override InfoCardProofToken OnCreateProofToken() { return new InfoCardProofToken( this, Expiration ); } } } // 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
- MediaSystem.cs
- ThumbButtonInfoCollection.cs
- PartialArray.cs
- HTMLTagNameToTypeMapper.cs
- SharedUtils.cs
- sqlpipe.cs
- GridViewDeleteEventArgs.cs
- EditorAttribute.cs
- HttpHandlerAction.cs
- IndexerNameAttribute.cs
- WorkflowOperationBehavior.cs
- SqlCachedBuffer.cs
- WebBrowserHelper.cs
- RectangleConverter.cs
- IQueryable.cs
- QuerySubExprEliminator.cs
- StorageScalarPropertyMapping.cs
- CLSCompliantAttribute.cs
- RadioButtonAutomationPeer.cs
- ActiveXContainer.cs
- TextAdaptor.cs
- NumericUpDownAcceleration.cs
- WebBrowser.cs
- Vector3D.cs
- AuthStoreRoleProvider.cs
- XmlAttribute.cs
- ReadWriteSpinLock.cs
- XPathDocumentBuilder.cs
- IPPacketInformation.cs
- ExtendedPropertyDescriptor.cs
- XmlSchemaObjectCollection.cs
- ProcessModule.cs
- FixedPageStructure.cs
- DateTimeParse.cs
- PreviewPageInfo.cs
- XmlSchemaCollection.cs
- ScriptComponentDescriptor.cs
- BuildProvidersCompiler.cs
- SignedInfo.cs
- DynamicRendererThreadManager.cs
- Unit.cs
- RequiredFieldValidator.cs
- XsltContext.cs
- SocketException.cs
- ObfuscationAttribute.cs
- CategoriesDocument.cs
- FixedSOMPage.cs
- TemplateParser.cs
- NavigateEvent.cs
- SafeProcessHandle.cs
- TargetParameterCountException.cs
- ScrollableControl.cs
- ResourceAssociationSetEnd.cs
- GeometryDrawing.cs
- ChannelSettingsElement.cs
- BindMarkupExtensionSerializer.cs
- ConfigurationPermission.cs
- TextRunCacheImp.cs
- ResXFileRef.cs
- TraceContext.cs
- StdValidatorsAndConverters.cs
- BeginEvent.cs
- SqlWorkflowPersistenceService.cs
- ServiceOperation.cs
- ItemChangedEventArgs.cs
- GenericPrincipal.cs
- EventBindingService.cs
- Calendar.cs
- UserValidatedEventArgs.cs
- StylusTip.cs
- XmlSchemaParticle.cs
- OleDbWrapper.cs
- PhoneCall.cs
- TextTreeTextNode.cs
- ComponentChangedEvent.cs
- StrongNameMembershipCondition.cs
- BrowserCapabilitiesFactoryBase.cs
- FontCollection.cs
- SiteIdentityPermission.cs
- HttpHeaderCollection.cs
- LoginDesigner.cs
- CompiledIdentityConstraint.cs
- ImageListImage.cs
- ConfigurationProviderException.cs
- XmlSerializerSection.cs
- AccessibilityApplicationManager.cs
- ClientEventManager.cs
- NativeMethodsCLR.cs
- InteropBitmapSource.cs
- MsmqIntegrationBindingCollectionElement.cs
- PartialTrustHelpers.cs
- HelpEvent.cs
- PrimitiveCodeDomSerializer.cs
- FrameworkElementFactoryMarkupObject.cs
- DoubleLink.cs
- XmlSchemaCompilationSettings.cs
- SelectionHighlightInfo.cs
- Encoder.cs
- PersonalizationState.cs
- FormViewInsertedEventArgs.cs