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
- XhtmlTextWriter.cs
- TableRowGroup.cs
- Metadata.cs
- Int32CAMarshaler.cs
- WebPartEditorApplyVerb.cs
- ComponentCache.cs
- NavigationWindow.cs
- PeerNameRegistration.cs
- NegatedConstant.cs
- ReferenceConverter.cs
- OneOfTypeConst.cs
- AuthenticationSection.cs
- WpfSharedXamlSchemaContext.cs
- XmlCodeExporter.cs
- Directory.cs
- FileRecordSequenceHelper.cs
- CodeVariableDeclarationStatement.cs
- EncryptedType.cs
- HttpDebugHandler.cs
- ImageListUtils.cs
- BreakRecordTable.cs
- SchemaAttDef.cs
- ModuleBuilderData.cs
- WaitHandle.cs
- cookiecontainer.cs
- AnnotationResourceCollection.cs
- XamlToRtfParser.cs
- FormViewPagerRow.cs
- SqlConnectionString.cs
- streamingZipPartStream.cs
- ObjectReaderCompiler.cs
- SystemWebCachingSectionGroup.cs
- _AutoWebProxyScriptWrapper.cs
- XmlCollation.cs
- FixedElement.cs
- ResourceType.cs
- Deserializer.cs
- Publisher.cs
- MsmqChannelFactoryBase.cs
- FacetDescription.cs
- StringConcat.cs
- Path.cs
- DataGridViewLayoutData.cs
- EdmItemError.cs
- DataColumnCollection.cs
- PriorityChain.cs
- DefaultProxySection.cs
- ListViewItemMouseHoverEvent.cs
- WinInet.cs
- ObjectQueryExecutionPlan.cs
- TrackingValidationObjectDictionary.cs
- AutoScrollExpandMessageFilter.cs
- ToggleProviderWrapper.cs
- DashStyles.cs
- TrackingAnnotationCollection.cs
- SqlInternalConnection.cs
- StringUtil.cs
- TableParaClient.cs
- AutomationPeer.cs
- WorkflowOwnerAsyncResult.cs
- XmlAtomicValue.cs
- CompiledQueryCacheKey.cs
- SocketAddress.cs
- IntSecurity.cs
- ScrollBarRenderer.cs
- OleStrCAMarshaler.cs
- HttpModuleCollection.cs
- DependencyObjectPropertyDescriptor.cs
- ScrollItemPattern.cs
- XmlUtil.cs
- NameNode.cs
- TypefaceMetricsCache.cs
- GridItemPatternIdentifiers.cs
- InputLangChangeEvent.cs
- CharAnimationUsingKeyFrames.cs
- ProxyWebPartManager.cs
- ScrollPatternIdentifiers.cs
- Token.cs
- XmlDocumentType.cs
- SoapSchemaImporter.cs
- ConfigurationValue.cs
- SerializerWriterEventHandlers.cs
- DataList.cs
- ListBindingHelper.cs
- DbConnectionFactory.cs
- EntityDataSourceDesigner.cs
- FeatureSupport.cs
- DisplayInformation.cs
- TypeConverterHelper.cs
- RowUpdatingEventArgs.cs
- XmlNodeChangedEventManager.cs
- WSSecurityXXX2005.cs
- PrimaryKeyTypeConverter.cs
- Screen.cs
- DataFormats.cs
- WebServiceClientProxyGenerator.cs
- ToolStripDropDownButton.cs
- AtomicFile.cs
- DataGridHeaderBorder.cs
- IPAddress.cs