PGPProvider Property

The OpenPGP provider provides an interface to the OpenPGP cryptography software.

Data Type

String

Default Value

""

Remarks

The library that interfaces to the OpenPGP cryptography software.

When PGPProviderType is set to Internal this property is not used.

When PGPProviderType is set to External this property must be set to a DLL holding the interface to the external application.

External Provider Implementation Notes

When PGPProviderType is set to External the task uses the provider pattern to interface with external cryptography libraries. An OpenPGP provider is a simple module that allows the task to offload OpenPGP operations to the OpenPGP software of your choice. The interface is designed to be generic in its ability to include various OpenPGP software. We include an OpenPGP provider implementation for GnuPG which may be used as a reference to implement other providers.

An OpenPGP provider is simply a class called "nsoftwarePGPProvider" that should have the following methods. The task uses reflection to access the methods of the provider.

    public void SetParam(string name,string value);
    public byte[] Encrypt(byte[] data);
    public byte[] Decrypt(byte[] data);
    public byte[] Sign(byte[] data);
    public byte[] EncryptAndSign(byte[] data);

Copyright (c) 2022 /n software inc. - All rights reserved.
/n software Tasks for SSIS - Version 20.0 [Build 8319]