| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- //-----------------------------------------------------------------------------
- // Copyright (c) Microsoft Corporation. All rights reserved.
- //-----------------------------------------------------------------------------
- namespace System.ServiceModel.Security.Tokens
- {
- using System.IdentityModel.Selectors;
- using System.ServiceModel;
- using System.IdentityModel.Tokens;
- using System.ServiceModel.Security;
- class WrappedKeySecurityTokenParameters : SecurityTokenParameters
- {
- protected WrappedKeySecurityTokenParameters(WrappedKeySecurityTokenParameters other)
- : base(other)
- {
- // empty
- }
- public WrappedKeySecurityTokenParameters()
- : base()
- {
- this.InclusionMode = SecurityTokenInclusionMode.Once;
- }
- internal protected override bool HasAsymmetricKey { get { return false; } }
- internal protected override bool SupportsClientAuthentication { get { return false; } }
- internal protected override bool SupportsServerAuthentication { get { return true; } }
- internal protected override bool SupportsClientWindowsIdentity { get { return false; } }
- protected override SecurityTokenParameters CloneCore()
- {
- return new WrappedKeySecurityTokenParameters(this);
- }
- internal protected override SecurityKeyIdentifierClause CreateKeyIdentifierClause(SecurityToken token, SecurityTokenReferenceStyle referenceStyle)
- {
- return base.CreateKeyIdentifierClause<EncryptedKeyHashIdentifierClause, LocalIdKeyIdentifierClause>(token, referenceStyle);
- }
- protected internal override void InitializeSecurityTokenRequirement(SecurityTokenRequirement requirement)
- {
- throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotImplementedException());
- }
- }
- }
|