C# Class Brunet.Security.Transport.SecureEdge

Provides a Security Wrapper for generic Edges. Basically binds a SecurityAssociation to an Edge, so that all traffic must traverse the SecurityAssociation. This clsas is thread-safe.
Inheritance: WrapperEdge, IDataHandler
Mostrar archivo Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
SA SecurityAssociation

Public Methods

Method Description
Close ( ) : bool
SecureEdge ( Edge edge, SecurityAssociation sa ) : Brunet
Send ( ICopyable data ) : void

Pushes the data to the SecurityAssociation who will send it over the underlying edge.

ToString ( ) : string

Method Details

Close() public method

public Close ( ) : bool
return bool

SecureEdge() public method

public SecureEdge ( Edge edge, SecurityAssociation sa ) : Brunet
edge Edge
sa SecurityAssociation
return Brunet

Send() public method

Pushes the data to the SecurityAssociation who will send it over the underlying edge.
public Send ( ICopyable data ) : void
data ICopyable
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

SA public_oe property

The Security provider.
public SecurityAssociation SA
return SecurityAssociation