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
Afficher le fichier Open project: pstjuste/brunet

Protected Properties

Свойство Type Description
_ca_cert Certificate
_revocation_url string
_revoked_users System.Collections.Hashtable
_timer SimpleTimer

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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

DownloadList() protected méthode

Get the revocation list from the web.
protected DownloadList ( ) : byte[]
Résultat byte[]

GroupCertificateVerification() protected méthode

protected GroupCertificateVerification ( ) : Brunet
Résultat Brunet

GroupCertificateVerification() public méthode

public GroupCertificateVerification ( string revocation_url, string cacert_path ) : Brunet
revocation_url string
cacert_path string
Résultat Brunet

UpdateRl() protected méthode

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

UpdateRl() protected méthode

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
Résultat void

Verify() public méthode

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
Résultat bool

Property Details

_ca_cert protected_oe property

protected Certificate _ca_cert
Résultat Certificate

_revocation_url protected_oe property

protected string _revocation_url
Résultat string

_revoked_users protected_oe property

protected Hashtable,System.Collections _revoked_users
Résultat System.Collections.Hashtable

_timer protected_oe property

protected SimpleTimer _timer
Résultat SimpleTimer