You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
@ -0,0 +1,37 @@
|
||||
//------------------------------------------------------------
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//------------------------------------------------------------
|
||||
namespace System.ServiceModel
|
||||
{
|
||||
using System.ServiceModel.Channels;
|
||||
|
||||
public sealed class NonDualMessageSecurityOverHttp : MessageSecurityOverHttp
|
||||
{
|
||||
internal const bool DefaultEstablishSecurityContext = true;
|
||||
|
||||
bool establishSecurityContext;
|
||||
|
||||
public NonDualMessageSecurityOverHttp()
|
||||
: base()
|
||||
{
|
||||
this.establishSecurityContext = DefaultEstablishSecurityContext;
|
||||
}
|
||||
|
||||
public bool EstablishSecurityContext
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.establishSecurityContext;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.establishSecurityContext = value;
|
||||
}
|
||||
}
|
||||
|
||||
protected override bool IsSecureConversationEnabled()
|
||||
{
|
||||
return this.establishSecurityContext;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user