C# Class Goedel.Mesh.Platform.MeshPersonal

Wrapper for Mesh personal profile.
Datei anzeigen Open project: hallambaker/Mathematical-Mesh

Public Properties

Property Type Description
IsAdmin bool

Public Methods

Method Description
Add ( ApplicationProfile ApplicationProfile ) : MeshApplication

Add application profile

AddPortal ( string PortalID ) : void

Add a portal to the local profile.

Complete ( ) : void

Complete a pending connection request.

CreateEscrow ( int shares, int quorum ) : void

Create a set of escrow shared for the private keys

DeletePrivateKeys ( ) : void

Delete all private keys from this machine

GetApplication ( MeshApplicationType Type, string UDF, string Friendly ) : MeshApplication

Get a application profile with the specified UDF. If neither the UDF nor the friendly name is specified, the default profile is returned.

GetApplicationPassword ( string UDF, string Friendly ) : MeshApplication

Get a password application profile with the specified UDF. If neither the UDF nor the friendly name is specified, the default profile is returned.

GetPIN ( ) : string

Get a pin code verifier for the profile.

MeshPersonal ( string PortalID, string UDF ) : System

Return an interface populated with personal profile.

Pending ( ) : void

Retrieve pending connection requests

Update ( ) : void

Write updates to the portal

Method Details

Add() public method

Add application profile
public Add ( ApplicationProfile ApplicationProfile ) : MeshApplication
ApplicationProfile ApplicationProfile Profile to add
return MeshApplication

AddPortal() public method

Add a portal to the local profile.
public AddPortal ( string PortalID ) : void
PortalID string Portal Identifier
return void

Complete() public method

Complete a pending connection request.
public Complete ( ) : void
return void

CreateEscrow() public method

Create a set of escrow shared for the private keys
public CreateEscrow ( int shares, int quorum ) : void
shares int Number of shares.
quorum int Number of shares required to reconstruct the key.
return void

DeletePrivateKeys() public method

Delete all private keys from this machine
public DeletePrivateKeys ( ) : void
return void

GetApplication() public method

Get a application profile with the specified UDF. If neither the UDF nor the friendly name is specified, the default profile is returned.
public GetApplication ( MeshApplicationType Type, string UDF, string Friendly ) : MeshApplication
Type MeshApplicationType The application type
UDF string Fingerprint of profile to locate.
Friendly string Friendly name of profile to locate.
return MeshApplication

GetApplicationPassword() public method

Get a password application profile with the specified UDF. If neither the UDF nor the friendly name is specified, the default profile is returned.
public GetApplicationPassword ( string UDF, string Friendly ) : MeshApplication
UDF string Fingerprint of profile to locate.
Friendly string Friendly name of profile to locate.
return MeshApplication

GetPIN() public method

Get a pin code verifier for the profile.
public GetPIN ( ) : string
return string

MeshPersonal() public method

Return an interface populated with personal profile.
public MeshPersonal ( string PortalID, string UDF ) : System
PortalID string Portal Identifier
UDF string Fingerprint of profile to locate.
return System

Pending() public method

Retrieve pending connection requests
public Pending ( ) : void
return void

Update() public method

Write updates to the portal
public Update ( ) : void
return void

Property Details

IsAdmin public_oe property

If true, this is an administration profile.
public bool IsAdmin
return bool