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
- XPathAncestorQuery.cs
- PerformanceCounterManager.cs
- XmlEncoding.cs
- DataSvcMapFile.cs
- DataTableNameHandler.cs
- InternalRelationshipCollection.cs
- StrongNameKeyPair.cs
- elementinformation.cs
- EventHandlersDesigner.cs
- DataKeyCollection.cs
- GridErrorDlg.cs
- PathGeometry.cs
- IsolationInterop.cs
- TextProperties.cs
- RowType.cs
- CodeEntryPointMethod.cs
- TransactionManagerProxy.cs
- LinearGradientBrush.cs
- BitStack.cs
- LoginCancelEventArgs.cs
- CompilerResults.cs
- BasicKeyConstraint.cs
- MetadataItemSerializer.cs
- PageAsyncTask.cs
- ConsumerConnectionPointCollection.cs
- AttachInfo.cs
- DocumentSequence.cs
- COM2Properties.cs
- UserControlFileEditor.cs
- HandlerFactoryWrapper.cs
- XmlSchemaAppInfo.cs
- System.Data.OracleClient_BID.cs
- MostlySingletonList.cs
- AnnotationResourceCollection.cs
- ActivationServices.cs
- SqlClientWrapperSmiStreamChars.cs
- FaultReason.cs
- DataGridRow.cs
- TraceLog.cs
- EntityModelBuildProvider.cs
- QilReplaceVisitor.cs
- UnsafeNetInfoNativeMethods.cs
- FontUnitConverter.cs
- ButtonBaseAutomationPeer.cs
- XPathBinder.cs
- CommonProperties.cs
- ServiceObjectContainer.cs
- CompoundFileStreamReference.cs
- CodePageEncoding.cs
- MimeAnyImporter.cs
- ObjectViewListener.cs
- Connector.cs
- TextClipboardData.cs
- ToolStripTextBox.cs
- PagerSettings.cs
- DelegateBodyWriter.cs
- BaseDataBoundControl.cs
- GlobalizationSection.cs
- HotCommands.cs
- ConfigurationSectionGroupCollection.cs
- MdImport.cs
- RSAOAEPKeyExchangeDeformatter.cs
- QuotedPrintableStream.cs
- PerfCounters.cs
- BaseCollection.cs
- ResourceType.cs
- KeyTimeConverter.cs
- DBSqlParserTable.cs
- _SafeNetHandles.cs
- SchemaHelper.cs
- FixedSOMContainer.cs
- FileInfo.cs
- AuthenticateEventArgs.cs
- Stroke2.cs
- StateInitialization.cs
- CroppedBitmap.cs
- Internal.cs
- ProfilePropertySettings.cs
- CodeGenerator.cs
- PreloadHost.cs
- Opcode.cs
- InternalConfigHost.cs
- ImageMetadata.cs
- AnnotationComponentManager.cs
- XmlWrappingReader.cs
- SharedDp.cs
- CheckBoxStandardAdapter.cs
- ObjectManager.cs
- ObjectStateEntry.cs
- RenderCapability.cs
- DocumentGridContextMenu.cs
- MemberMaps.cs
- RecognitionEventArgs.cs
- _UriSyntax.cs
- TypedReference.cs
- SamlAttributeStatement.cs
- HGlobalSafeHandle.cs
- CheckBoxFlatAdapter.cs
- UserNamePasswordValidator.cs
- AnnotationService.cs