C# Class Goedel.MeshProfileManager.AddProfile

Inheritance: Goedel.Trojan.Data
Exibir arquivo Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Public Properties

Property Type Description
AccountIndex int
AccountName string
AllMailAccountInfos List
ConfigureEmail bool
ConfigureNetwork bool
ConfigurePassword bool
ConfigureRecovery bool
CurrentDialog Goedel.Trojan.Data
Device1 string
Device1Description string
DoLocal bool
InvalidInput string
MailAccountInfos List
MeshClient MeshClient
PendingConnectionRequests List
Portal string
ThisDevice SignedDeviceProfile
UDF string
Wizard Wizard_AddProfile
share1 string
share2 string
share3 string

Public Methods

Method Description
AcceptConnection ( ) : bool

Accept the connection request

AddDevice ( ApplicationProfileEntry Entry, PersonalProfile PersonalProfile, SignedDeviceProfile Device ) : void

Add a device to an application profile

AddProfile ( Wizard_AddProfile Wizard ) : System
CheckPending ( ) : bool

Check to see if there are pending connection requests.

GenerateProfile ( ) : void

Generate a new profile with the requested options. Note that this could be parallelized very easily by performing time consuming operations (e.g. generating keys) while the user is answering other questions.

GetAccount ( string Portal, string Account ) : void

Get the account data

Initialize ( ) : void

One time initialization of the page.

MakeCheckRecovery ( ) : void
Navigate ( Goedel Dialog ) : void

Navigate to a new dialog.

PostConnect ( ) : void

Post a connection request.

RecoverProfile ( string Shares ) : string

Recover profile from the mesh using the threshold key shares.

RejectConnection ( ) : bool

Reject the connection request

TryNewPortalAccount ( string Portal, string Account ) : bool

Attempt to create an account at the specified portal.

Method Details

AcceptConnection() public method

Accept the connection request
public AcceptConnection ( ) : bool
return bool

AddDevice() public method

Add a device to an application profile
public AddDevice ( ApplicationProfileEntry Entry, PersonalProfile PersonalProfile, SignedDeviceProfile Device ) : void
Entry ApplicationProfileEntry Applicationprofile entry to update
PersonalProfile PersonalProfile Personal profile to link to
Device SignedDeviceProfile Signed device profile.
return void

AddProfile() public method

public AddProfile ( Wizard_AddProfile Wizard ) : System
Wizard Wizard_AddProfile
return System

CheckPending() public method

Check to see if there are pending connection requests.
public CheckPending ( ) : bool
return bool

GenerateProfile() public method

Generate a new profile with the requested options. Note that this could be parallelized very easily by performing time consuming operations (e.g. generating keys) while the user is answering other questions.
public GenerateProfile ( ) : void
return void

GetAccount() public method

Get the account data
public GetAccount ( string Portal, string Account ) : void
Portal string
Account string
return void

Initialize() public method

One time initialization of the page.
public Initialize ( ) : void
return void

MakeCheckRecovery() public method

public MakeCheckRecovery ( ) : void
return void

Navigate() public method

Navigate to a new dialog.
public Navigate ( Goedel Dialog ) : void
Dialog Goedel
return void

PostConnect() public method

Post a connection request.
public PostConnect ( ) : void
return void

RecoverProfile() public method

Recover profile from the mesh using the threshold key shares.
public RecoverProfile ( string Shares ) : string
Shares string Array containing the necessary shares.
return string

RejectConnection() public method

Reject the connection request
public RejectConnection ( ) : bool
return bool

TryNewPortalAccount() public method

Attempt to create an account at the specified portal.
public TryNewPortalAccount ( string Portal, string Account ) : bool
Portal string
Account string
return bool

Property Details

AccountIndex public_oe property

Index variable used to track which mail account is being queried.
public int AccountIndex
return int

AccountName public_oe property

Account name
public string AccountName
return string

AllMailAccountInfos public_oe property

The list of mail accounts found on the machine.
public List AllMailAccountInfos
return List

ConfigureEmail public_oe property

Set true if the user wants to setup the email profile app.
public bool ConfigureEmail
return bool

ConfigureNetwork public_oe property

Set true if the user wants to setup the network profile app.
public bool ConfigureNetwork
return bool

ConfigurePassword public_oe property

Set true if the user wants to setup the password profile app.
public bool ConfigurePassword
return bool

ConfigureRecovery public_oe property

Set true if the user wants to escrow keys for recovery.
public bool ConfigureRecovery
return bool

CurrentDialog public_oe property

The currently active dialog
public Data,Goedel.Trojan CurrentDialog
return Goedel.Trojan.Data

Device1 public_oe property

The device name
public string Device1
return string

Device1Description public_oe property

The Device Description.
public string Device1Description
return string

DoLocal public_oe property

Flag to allow local processing.
public bool DoLocal
return bool

InvalidInput public_oe property

Reporting string for invalid input. When an operation throws an error, the corresponding text is written to InvalidInput for reporting to the user.
public string InvalidInput
return string

MailAccountInfos public_oe property

The list of mail accounts the user would like to create mesh profiles for.
public List MailAccountInfos
return List

MeshClient public_oe property

Track state of the mesh connection.
public MeshClient MeshClient
return MeshClient

PendingConnectionRequests public_oe property

List of pending connection requests.
public List PendingConnectionRequests
return List

Portal public_oe property

DNS address of Mesh portal.
public string Portal
return string

ThisDevice public_oe property

The device profile.
public SignedDeviceProfile ThisDevice
return SignedDeviceProfile

UDF public_oe property

The UDF of the current personal profile.
public string UDF
return string

Wizard public_oe property

public Wizard_AddProfile,Goedel.MeshProfileManager Wizard
return Wizard_AddProfile

share1 public_oe property

Return the first share value
public string share1
return string

share2 public_oe property

Return the second share value
public string share2
return string

share3 public_oe property

Return the third share value
public string share3
return string