Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / infocard / Client / System / IdentityModel / Selectors / SymmetricCryptoHandle.cs / 1305376 / SymmetricCryptoHandle.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: // Wraps an SymmetricCryptoSession. // internal class SymmetricCryptoHandle : ProofTokenCryptoHandle { public SymmetricCryptoHandle( InternalRefCountedHandle nativeHandle, DateTime expiration, IntPtr parameters ) : base( nativeHandle, expiration, parameters, typeof( RpcSymmetricCryptoParameters ) ) { } private SymmetricCryptoHandle( InternalRefCountedHandle internalHandle ) : base( internalHandle ) {} protected override CryptoHandle OnDuplicate() { return new SymmetricCryptoHandle( 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; // // Summary: // Wraps an SymmetricCryptoSession. // internal class SymmetricCryptoHandle : ProofTokenCryptoHandle { public SymmetricCryptoHandle( InternalRefCountedHandle nativeHandle, DateTime expiration, IntPtr parameters ) : base( nativeHandle, expiration, parameters, typeof( RpcSymmetricCryptoParameters ) ) { } private SymmetricCryptoHandle( InternalRefCountedHandle internalHandle ) : base( internalHandle ) {} protected override CryptoHandle OnDuplicate() { return new SymmetricCryptoHandle( 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
- SchemaObjectWriter.cs
- CatalogUtil.cs
- AttributeData.cs
- UrlMapping.cs
- SmiEventSink.cs
- LoadRetryHandler.cs
- GetImportFileNameRequest.cs
- AuthenticationConfig.cs
- ServicePointManager.cs
- CryptoStream.cs
- AspCompat.cs
- OletxVolatileEnlistment.cs
- Trace.cs
- CapabilitiesSection.cs
- Rotation3DAnimation.cs
- TimeEnumHelper.cs
- MetadataArtifactLoaderFile.cs
- TrackingProfileSerializer.cs
- Size3D.cs
- DrawingAttributeSerializer.cs
- WriteableBitmap.cs
- StylusButton.cs
- NativeMethods.cs
- SchemaElement.cs
- TraceHandlerErrorFormatter.cs
- SocketElement.cs
- RequestResizeEvent.cs
- StorageRoot.cs
- XPathScanner.cs
- SqlDataSourceConfigureSortForm.cs
- ComEventsHelper.cs
- EncoderFallback.cs
- ConfigXmlAttribute.cs
- WindowsTab.cs
- FactoryGenerator.cs
- XmlSchemaExporter.cs
- DataFormats.cs
- ObjectViewListener.cs
- ObjectCloneHelper.cs
- DynamicEntity.cs
- DbParameterCollectionHelper.cs
- PeerContact.cs
- WorkItem.cs
- MultiPageTextView.cs
- GeneralTransform.cs
- ArrayWithOffset.cs
- AsyncStreamReader.cs
- LingerOption.cs
- WindowShowOrOpenTracker.cs
- ApplicationSettingsBase.cs
- HashJoinQueryOperatorEnumerator.cs
- WebPartZoneCollection.cs
- WindowVisualStateTracker.cs
- DispatcherEventArgs.cs
- CodeNamespaceImportCollection.cs
- WindowsToolbar.cs
- DBConcurrencyException.cs
- AuthenticateEventArgs.cs
- CachedCompositeFamily.cs
- XmlCollation.cs
- ListMarkerLine.cs
- PngBitmapEncoder.cs
- EditCommandColumn.cs
- Color.cs
- Button.cs
- DefaultBinder.cs
- DocumentViewerConstants.cs
- SecurityElementBase.cs
- DockingAttribute.cs
- ServerIdentity.cs
- StateMachineWorkflowDesigner.cs
- State.cs
- _AutoWebProxyScriptHelper.cs
- WrappedReader.cs
- ConnectionPoint.cs
- Int32Collection.cs
- RoleService.cs
- CategoryNameCollection.cs
- WebPartCatalogAddVerb.cs
- DbQueryCommandTree.cs
- WebPartTransformer.cs
- XPathDescendantIterator.cs
- HttpCachePolicyWrapper.cs
- Model3DGroup.cs
- FormViewPagerRow.cs
- NullableIntAverageAggregationOperator.cs
- BoundingRectTracker.cs
- RawMouseInputReport.cs
- PageThemeBuildProvider.cs
- HttpContextServiceHost.cs
- HostedAspNetEnvironment.cs
- WindowsAltTab.cs
- LoginViewDesigner.cs
- OleDbCommandBuilder.cs
- KeyEventArgs.cs
- CodeDomLoader.cs
- ToggleProviderWrapper.cs
- PropertyFilter.cs
- ServiceContractAttribute.cs
- ADConnectionHelper.cs