C# Class Dev2.Runtime.Security.HostSecurityProvider

Inheritance: IHostSecurityProvider
Exibir arquivo Open project: Warewolf-ESB/Warewolf

Public Properties

Property Type Description
InternalPublicKey string
InternalServerID System.Guid

Public Methods

Method Description
EnsureAccessToPort ( string url ) : void
EnsureSsl ( string certPath, IPEndPoint endPoint ) : bool
SignXml ( StringBuilder xml ) : StringBuilder
VerifyXml ( StringBuilder xml ) : bool

Protected Methods

Method Description
HostSecurityProvider ( ISecureConfig config ) : System

Initializes a new instance of the HostSecurityProvider class.

Private Methods

Method Description
GetServerID ( XmlDocument doc ) : System.Guid
RemoveSignature ( StringBuilder sb ) : StringBuilder
SetServerID ( XmlDocument doc ) : void

Method Details

EnsureAccessToPort() public method

public EnsureAccessToPort ( string url ) : void
url string
return void

EnsureSsl() public method

public EnsureSsl ( string certPath, IPEndPoint endPoint ) : bool
certPath string
endPoint System.Net.IPEndPoint
return bool

HostSecurityProvider() protected method

Initializes a new instance of the HostSecurityProvider class.
protected HostSecurityProvider ( ISecureConfig config ) : System
config ISecureConfig The config to be used.
return System

SignXml() public method

public SignXml ( StringBuilder xml ) : StringBuilder
xml StringBuilder
return StringBuilder

VerifyXml() public method

public VerifyXml ( StringBuilder xml ) : bool
xml StringBuilder
return bool

Property Details

InternalPublicKey public_oe static_oe property

public static string InternalPublicKey
return string

InternalServerID public_oe static_oe property

public static Guid,System InternalServerID
return System.Guid