Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / Tokens / RsaSecurityTokenParameters.cs / 1 / RsaSecurityTokenParameters.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- //----------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- namespace System.ServiceModel.Security.Tokens { using System.ServiceModel.Security; using System.ServiceModel; using System.IdentityModel.Selectors; using System.IdentityModel.Tokens; public class RsaSecurityTokenParameters : SecurityTokenParameters { protected RsaSecurityTokenParameters(RsaSecurityTokenParameters other) : base(other) { this.InclusionMode = SecurityTokenInclusionMode.Never; } public RsaSecurityTokenParameters() : base() { this.InclusionMode = SecurityTokenInclusionMode.Never; } internal protected override bool HasAsymmetricKey { get { return true; } } internal protected override bool SupportsClientAuthentication { get { return true; } } internal protected override bool SupportsServerAuthentication { get { return true; } } internal protected override bool SupportsClientWindowsIdentity { get { return false; } } protected override SecurityTokenParameters CloneCore() { return new RsaSecurityTokenParameters(this); } internal protected override SecurityKeyIdentifierClause CreateKeyIdentifierClause(SecurityToken token, SecurityTokenReferenceStyle referenceStyle) { return this.CreateKeyIdentifierClause(token, referenceStyle); } protected internal override void InitializeSecurityTokenRequirement(SecurityTokenRequirement requirement) { requirement.TokenType = SecurityTokenTypes.Rsa; requirement.RequireCryptographicToken = true; requirement.KeyType = SecurityKeyType.AsymmetricKey; } } } // 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
- DispatcherTimer.cs
- ObjectListFieldsPage.cs
- COM2ExtendedBrowsingHandler.cs
- ObjectViewEntityCollectionData.cs
- DataColumnPropertyDescriptor.cs
- AssociationSet.cs
- CallSiteBinder.cs
- TileModeValidation.cs
- sqlstateclientmanager.cs
- NotificationContext.cs
- BulletedListDesigner.cs
- StoreItemCollection.cs
- DataGrid.cs
- IntSecurity.cs
- AtomMaterializerLog.cs
- CleanUpVirtualizedItemEventArgs.cs
- URL.cs
- DeploymentExceptionMapper.cs
- TypedTableBaseExtensions.cs
- SystemInfo.cs
- EventRecord.cs
- Int16Converter.cs
- UnsafeNetInfoNativeMethods.cs
- TextUtf8RawTextWriter.cs
- UnsafeMethods.cs
- Margins.cs
- InternalDispatchObject.cs
- ComboBoxItem.cs
- ProcessHostFactoryHelper.cs
- Block.cs
- ImageMetadata.cs
- TextDecorationCollection.cs
- PrintDialogException.cs
- ModuleBuilder.cs
- LingerOption.cs
- TextCollapsingProperties.cs
- ProfileProvider.cs
- __FastResourceComparer.cs
- NativeMethods.cs
- SymLanguageType.cs
- Transform.cs
- TemplateControlCodeDomTreeGenerator.cs
- TemplatedAdorner.cs
- COM2ExtendedBrowsingHandler.cs
- WasAdminWrapper.cs
- BitVec.cs
- LocatorManager.cs
- PerformanceCounterCategory.cs
- Choices.cs
- PropertyEmitter.cs
- XmlSchemaAll.cs
- Profiler.cs
- ArrayTypeMismatchException.cs
- BaseCollection.cs
- DateTimeEditor.cs
- CodeArrayIndexerExpression.cs
- MenuItemCollection.cs
- PropertyDescriptorComparer.cs
- DropDownList.cs
- GenericEnumerator.cs
- EntityDataSourceSelectingEventArgs.cs
- RectAnimationBase.cs
- WebBrowser.cs
- SingleAnimationUsingKeyFrames.cs
- ReverseQueryOperator.cs
- StaticContext.cs
- Ipv6Element.cs
- Utils.cs
- ItemChangedEventArgs.cs
- AdornerHitTestResult.cs
- ValidationErrorEventArgs.cs
- ValidationRuleCollection.cs
- CallSiteOps.cs
- ExpandableObjectConverter.cs
- Brushes.cs
- RelationshipConverter.cs
- ClrProviderManifest.cs
- BuildManager.cs
- SafeHandles.cs
- CodeRemoveEventStatement.cs
- XmlText.cs
- TimeSpanConverter.cs
- EndpointConfigContainer.cs
- __Error.cs
- CmsInterop.cs
- TagNameToTypeMapper.cs
- FontCollection.cs
- TextEditorLists.cs
- WindowsEditBox.cs
- DebugView.cs
- ParameterCollection.cs
- RegexFCD.cs
- ToolBarTray.cs
- InputLangChangeRequestEvent.cs
- DockEditor.cs
- UpdatePanelControlTrigger.cs
- ContextBase.cs
- WebPartEventArgs.cs
- EntityDataSourceWizardForm.cs
- RawStylusSystemGestureInputReport.cs