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
- DataGridColumnHeaderAutomationPeer.cs
- DataRowView.cs
- UserMapPath.cs
- HttpHandlerAction.cs
- ElementAction.cs
- EventLogger.cs
- RepeaterCommandEventArgs.cs
- CachedPathData.cs
- BufferedGraphics.cs
- ObjectDataProvider.cs
- ResourcesChangeInfo.cs
- PropertyInfoSet.cs
- StrokeCollection.cs
- ResourceContainer.cs
- ScriptControlDescriptor.cs
- MetadataSource.cs
- PropertyConverter.cs
- ValidationService.cs
- LeaseManager.cs
- TrimSurroundingWhitespaceAttribute.cs
- DataGridCell.cs
- SearchForVirtualItemEventArgs.cs
- Int16AnimationUsingKeyFrames.cs
- SystemDropShadowChrome.cs
- TransformedBitmap.cs
- QueryOperatorEnumerator.cs
- jithelpers.cs
- FragmentQueryKB.cs
- OptimalTextSource.cs
- DataRecordInternal.cs
- _ShellExpression.cs
- sqlmetadatafactory.cs
- OrderedDictionaryStateHelper.cs
- OperationAbortedException.cs
- PaintValueEventArgs.cs
- SmiMetaData.cs
- EntityClassGenerator.cs
- OpenTypeLayout.cs
- SqlXml.cs
- DocumentSchemaValidator.cs
- HyperlinkAutomationPeer.cs
- Point4DValueSerializer.cs
- ResolvedKeyFrameEntry.cs
- DrawingBrush.cs
- graph.cs
- XmlElementAttributes.cs
- LinkedResourceCollection.cs
- PrimitiveCodeDomSerializer.cs
- ConstantProjectedSlot.cs
- ScriptIgnoreAttribute.cs
- FillErrorEventArgs.cs
- RequestStatusBarUpdateEventArgs.cs
- UnmanagedBitmapWrapper.cs
- LineServices.cs
- ManagementNamedValueCollection.cs
- PrinterUnitConvert.cs
- RegexReplacement.cs
- DataGridViewTextBoxEditingControl.cs
- HandoffBehavior.cs
- KeyGestureConverter.cs
- SoapSchemaExporter.cs
- DocumentViewerConstants.cs
- CustomLineCap.cs
- BoundField.cs
- XmlSchemaException.cs
- Dictionary.cs
- Columns.cs
- SynchronizationLockException.cs
- TimeZone.cs
- Module.cs
- Registry.cs
- ConfigUtil.cs
- ImageCodecInfoPrivate.cs
- SqlNotificationEventArgs.cs
- EdmTypeAttribute.cs
- ChangeDirector.cs
- ProgressBar.cs
- ProfileGroupSettings.cs
- IsolatedStorage.cs
- BitmapFrameDecode.cs
- TableFieldsEditor.cs
- UIAgentInitializationException.cs
- GlyphRunDrawing.cs
- AcceleratedTokenProviderState.cs
- WebPartChrome.cs
- OneOfScalarConst.cs
- Pen.cs
- SpeechEvent.cs
- PieceNameHelper.cs
- Semaphore.cs
- ZoneButton.cs
- DelegatingConfigHost.cs
- NullableDoubleMinMaxAggregationOperator.cs
- EventlogProvider.cs
- RelationalExpressions.cs
- SamlAuthorizationDecisionClaimResource.cs
- DataGridColumn.cs
- TranslateTransform3D.cs
- PolicyStatement.cs
- VectorKeyFrameCollection.cs