C# Class RIM.VSNDK_Package.GlobalFunctions

Afficher le fichier Open project: blackberry/VSPlugin

Méthodes publiques

Свойство Type Description
bbndkPathConst string

Méthodes publiques

Méthode Description
Decrypt ( string cipher ) : string

Decrypts a given string.

Keep in mind that the decrypted string remains in memory and makes your application vulnerable per se. If runtime protection is essential, SecureString should be used.

Encrypt ( string plainText ) : string

Encrypts a given password and returns the encrypted data as a base64 string.

This solution is not really secure as we are keeping strings in memory. If runtime protection is essential, SecureString should be used.

isOnline ( ) : bool

function to check if user is online. Needs to be online for UpdateManager to work.

Method Details

Decrypt() public static méthode

Decrypts a given string.
Keep in mind that the decrypted string remains in memory and makes your application vulnerable per se. If runtime protection is essential, SecureString should be used.
If /// is a null reference.
public static Decrypt ( string cipher ) : string
cipher string A base64 encoded string that was created /// through the or /// extension methods.
Résultat string

Encrypt() public static méthode

Encrypts a given password and returns the encrypted data as a base64 string.
This solution is not really secure as we are keeping strings in memory. If runtime protection is essential, SecureString should be used.
If /// is a null reference.
public static Encrypt ( string plainText ) : string
plainText string An unencrypted string that needs /// to be secured.
Résultat string

isOnline() public static méthode

function to check if user is online. Needs to be online for UpdateManager to work.
public static isOnline ( ) : bool
Résultat bool

Property Details

bbndkPathConst public_oe static_oe property

public static string bbndkPathConst
Résultat string