C# Class SSIS.Extensions.PGPTask.PGPManager

显示文件 Open project: ElanHasson/SSIS-Extensions Class Usage Examples

Public Methods

Method Description
Decrypt ( string inputFile, string privateKeyFile, string passPhrase, string outputFile, bool overwriteTarget, bool removeSource ) : void

Decrypts the specified input file.

Encrypt ( string inputFile, string publicKeyFile, string outputFile, bool overwriteTarget, bool removeSource, bool armor ) : void

Encrypts the specified input file.

EncryptAndSign ( string inputFile, string publicKeyFile, string privateKeyFile, string passPhrase, string outputFile, bool overwriteTarget, bool removeSource, bool armor ) : void

Encrypts the and sign.

Method Details

Decrypt() public static method

Decrypts the specified input file.
public static Decrypt ( string inputFile, string privateKeyFile, string passPhrase, string outputFile, bool overwriteTarget, bool removeSource ) : void
inputFile string The input file.
privateKeyFile string The private key file.
passPhrase string The pass phrase.
outputFile string The output file.
overwriteTarget bool if set to true [overwrite target].
removeSource bool if set to true [remove source].
return void

Encrypt() public static method

Encrypts the specified input file.
public static Encrypt ( string inputFile, string publicKeyFile, string outputFile, bool overwriteTarget, bool removeSource, bool armor ) : void
inputFile string The input file.
publicKeyFile string The public key file.
outputFile string The output file.
overwriteTarget bool if set to true [overwrite target].
removeSource bool if set to true [remove source].
armor bool if set to true [armor].
return void

EncryptAndSign() public static method

Encrypts the and sign.
public static EncryptAndSign ( string inputFile, string publicKeyFile, string privateKeyFile, string passPhrase, string outputFile, bool overwriteTarget, bool removeSource, bool armor ) : void
inputFile string The input file.
publicKeyFile string The public key file.
privateKeyFile string The private key file.
passPhrase string The pass phrase.
outputFile string The output file.
overwriteTarget bool if set to true [overwrite target].
removeSource bool if set to true [remove source].
armor bool if set to true [armor].
return void