Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Client / System / IdentityModel / Selectors / SymmetricCryptoHandle.cs / 1 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewTextBoxEditingControl.cs
- BinaryUtilClasses.cs
- DependencyObjectPropertyDescriptor.cs
- PublisherMembershipCondition.cs
- ExpressionList.cs
- SelectionEditingBehavior.cs
- CallbackDebugElement.cs
- ToolStripDropDownClosingEventArgs.cs
- DataBoundControl.cs
- JsonGlobals.cs
- PathStreamGeometryContext.cs
- FixedTextView.cs
- OpenFileDialog.cs
- AncillaryOps.cs
- AdRotator.cs
- DetailsViewModeEventArgs.cs
- COMException.cs
- ArraySortHelper.cs
- ArgumentException.cs
- AccessedThroughPropertyAttribute.cs
- ResourceContainer.cs
- UserNameSecurityToken.cs
- ResourceAttributes.cs
- CodeTypeDeclaration.cs
- RequestUriProcessor.cs
- StateBag.cs
- ServiceSettingsResponseInfo.cs
- JumpList.cs
- CuspData.cs
- Compiler.cs
- JulianCalendar.cs
- SafeCoTaskMem.cs
- SharedConnectionListener.cs
- TextDecorationUnitValidation.cs
- storepermissionattribute.cs
- InkCollectionBehavior.cs
- InertiaTranslationBehavior.cs
- ListSortDescriptionCollection.cs
- GridPattern.cs
- OleDbDataReader.cs
- GacUtil.cs
- NamespaceCollection.cs
- TreeViewItemAutomationPeer.cs
- PolyBezierSegment.cs
- ComPlusTypeLoader.cs
- PageContentAsyncResult.cs
- WebBrowserNavigatingEventHandler.cs
- PageBuildProvider.cs
- XsltQilFactory.cs
- NotConverter.cs
- ActionMismatchAddressingException.cs
- SqlLiftWhereClauses.cs
- PropertySet.cs
- SqlCacheDependencyDatabaseCollection.cs
- WebFaultException.cs
- SecurityHelper.cs
- TimelineGroup.cs
- CodeMethodInvokeExpression.cs
- MediaContextNotificationWindow.cs
- EntityWrapperFactory.cs
- SimpleRecyclingCache.cs
- DataBoundControlHelper.cs
- SpanIndex.cs
- DependencyObjectPropertyDescriptor.cs
- ScaleTransform.cs
- SchemaEntity.cs
- ScaleTransform.cs
- DataObject.cs
- SiblingIterators.cs
- RawUIStateInputReport.cs
- CodeBinaryOperatorExpression.cs
- ToolStripPanelCell.cs
- Axis.cs
- RSAPKCS1KeyExchangeFormatter.cs
- CountdownEvent.cs
- InfoCardHelper.cs
- NavigationProgressEventArgs.cs
- XmlMemberMapping.cs
- Delegate.cs
- PropertyEmitterBase.cs
- SizeLimitedCache.cs
- HandlerElementCollection.cs
- RightsManagementPermission.cs
- ToolStripControlHost.cs
- OSFeature.cs
- XPathBinder.cs
- LinkClickEvent.cs
- WindowsContainer.cs
- AncestorChangedEventArgs.cs
- externdll.cs
- FixedSOMTableRow.cs
- ButtonStandardAdapter.cs
- BlockExpression.cs
- Attributes.cs
- CodeRemoveEventStatement.cs
- StateManagedCollection.cs
- TagPrefixAttribute.cs
- ResourceProviderFactory.cs
- Permission.cs
- ReadOnlyDictionary.cs