C# Class RSA_PM_Client.Program

Mostra file Open project: RSA-PM/RSA-PM

Public Properties

Property Type Description
password string

Public Methods

Method Description
InputBox ( string title, string promptText, string &value, bool isPassword = false ) : DialogResult
InputBox ( string title, string promptText, bool isPassword = false ) : string
LoadPemFile ( string fn, RSAParameters &load_pem_rsa ) : bool
startWizard ( string pw, string pemfn, int pemOption, string sockproxy, int proxyport, string server_addr, int server_port, byte server_pubkey, DB db ) : int

Private Methods

Method Description
Main ( ) : void
PasswordConfig ( string pw ) : string
PemConfig ( int &opt, RSAParameters &load_pem_rsa, bool isConfig ) : string

Method Details

InputBox() public static method

public static InputBox ( string title, string promptText, string &value, bool isPassword = false ) : DialogResult
title string
promptText string
value string
isPassword bool
return DialogResult

InputBox() public static method

public static InputBox ( string title, string promptText, bool isPassword = false ) : string
title string
promptText string
isPassword bool
return string

LoadPemFile() public static method

public static LoadPemFile ( string fn, RSAParameters &load_pem_rsa ) : bool
fn string
load_pem_rsa System.Security.Cryptography.RSAParameters
return bool

startWizard() public static method

public static startWizard ( string pw, string pemfn, int pemOption, string sockproxy, int proxyport, string server_addr, int server_port, byte server_pubkey, DB db ) : int
pw string
pemfn string
pemOption int
sockproxy string
proxyport int
server_addr string
server_port int
server_pubkey byte
db DB
return int

Property Details

password public_oe static_oe property

public static string password
return string