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
- OutputCacheModule.cs
- CompositionAdorner.cs
- RewritingProcessor.cs
- InputChannelAcceptor.cs
- PropertyPathConverter.cs
- XmlAtomicValue.cs
- safelinkcollection.cs
- DataViewManager.cs
- GiveFeedbackEvent.cs
- WriterOutput.cs
- RawStylusInput.cs
- RotateTransform.cs
- typedescriptorpermission.cs
- CompositeFontParser.cs
- WebBrowserNavigatedEventHandler.cs
- Constraint.cs
- ContourSegment.cs
- VariantWrapper.cs
- CharKeyFrameCollection.cs
- NameValuePermission.cs
- SqlConnectionFactory.cs
- XsltSettings.cs
- DependencyPropertyHelper.cs
- DataSourceControl.cs
- RootNamespaceAttribute.cs
- UIElement3D.cs
- PrintDialog.cs
- EncryptedData.cs
- VisualBrush.cs
- StrokeCollection2.cs
- SchemaNamespaceManager.cs
- NativeRecognizer.cs
- DoubleAnimationClockResource.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- TypefaceMap.cs
- OleDbConnectionInternal.cs
- UrlPath.cs
- COMException.cs
- MetadataPropertyvalue.cs
- EntityDataSourceValidationException.cs
- ExpanderAutomationPeer.cs
- ClipboardProcessor.cs
- XmlElementAttributes.cs
- NonBatchDirectoryCompiler.cs
- SqlDataSourceQueryConverter.cs
- LogoValidationException.cs
- Keywords.cs
- ArglessEventHandlerProxy.cs
- AspNetHostingPermission.cs
- SocketPermission.cs
- HttpListenerException.cs
- RouteParameter.cs
- NopReturnReader.cs
- TimeStampChecker.cs
- XmlHierarchicalDataSourceView.cs
- GC.cs
- SvcMapFile.cs
- SecurityChannelFaultConverter.cs
- DialogResultConverter.cs
- securitycriticaldataformultiplegetandset.cs
- DocumentSchemaValidator.cs
- CqlQuery.cs
- SyntaxCheck.cs
- ObjectDataSourceMethodEventArgs.cs
- CFStream.cs
- ItemsPanelTemplate.cs
- OleStrCAMarshaler.cs
- WSSecureConversationDec2005.cs
- StringExpressionSet.cs
- SHA384.cs
- AssemblyInfo.cs
- OracleInfoMessageEventArgs.cs
- _Semaphore.cs
- MediaElementAutomationPeer.cs
- MetabaseServerConfig.cs
- DeadCharTextComposition.cs
- ObjectComplexPropertyMapping.cs
- EventBuilder.cs
- BulletChrome.cs
- AuthenticatingEventArgs.cs
- PrtTicket_Public_Simple.cs
- XsdDuration.cs
- GridPattern.cs
- ServicePointManagerElement.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- HierarchicalDataBoundControl.cs
- VisualTreeUtils.cs
- HtmlEncodedRawTextWriter.cs
- SchemaElementLookUpTable.cs
- ServiceProviders.cs
- EncodingNLS.cs
- Message.cs
- AppSettingsSection.cs
- DisableDpiAwarenessAttribute.cs
- HideDisabledControlAdapter.cs
- TableChangeProcessor.cs
- ProcessingInstructionAction.cs
- ScriptManager.cs
- ProxyGenerationError.cs
- StateFinalizationDesigner.cs