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

Common Class for the signing dialogs
Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: blackberry/VSPlugin Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnPropertyChanged ( string propName ) : void

Fire the PropertyChnaged event handler on change of property

Private Methods

Méthode 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 méthode

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

CleanUp() public méthode

Function to clean up after register process
public CleanUp ( ) : void
Résultat void

ErrorDataReceived() public méthode

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

OnPropertyChanged() protected méthode

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

OutputDataReceived() public méthode

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

RefreshScreen() public méthode

Refresh the screen data
public RefreshScreen ( ) : void
Résultat void

Register() public méthode

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

Restore() public méthode

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

SigningData() public méthode

Constructor
public SigningData ( ) : System
Résultat System

UnRegister() public méthode

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