C# 클래스 Ipop.GroupCertificateVerification

A certificate handler for GroupVPN, provides the ability to revoke certificates by username alone rather then revoking individual certificates.
상속: ICertificateVerification
파일 보기 프로젝트 열기: pstjuste/brunet

보호된 프로퍼티들

프로퍼티 타입 설명
_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