C# Class Ipop.GroupCertificateVerification

A certificate handler for GroupVPN, provides the ability to revoke certificates by username alone rather then revoking individual certificates.
Inheritance: ICertificateVerification
ファイルを表示 Open project: pstjuste/brunet

Protected Properties

Property Type Description
_ca_cert Certificate
_revocation_url string
_revoked_users System.Collections.Hashtable
_timer SimpleTimer

Public Methods

Method Description
GroupCertificateVerification ( string revocation_url, string cacert_path ) : Brunet
Verify ( Mono.Security.X509.X509Certificate x509, Brunet sender ) : bool

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

Protected Methods

Method Description
CheckSAs ( ) : void

Any listeners to RevocationUpdate will be notified that we have been updated

DownloadList ( ) : byte[]

Get the revocation list from the web.

GroupCertificateVerification ( ) : Brunet
UpdateRl ( byte data ) : void

Parses web data and updates the revoked users hashtable if successful

UpdateRl ( object o ) : void

Retrieves the latest user revocation list from the web and notifies that all SAs should be compared against the new revocation list.

Method Details

CheckSAs() protected method

Any listeners to RevocationUpdate will be notified that we have been updated
protected CheckSAs ( ) : void
return void

DownloadList() protected method

Get the revocation list from the web.
protected DownloadList ( ) : byte[]
return byte[]

GroupCertificateVerification() protected method

protected GroupCertificateVerification ( ) : Brunet
return Brunet

GroupCertificateVerification() public method

public GroupCertificateVerification ( string revocation_url, string cacert_path ) : Brunet
revocation_url string
cacert_path string
return Brunet

UpdateRl() protected method

Parses web data and updates the revoked users hashtable if successful
protected UpdateRl ( byte data ) : void
data byte
return void

UpdateRl() protected method

Retrieves the latest user revocation list from the web and notifies that all SAs should be compared against the new revocation list.
protected UpdateRl ( object o ) : void
o 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

_ca_cert protected_oe property

protected Certificate _ca_cert
return Certificate

_revocation_url protected_oe property

protected string _revocation_url
return string

_revoked_users protected_oe property

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

_timer protected_oe property

protected SimpleTimer _timer
return SimpleTimer