C# Class Brunet.Security.PeerSec.Symphony.SymphonySecurityOverlord

Very thin wrapper used to support AHSenders. This class is thread-safe.
Inheritance: PeerSecOverlord, IRpcHandler
Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Свойство Type Description
_address_to_sa SecurityAssociation>.Dictionary
_node Node
_sa_to_address Address>.Dictionary

Méthodes publiques

Méthode Description
CalculateCookie ( object o ) : MemBlock
CheckForSecureSender ( Address target ) : SecurityAssociation
ContainsSender ( Address target ) : bool
GetAddress ( SecurityAssociation sa ) : Address
GetSecureSender ( Address target ) : SecurityAssociation
HandleRpc ( ISender caller, string method, IList args, object rs ) : void
SymphonySecurityOverlord ( Node node, RSACryptoServiceProvider rsa, CertificateHandler ch, ReqrepManager rrman ) : Brunet.Messaging

Méthodes protégées

Méthode Description
CreateSecurityAssociation ( ISender sender, int spi, bool start ) : PeerSecAssociation
RemoveSA ( SecurityAssociation sa ) : void

Removes the specified SA from our database.

Method Details

CalculateCookie() public méthode

public CalculateCookie ( object o ) : MemBlock
o object
Résultat Brunet.Util.MemBlock

CheckForSecureSender() public méthode

public CheckForSecureSender ( Address target ) : SecurityAssociation
target Address
Résultat SecurityAssociation

ContainsSender() public méthode

public ContainsSender ( Address target ) : bool
target Address
Résultat bool

CreateSecurityAssociation() protected méthode

protected CreateSecurityAssociation ( ISender sender, int spi, bool start ) : PeerSecAssociation
sender ISender
spi int
start bool
Résultat PeerSecAssociation

GetAddress() public méthode

public GetAddress ( SecurityAssociation sa ) : Address
sa SecurityAssociation
Résultat Address

GetSecureSender() public méthode

public GetSecureSender ( Address target ) : SecurityAssociation
target Address
Résultat SecurityAssociation

HandleRpc() public méthode

public HandleRpc ( ISender caller, string method, IList args, object rs ) : void
caller ISender
method string
args IList
rs object
Résultat void

RemoveSA() protected méthode

Removes the specified SA from our database.
protected RemoveSA ( SecurityAssociation sa ) : void
sa SecurityAssociation
Résultat void

SymphonySecurityOverlord() public méthode

public SymphonySecurityOverlord ( Node node, RSACryptoServiceProvider rsa, CertificateHandler ch, ReqrepManager rrman ) : Brunet.Messaging
node Node
rsa System.Security.Cryptography.RSACryptoServiceProvider
ch CertificateHandler
rrman Brunet.Messaging.ReqrepManager
Résultat Brunet.Messaging

Property Details

_address_to_sa protected_oe property

protected Dictionary _address_to_sa
Résultat SecurityAssociation>.Dictionary

_node protected_oe property

protected Node _node
Résultat Node

_sa_to_address protected_oe property

protected Dictionary _sa_to_address
Résultat Address>.Dictionary