C# Class Brunet.Security.BroadcastRevocationHandler

A certificate handler for GroupVPN, provides the ability to revoke certificates by username alone rather then revoking individual certificates.
Inheritance: ICertificateVerification, IDataHandler
Show file Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
PType Brunet.Util.PType

Protected Properties

Property Type Description
_ca_cert Certificate
_ch CertificateHandler
_revoked_users System.Collections.Hashtable
_so Brunet.Security.SecurityOverlord

Public Methods

Method Description
BroadcastRevocationHandler ( Certificate ca_cert, Brunet.Security.SecurityOverlord so ) : Brunet.Messaging
HandleData ( MemBlock data, ISender ret, object state ) : void

Parses an incoming revocation and updates the revoked users hashtable if successful.

Verify ( Mono.Security.X509.X509Certificate x509, Brunet sender ) : bool

True upon a non-revoked certificate, an exception otherwise.

Method Details

BroadcastRevocationHandler() public method

public BroadcastRevocationHandler ( Certificate ca_cert, Brunet.Security.SecurityOverlord so ) : Brunet.Messaging
ca_cert Certificate
so Brunet.Security.SecurityOverlord
return Brunet.Messaging

HandleData() public method

Parses an incoming revocation and updates the revoked users hashtable if successful.
public HandleData ( MemBlock data, ISender ret, object state ) : void
data Brunet.Util.MemBlock
ret ISender
state object
return void

Verify() public method

True upon a non-revoked certificate, an exception otherwise.
public Verify ( Mono.Security.X509.X509Certificate x509, Brunet sender ) : bool
x509 Mono.Security.X509.X509Certificate
sender Brunet
return bool

Property Details

PType public static property

public static PType,Brunet.Util PType
return Brunet.Util.PType

_ca_cert protected property

protected Certificate,Brunet.Security _ca_cert
return Certificate

_ch protected property

protected CertificateHandler,Brunet.Security _ch
return CertificateHandler

_revoked_users protected property

protected Hashtable,System.Collections _revoked_users
return System.Collections.Hashtable

_so protected property

protected SecurityOverlord,Brunet.Security _so
return Brunet.Security.SecurityOverlord