Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / Tokens / ServiceX509SecurityTokenProvider.cs / 1 / ServiceX509SecurityTokenProvider.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Security.Tokens { using System.IdentityModel.Selectors; using System.IdentityModel.Tokens; using System.Security.Cryptography.X509Certificates; class ServiceX509SecurityTokenProvider : X509SecurityTokenProvider { public ServiceX509SecurityTokenProvider(X509Certificate2 certificate) : base(certificate) { } public ServiceX509SecurityTokenProvider(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue) : base(storeLocation, storeName, findType, findValue) { } protected override SecurityToken GetTokenCore(TimeSpan timeout) { return new X509SecurityToken(this.Certificate, false, false); } } } // 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
- SqlDeflator.cs
- XmlSchemaSimpleTypeRestriction.cs
- Axis.cs
- RuntimeHelpers.cs
- QilList.cs
- PopupRootAutomationPeer.cs
- OLEDB_Util.cs
- EditorPart.cs
- MimeMapping.cs
- DependencySource.cs
- ColorMatrix.cs
- DispatcherHooks.cs
- PrinterSettings.cs
- SecurityElement.cs
- BStrWrapper.cs
- IdnMapping.cs
- RectKeyFrameCollection.cs
- PersianCalendar.cs
- FrameworkObject.cs
- XmlSchemaAnyAttribute.cs
- PersonalizablePropertyEntry.cs
- RemoteWebConfigurationHost.cs
- Adorner.cs
- NumericExpr.cs
- ParamArrayAttribute.cs
- PeerNameRecord.cs
- Scripts.cs
- TemplateBindingExpressionConverter.cs
- SafeProcessHandle.cs
- DataSourceControlBuilder.cs
- ISCIIEncoding.cs
- GridViewDeleteEventArgs.cs
- DBNull.cs
- MD5HashHelper.cs
- EncodingFallbackAwareXmlTextWriter.cs
- Timer.cs
- OpenFileDialog.cs
- _emptywebproxy.cs
- PolyLineSegment.cs
- MobileCategoryAttribute.cs
- WorkflowDesignerColors.cs
- NotFiniteNumberException.cs
- FixedSOMTableRow.cs
- AutomationPattern.cs
- EventDescriptor.cs
- HostElement.cs
- VideoDrawing.cs
- GeneralTransform3D.cs
- WindowsListViewGroup.cs
- ObjectNotFoundException.cs
- RegexCharClass.cs
- DataSetSchema.cs
- RotateTransform3D.cs
- DataBindingHandlerAttribute.cs
- XmlComment.cs
- ObjectSelectorEditor.cs
- Rect3DConverter.cs
- Variant.cs
- XmlSignificantWhitespace.cs
- FixedSOMImage.cs
- odbcmetadatacollectionnames.cs
- DbProviderFactoriesConfigurationHandler.cs
- QilIterator.cs
- ReadOnlyHierarchicalDataSource.cs
- TcpClientChannel.cs
- ImageUrlEditor.cs
- SqlCommand.cs
- ObservableCollection.cs
- TextServicesCompartmentContext.cs
- Geometry.cs
- ChangesetResponse.cs
- Point3DCollectionValueSerializer.cs
- MachineKeyValidationConverter.cs
- TypeDescriptor.cs
- RC2.cs
- CommonObjectSecurity.cs
- LineVisual.cs
- documentation.cs
- SocketElement.cs
- WebContext.cs
- DesignerTextBoxAdapter.cs
- SqlConnectionFactory.cs
- Substitution.cs
- SchemaImporterExtensionsSection.cs
- X509Certificate2Collection.cs
- XPathScanner.cs
- DoubleAnimation.cs
- KeyTime.cs
- HtmlFormWrapper.cs
- AppDomainFactory.cs
- SchemaTypeEmitter.cs
- TouchesCapturedWithinProperty.cs
- AccessDataSourceView.cs
- TrackingLocation.cs
- StringCollection.cs
- Propagator.Evaluator.cs
- CallbackValidator.cs
- ReadOnlyState.cs
- HierarchicalDataSourceControl.cs
- Matrix3DValueSerializer.cs