C# Class Ipop.GroupVPNClient

State machine used in obtaining a GroupVPN signed certificate.
Afficher le fichier Open project: pstjuste/brunet

Protected Properties

Свойство Type Description
_cert Certificate
_group string
_group_vpn IGroupVPNServer
_request_id string
_secret string
_state States
_unsigned_cert byte[]
_username string

Méthodes publiques

Méthode Description
CheckRequest ( ) : bool

Checks the request to see if it has been signed!

GroupVPNClient ( string username, string group, string secret, string server_uri, string node_address, RSACryptoServiceProvider public_key ) : Brunet
Start ( ) : void

Keeps the thread until either we are successful in getting a certificate or we fail.

Méthodes protégées

Méthode Description
SubmitRequest ( ) : bool

Submits a request to be signed!

Method Details

CheckRequest() public méthode

Checks the request to see if it has been signed!
public CheckRequest ( ) : bool
Résultat bool

GroupVPNClient() public méthode

public GroupVPNClient ( string username, string group, string secret, string server_uri, string node_address, RSACryptoServiceProvider public_key ) : Brunet
username string
group string
secret string
server_uri string
node_address string
public_key System.Security.Cryptography.RSACryptoServiceProvider
Résultat Brunet

Start() public méthode

Keeps the thread until either we are successful in getting a certificate or we fail.
public Start ( ) : void
Résultat void

SubmitRequest() protected méthode

Submits a request to be signed!
protected SubmitRequest ( ) : bool
Résultat bool

Property Details

_cert protected_oe property

protected Certificate _cert
Résultat Certificate

_group protected_oe property

protected string _group
Résultat string

_group_vpn protected_oe property

protected IGroupVPNServer _group_vpn
Résultat IGroupVPNServer

_request_id protected_oe property

protected string _request_id
Résultat string

_secret protected_oe property

protected string _secret
Résultat string

_state protected_oe property

protected States _state
Résultat States

_unsigned_cert protected_oe property

protected byte[] _unsigned_cert
Résultat byte[]

_username protected_oe property

protected string _username
Résultat string