C# Класс Ipop.GroupCertificateVerification

A certificate handler for GroupVPN, provides the ability to revoke certificates by username alone rather then revoking individual certificates.
Наследование: ICertificateVerification
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_ca_cert Certificate
_revocation_url string
_revoked_users System.Collections.Hashtable
_timer SimpleTimer

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

CheckSAs() защищенный Метод

Any listeners to RevocationUpdate will be notified that we have been updated
protected CheckSAs ( ) : void
Результат void

DownloadList() защищенный Метод

Get the revocation list from the web.
protected DownloadList ( ) : byte[]
Результат byte[]

GroupCertificateVerification() защищенный Метод

protected GroupCertificateVerification ( ) : Brunet
Результат Brunet

GroupCertificateVerification() публичный Метод

public GroupCertificateVerification ( string revocation_url, string cacert_path ) : Brunet
revocation_url string
cacert_path string
Результат Brunet

UpdateRl() защищенный Метод

Parses web data and updates the revoked users hashtable if successful
protected UpdateRl ( byte data ) : void
data byte
Результат void

UpdateRl() защищенный Метод

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
Результат void

Verify() публичный Метод

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
Результат bool

Описание свойств

_ca_cert защищенное свойство

protected Certificate _ca_cert
Результат Certificate

_revocation_url защищенное свойство

protected string _revocation_url
Результат string

_revoked_users защищенное свойство

protected Hashtable,System.Collections _revoked_users
Результат System.Collections.Hashtable

_timer защищенное свойство

protected SimpleTimer _timer
Результат SimpleTimer