mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Data System.Data.DataSetExtensions System.Data.Entity System.Data.Entity.Design System.Data.Linq System.Data.SqlXml System.ServiceModel System.ServiceModel.Activation System.ServiceModel.Activities System.ServiceModel.Channels System.ServiceModel.Discovery System.ServiceModel.Internals System.ServiceModel.Routing System.ServiceModel.WasHosting System.ServiceModel.Web System.Web System.Web.ApplicationServices System.Web.DynamicData System.Web.Entity System.Web.Entity.Design System.Web.Extensions System.Web.Mobile System.Web.Routing System.Web.Services System.Xml System.Xml.Linq
88 lines
2.4 KiB
C#
88 lines
2.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Xml;
|
|
|
|
namespace System.ServiceModel.Security
|
|
{
|
|
public abstract class SecureConversationVersion
|
|
{
|
|
readonly XmlDictionaryString scNamespace;
|
|
readonly XmlDictionaryString prefix;
|
|
|
|
internal SecureConversationVersion(XmlDictionaryString ns, XmlDictionaryString prefix)
|
|
{
|
|
this.scNamespace = ns;
|
|
this.prefix = prefix;
|
|
}
|
|
|
|
public XmlDictionaryString Namespace
|
|
{
|
|
get
|
|
{
|
|
return this.scNamespace;
|
|
}
|
|
}
|
|
|
|
public XmlDictionaryString Prefix
|
|
{
|
|
get
|
|
{
|
|
return this.prefix;
|
|
}
|
|
}
|
|
|
|
public static SecureConversationVersion Default
|
|
{
|
|
get { return WSSecureConversationFeb2005; }
|
|
}
|
|
|
|
public static SecureConversationVersion WSSecureConversationFeb2005
|
|
{
|
|
get { return WSSecureConversationVersionFeb2005.Instance; }
|
|
}
|
|
|
|
public static SecureConversationVersion WSSecureConversation13
|
|
{
|
|
get { return WSSecureConversationVersion13.Instance; }
|
|
}
|
|
|
|
class WSSecureConversationVersionFeb2005 : SecureConversationVersion
|
|
{
|
|
static readonly WSSecureConversationVersionFeb2005 instance = new WSSecureConversationVersionFeb2005();
|
|
|
|
protected WSSecureConversationVersionFeb2005()
|
|
: base(XD.SecureConversationFeb2005Dictionary.Namespace, XD.SecureConversationFeb2005Dictionary.Prefix)
|
|
{
|
|
}
|
|
|
|
public static SecureConversationVersion Instance
|
|
{
|
|
get
|
|
{
|
|
return instance;
|
|
}
|
|
}
|
|
}
|
|
|
|
class WSSecureConversationVersion13 : SecureConversationVersion
|
|
{
|
|
static readonly WSSecureConversationVersion13 instance = new WSSecureConversationVersion13();
|
|
|
|
protected WSSecureConversationVersion13()
|
|
: base(DXD.SecureConversationDec2005Dictionary.Namespace, DXD.SecureConversationDec2005Dictionary.Prefix)
|
|
{
|
|
}
|
|
|
|
public static SecureConversationVersion Instance
|
|
{
|
|
get
|
|
{
|
|
return instance;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|