C# Class RIM.VSNDK_Package.Signing.Models.SigningData

Common Class for the signing dialogs
Inheritance: INotifyPropertyChanged
显示文件 Open project: blackberry/VSPlugin Class Usage Examples

Public Methods

Method Description
Backup ( string toZipFile ) : void

Function to backup the signing certs at the specified path

CleanUp ( ) : void

Function to clean up after register process

ErrorDataReceived ( object sender, System e ) : void

Event Handler for the error data received from the Registger Process

OutputDataReceived ( object sender, System e ) : void

Event Handler for output received from the Register Process

RefreshScreen ( ) : void

Refresh the screen data

Register ( string authorID, string password ) : bool

Run the blackberry-signer tool with parameters passed in

Restore ( string fromZipFile ) : void

Function to unzip and restore a set of singing keys

SigningData ( ) : System

Constructor

UnRegister ( ) : bool

Run the blackberry-signer tool with parameters passed in

Protected Methods

Method Description
OnPropertyChanged ( string propName ) : void

Fire the PropertyChnaged event handler on change of property

Private Methods

Method Description
AddUriToPackage ( string file, Package pkg ) : void

Function to add a file to the zip

CopyStream ( Stream source, Stream target ) : void

Function to copy a stream from one stream to another

createFile ( ZipPackagePart contentFile ) : void

Method to create file at the temp folder

setPassword ( string password ) : void

Set Password into the registry.

Method Details

Backup() public method

Function to backup the signing certs at the specified path
public Backup ( string toZipFile ) : void
toZipFile string Path to destination zip file
return void

CleanUp() public method

Function to clean up after register process
public CleanUp ( ) : void
return void

ErrorDataReceived() public method

Event Handler for the error data received from the Registger Process
public ErrorDataReceived ( object sender, System e ) : void
sender object
e System
return void

OnPropertyChanged() protected method

Fire the PropertyChnaged event handler on change of property
protected OnPropertyChanged ( string propName ) : void
propName string
return void

OutputDataReceived() public method

Event Handler for output received from the Register Process
public OutputDataReceived ( object sender, System e ) : void
sender object
e System
return void

RefreshScreen() public method

Refresh the screen data
public RefreshScreen ( ) : void
return void

Register() public method

Run the blackberry-signer tool with parameters passed in
public Register ( string authorID, string password ) : bool
authorID string
password string
return bool

Restore() public method

Function to unzip and restore a set of singing keys
public Restore ( string fromZipFile ) : void
fromZipFile string
return void

SigningData() public method

Constructor
public SigningData ( ) : System
return System

UnRegister() public method

Run the blackberry-signer tool with parameters passed in
public UnRegister ( ) : bool
return bool